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 you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"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 am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"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
"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 am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"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
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: Fri April 26, 2024 3:13 AM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003