Issues related to using perl with TWslink
Posted: Mon Jan 08, 2018 5:24 am
I used perl with TWslink before and it worked great! But my machine crashed and I am having a lot of issues with the latest version and latest platform Win 10.
Following are the issues I found so far:
Prob 1: (win32) XP
I had an old laptop with with Windows XP Pro (SP3) - the latest TWslink won't install, getting the following error:
C:\WINDOWS\system32\twslink2.dll
Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3
So the latest download can't be used
Prob 2: (win32) XP
I had an old version of TWslink from 2013 - it installed and the perl wrapper worked with ActivePerl 5.14 but orders are not getting placed.
It goes through sample.pl, makes the connection but pending orders do not show up in IB
Prob 3: (win64) Win 10
Installed Visual Studio 2015 (Community edition) and tried to build example 'cpp'. It migrated the project and it is still trying to build the Win32 version. A proper project has to be created.
After Build , running the program as no affect. Stepping in shows that the dll is not getting loaded:
TWSLink2Wrap::Load returned false
The good thing is that C# example seems to work after Building. Connection is made through the GUI
Let me know what else I need to try
Following are the issues I found so far:
Prob 1: (win32) XP
I had an old laptop with with Windows XP Pro (SP3) - the latest TWslink won't install, getting the following error:
C:\WINDOWS\system32\twslink2.dll
Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3
So the latest download can't be used
Prob 2: (win32) XP
I had an old version of TWslink from 2013 - it installed and the perl wrapper worked with ActivePerl 5.14 but orders are not getting placed.
It goes through sample.pl, makes the connection but pending orders do not show up in IB
Prob 3: (win64) Win 10
Installed Visual Studio 2015 (Community edition) and tried to build example 'cpp'. It migrated the project and it is still trying to build the Win32 version. A proper project has to be created.
After Build , running the program as no affect. Stepping in shows that the dll is not getting loaded:
TWSLink2Wrap::Load returned false
The good thing is that C# example seems to work after Building. Connection is made through the GUI
Let me know what else I need to try