Author |
Topic: How to use the API in a non-MFC environment (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
AAnthony Posts: 3 Joined: Nov 18, 2009 |
I am using another library to analyze market data and that library is not compatible with MFC, is there a way to access the API without using MFC? The example included with the API only has an MFC example, this is for c/c++.
Anthony Bachler |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
C++ COM Sample uses MFC for user interface only. #import directive doesn't requre MFC. So, you can use it in your application. You will need to use either ATL and prepared COECAPIEvents class from this sample, either to implement event handling by yourself with Microsoft guidelines.
|
||||
AAnthony Posts: 3 Joined: Nov 18, 2009 |
Hmmm, so are there any samples that will compile without access to MFC at all?
Anthony Bachler |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
No, we had no goal to avoid using MFC for UI.
|
||||