Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
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 »Link problem
Author Topic: Link problem (7 messages, Page 1 of 1)

laughlin
-Interested User-
Posts: 24
Joined: Aug 3, 2005


Posted: Jan 7, 2017 11:02 AM          Msg. 1 of 7
It has been many years since I did IQFeed development and I need some help.

I have a directory with two variants of the same program: Sock and SockDlg. Sock is compiling and linking great. SockDlg compiles fine but gives these linkage errors:

Linking...
SockDlg.obj : error LNK2001: unresolved external symbol "int __stdcall RegisterClientApp(struct HWND__ *,char *,char *,char *)" (?RegisterClientApp@@YGHPAUHWND__@@PAD11@Z)
nafxcw.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcw.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
libc.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Release/SockDlg.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.

Any ideas what I am doing wrong (I am a real-time C coder, C++ on windows is not what I normally do).

Thanks

Terry Laughlin
Buy low, soar high.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jan 10, 2017 07:38 AM          Msg. 2 of 7
I am guessing this is related to changes from several years ago where the IQ32.dll file was removed from the installer, but I will follow up with a few people to see if that is true or not.

Tim

laughlin
-Interested User-
Posts: 24
Joined: Aug 3, 2005


Posted: Jan 10, 2017 01:23 PM          Msg. 3 of 7
Thanks Tim. Any help is appreciated.

Terry Laughlin
Buy low, soar high.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jan 10, 2017 01:33 PM          Msg. 4 of 7
Are there any references to IQ32.dll in your code?

laughlin
-Interested User-
Posts: 24
Joined: Aug 3, 2005


Posted: Jan 18, 2017 01:46 PM          Msg. 5 of 7
Tim, thanks.

I cannot find a reference to IQ32 in my code, but I do think I link against it.

On another note, my best friend (who is a hell of software engineer) is telling me that I should redo the interface to IQFeed as it is so old. He thinks that there has to be deprecation affecting me. All I do with the feed is get data (five second summaries are perfect) and put it into my own charting code. So, I really just need to start the feed, give it two symbols (S&P 500 futures and Nasdaq futures) and receive the data. He is telling me to use C# (I'm an old line C programmer - don't ask how old). So I'm reading and I could be happy with C#.

Here's the question. Aside from starting the feed, what sample code and where in it should I look for guidance, help, etc? Details would be appreciated. Heck, any and all help would be appreciated.

Terry

PS: Did I mention help? Thank you. Really.

Terry Laughlin
Buy low, soar high.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jan 18, 2017 02:08 PM          Msg. 6 of 7
I'd be happy to. I think it would be worthwhile to chat about this together. If you log into the developer website there is a link to initiate a chat on the left hand side. If you can go there and initiate a chat, I would be happy to discuss getting you from where you are to where you want to go at length.

Tim

laughlin
-Interested User-
Posts: 24
Joined: Aug 3, 2005


Posted: Jan 18, 2017 08:35 PM          Msg. 7 of 7
We'll chat in the morning.

Terry

Terry Laughlin
Buy low, soar high.
 

 

Time: Tue May 7, 2024 9:53 AM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003