Joined: Jul 21, 2004
Posted: Nov 2, 2004 08:28 AM
Msg. 1 of 2
Having both DTN.IQ and IQFeed API installed seems incompatible.
I am using the IQ32.DLL located in the "C:\Program Files\DTN\IQFeed\" directory for my application development/API. (IQ32.DLL file version is 188.8.131.52 with size 98,304 bytes).
If DTN.IQ is running and logged on, calling RegisterClientApp() returns true (for success). However, a MessageBox pops up with the message "Error: a version of IQConnect is already running".
This is a problem because the call the RegsiterClientApp() returned true but in fact it should have returned false - a failure.
And the callback doesn't get called so there is no IQ32 status returned. Since we are relying on this status callback it should always work.
I think RegisterClientApp() should block until a successful registration is confirmed.
I cannot use the IQ32.dll in the "C:\Program Files\DTN\DTN.IQ\" directory after calling RegsiterClientApp() it pops up a message box error "Error: Cannot find IQConnect.exe" and then causes an unidentified exception. In addition there is no SetAutoLogin() function exported.
P.S. Does this mean it is impossible to run a third party application with DTN.IQ client applications running?
Edited by sasha on Nov 2, 2004 at 08:38 AM
-VP, Product Operations-
Joined: May 3, 2004
DTN IQFeed/DTN.IQ/DTN NxCore
Posted: Nov 2, 2004 03:12 PM
Msg. 2 of 2
For now (we will be better support multiple clients connecting in the future), before calling registerclientapp, I would suggest checking of the IQconnect process is running. if so, don't call registerclientapp and instead just connect to the local socket.
Again, this is something we will be supporting much better in the future.
DTN Market Access, LLC.