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)




"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"Excellent datafeed !!!" - Comment from Arely
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"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
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 »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: Mon May 20, 2024 5:03 PM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003