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)




"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"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
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"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
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 »IQFeed Developer »IQFeed Developer Support »C++ APIS, Unicode
Author Topic: C++ APIS, Unicode (5 messages, Page 1 of 1)

mattgundersen
-Interested User-
Posts: 15
Joined: Jun 23, 2015


Posted: Jun 23, 2015 08:58 PM          Msg. 1 of 5
Hi,

I downloaded the APIs today, looking at the C++ samples. They were last built with VC 2005 with MBCS. I'm using VS 2015 and MBCS is deprecated, only Unicode is supported.

I've just converted two, it's primarily add L infront of all strings, an occasional sprintf to swprintf, or strcpy to tcscpy. A bit of a manual process.

Does DTN have unicode samples? Or has anyone converted them and want to share?

m.

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


Posted: Jun 23, 2015 11:49 PM          Msg. 2 of 5
Hello, I do not have a copy of 2015 yet, but I will see what I can find out about it tomorrow. The problem with compiling in newer versions is that VS 2015 sln files won't open in any other VS version. Hence why we have stayed with a 2005 compile. But, we'll see what options might exist and I will get back with you.

Tim

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


Posted: Jun 24, 2015 05:58 AM          Msg. 3 of 5
Good morning,

I was looking into this and while the MBCS are not natively supported in VS 2015, I did find this add-in that should allow them to continue to function. I am not sure if the community edition will allow me to install this or not, but I am installing that to try and use this addin myself now. If you get a chance to try it let me know, and if it works for me, I will do the same. Even if it does work, this is something we will need to be aware of as we go forward so thank you for bringing it to our attention.

Tim

https://www.microsoft.com/en-US/download/details.aspx?id=47262

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


Posted: Jun 24, 2015 06:26 AM          Msg. 4 of 5
Well, since MFC is not included in Express, I was unable to test the add-in. I figured that would be the case, but I wanted to at least try it. Let me know if it works out for you.

Tim

mattgundersen
-Interested User-
Posts: 15
Joined: Jun 23, 2015


Posted: Jun 24, 2015 09:15 AM          Msg. 5 of 5
Hi Tim,

Thanks for the quick response and investigation. Great find on that plugin. I'll try it out later today and report back.

I'll also zip up the samples I have converted to Unicode and send them your way for future customers.

Btw, VS 2015 is free and does come with MFC - I think you have to go through the custom installation to get it.
https://www.visualstudio.com/en-us/products/free-developer-offers-vs.aspx

m.
 

 

Time: Sat August 8, 2020 1:25 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003