IB's DDE features

Discussion in 'Trading Software' started by klin, Feb 3, 2002.

  1. klin

    klin

    Anyone here has tried IB's new DDE support? I wonder if I can write VB program to place order programmatically through their DDE channel.
     
  2. do a search on DDE on Elite. There a vb code fragments placing orders donated by one of the members.
     
  3. def

    def Sponsor

    one word of advice --- with activeX being launched, you are probably better off programming to activeX instead of DDE.
     
  4. klin

    klin

    That's what I'm looking for. But how can I get these ActiveX package? Where can I download it?
     
  5. def

    def Sponsor

  6. klin

    klin

    That's why I'm getting into trouble. I downloaded all of them and installed. Now I got error message like this:

    The ddedll.dll required for Excel intergration is missing or out of date......

    I've downloaded everything I can and how come the problem still there?

    Thanks
     
  7. def

    def Sponsor

    i think i know the problem as I came across the following message:

    the activeX and Sockets features have been disabled (wanted to confirm some security controls) and they hope to post a new build on Monday (US hours) with the features re-enabled.
     
  8. klin

    klin

    Thanks daf. I noticed that there's no such file like xxx.ocx, all files under ActiveX folder are cpp files. How may I program VB to ActiveX?
     
  9. nitro

    nitro

    def,

    I got the same error when trying the supposed activeX "upgrade." I uninstalled, tried reinstalling, including the beta, and now, no matter what I do, the program allows me to log on, I see it coming up, but I get an text file created on my desktop with errors in it (see below) I have tried reinstalling both TWS and JRE, but the same results!!??

    Any ideas?

    ---contents of error file ---

    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d0441ce
    Function name=Java_sun_java2d_loops_DefaultComponent_IntRgbTo565
    Library=C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\awt.dll

    Current Java thread:
    at sun.java2d.loops.DefaultComponent.IntRgbTo565(Native Method)
    at sun.java2d.loops.IntRgbTo565.OpaqueBlit(Unknown Source)
    at sun.java2d.loops.RasterOutputManager.performOpaqueBlit(Unknown Source)
    at sun.java2d.loops.RasterOutputManager.compositeSrcDst(Unknown Source)
    at sun.java2d.loops.RasterOutputManager.renderImage(Unknown Source)
    at sun.java2d.SunGraphics2D.renderingPipeImage(Unknown Source)
    at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
    at sun.awt.windows.WGraphics.drawImage(Unknown Source)
    at javax.swing.JComponent.paintWithBuffer(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    Dynamic libraries:
    0x00400000 - 0x00405000 C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\javaw.exe
    0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
    0x77DB0000 - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
    0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
    0x77D40000 - 0x77DB0000 C:\WINNT\system32\RPCRT4.DLL
    0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
    0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
    0x6D420000 - 0x6D4F0000 C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\hotspot\jvm.dll
    0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
    0x6D220000 - 0x6D227000 C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\hpi.dll
    0x6D3B0000 - 0x6D3BD000 C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\verify.dll
    0x6D250000 - 0x6D266000 C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\java.dll
    0x6D3C0000 - 0x6D3CD000 C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\zip.dll
    0x6D020000 - 0x6D129000 C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\awt.dll
    0x77800000 - 0x7781D000 C:\WINNT\System32\WINSPOOL.DRV
    0x75E60000 - 0x75E7A000 C:\WINNT\System32\IMM32.dll
    0x77A50000 - 0x77B46000 C:\WINNT\system32\ole32.dll
    0x6D1E0000 - 0x6D21B000 C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\fontmanager.dll
    0x60000000 - 0x60045000 C:\WINNT\System32\MSCTF.dll
    0x51000000 - 0x5104A000 C:\WINNT\System32\ddraw.dll
    0x728A0000 - 0x728A6000 C:\WINNT\System32\DCIMAN32.dll
    0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
    0x6D340000 - 0x6D348000 C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\net.dll
    0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
    0x75030000 - 0x75043000 C:\WINNT\System32\WS2_32.DLL
    0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
    0x785C0000 - 0x785CC000 C:\WINNT\System32\rnr20.dll
    0x77980000 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
    0x77340000 - 0x77353000 C:\WINNT\System32\iphlpapi.dll
    0x77520000 - 0x77525000 C:\WINNT\System32\ICMP.DLL
    0x77320000 - 0x77337000 C:\WINNT\System32\MPRAPI.DLL
    0x75150000 - 0x75160000 C:\WINNT\System32\SAMLIB.DLL
    0x75170000 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL
    0x77BE0000 - 0x77BEF000 C:\WINNT\System32\SECUR32.DLL
    0x751C0000 - 0x751C6000 C:\WINNT\System32\NETRAP.DLL
    0x77950000 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
    0x773B0000 - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL
    0x77380000 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL
    0x77830000 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL
    0x77880000 - 0x7790D000 C:\WINNT\System32\SETUPAPI.DLL
    0x77C10000 - 0x77C6D000 C:\WINNT\System32\USERENV.DLL
    0x774E0000 - 0x77512000 C:\WINNT\System32\RASAPI32.DLL
    0x774C0000 - 0x774D1000 C:\WINNT\System32\RASMAN.DLL
    0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
    0x716F0000 - 0x7177A000 C:\WINNT\system32\COMCTL32.DLL
    0x70BD0000 - 0x70C1C000 C:\WINNT\system32\SHLWAPI.DLL
    0x77360000 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL
    0x775A0000 - 0x77625000 C:\WINNT\System32\CLBCATQ.DLL
    0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
    0x777F0000 - 0x777F5000 C:\WINNT\System32\rasadhlp.dll
    0x74FD0000 - 0x74FEF000 C:\WINNT\system32\msafd.dll
    0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
    0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL

    Local Time = Mon Feb 04 00:49:55 2002
    Elapsed Time = 9
    #
    # The exception above was detected in native code outside the VM
    #
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
    #
    --------
     
  10. def

    def Sponsor

    i'm guessing here ----
    i think the new download is not compatable with the older version. I'll pass to the programmer to roll the stuff back or roll it forward as soon as he gets into work.
     
    #10     Feb 4, 2002