I have a Qt project and would like to use an external library that includes "afxstr.h". Problem is that whenever I compile after linking to the lib and including their header, I get an error:
#error afxstr.h can only be used in MFC projects. Use atlstr.h
当然,我的项目不是MFC项目,我不能使用atlstr.h,因为那不是我的图书馆。
我在找一个快速的解决方案!
我使用VS2010。
所涉的lib是“http://www.interactive prompers.com/php/apiUsersGuide/apiguide/apiguide.htm>Interactive Brokers API 。