Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »Version 2.3 Installation Error
Author Topic: Version 2.3 Installation Error (8 messages, Page 1 of 1)

tadams
-Interested User-
Posts: 18
Joined: May 7, 2004


Posted: May 16, 2004 10:17 PM          Msg. 1 of 8
I'm receiving an error dialog at the end of the IQFeed 2.3 developer setup.exe.

Specifically, the dialog says:

------------------------------
The following files did not self-register or unregister:

1. C:\@APPS\IQFeed\IQ_API.DLL (Class not registered)
2. C:\@APPS\IQFeed\IQFeedX.DLL (Class not registered)
------------------------------

I've tried manually registering these (regsvr32) and receive the following message:

------------------------------
DllRegisterServer in iq_api.dll failed. Return code was: 0x80040154.
Same error code results for iqfeedx.dll.
------------------------------

I've uninstalled, reinstalled, rebooted between each uninstall/reinstall, installed to the default location, etc but still receive the same error. I've tried to unregister then reregister

The primary port seems to work, but the history port does not. Telnetting to 127.0.0.1:9100 results in the following:

------------------------------
..Error IQ_API Symbol Lookup COM OBJECT, lookup layer not available
------------------------------

Please help, I'm crippled..

Ted

tadams
-Interested User-
Posts: 18
Joined: May 7, 2004


Posted: May 16, 2004 11:00 PM          Msg. 2 of 8
Answering my own question:

Using depends.exe, I listed the IQFeed DLL dependencies and manually re-registered each dependent DLL.

After I re-registered ATL.DLL all was fine.

Ted

andrzejs
-Interested User-
Posts: 23
Joined: May 27, 2004


Posted: May 27, 2004 08:55 PM          Msg. 3 of 8
I have a similar problem when running the attached java examples--iq_jni library can not be found. I can compile the program by specifying a class path to iqfeed, but iq32 attempts to load 'iq_jni', which is in the class path, and yet it is not loaded. Since I know nothing about windows and just registered today to iqfeed, I would appreciate someone guiding me on how to properly install iqfeed: do I need to manually copy the .dll files into the WINDOWS directory, or use some sort of program such as depends.exe (where is it?).

I have windows xp professional and installed iqfeed 2.3.

Thanks,
Andzej

"anything you do will lead to failure, including doing nothing"
-murphy's law #334

jamesh2
-Interested User-
Posts: 17
Joined: May 25, 2004


Posted: Jul 25, 2004 07:21 AM          Msg. 4 of 8
andrzejs,

Try placing the directory iq_jn.dll is in (native code dll) into the PATH environment variable or have iq_jni.dll in the current directory, not the class path ? I'm using the IQFeed Java client and that is what I do.

Best Regards James

andrzejs
-Interested User-
Posts: 23
Joined: May 27, 2004


Posted: Aug 4, 2004 07:58 PM          Msg. 5 of 8
thanks for your help. i copied the com/iqfeed/... directory structure into my current directory and invoked java -cp . iqfeed/LookupClient and it worked. i can't get it to work in JBuilder unfortunately, and attempted to specify -Djava.library.path=... but that failed too.

"anything you do will lead to failure, including doing nothing"
-murphy's law #334

jamesh2
-Interested User-
Posts: 17
Joined: May 25, 2004


Posted: Aug 5, 2004 05:56 AM          Msg. 6 of 8
andrzejs,

The PATH environment variable has nothing to do with java. Try setting the PATH var in the system control panel or in a command shell before you launch the Java demo.

Best Regards James :)

jamesh2
-Interested User-
Posts: 17
Joined: May 25, 2004


Posted: Aug 5, 2004 06:00 AM          Msg. 7 of 8

andrzejs
-Interested User-
Posts: 23
Joined: May 27, 2004


Posted: Aug 5, 2004 09:02 PM          Msg. 8 of 8
jamesh2,

great stuff james. the solution for use in jbuilder is much simpler than anticipated. it turns out i don't have to specify any variables/flags at all, just copy the .dll files into the project directory, jbuilder invokes javaw from that place which, i suppose, automatically searches in the executed path for libraries.

well, now i'm ready for new problems :-)

cheers,
andrzej

"anything you do will lead to failure, including doing nothing"
-murphy's law #334
 

 

Time: Thu October 17, 2024 11:41 PM CFBB v1.2.0 18 ms.
© AderSoftware 2002-2003