开发者

Unable to link mgprint.lib in wince6.0 application

开发者 https://www.devze.com 2023-03-09 17:34 出处:网络
I am trying to print text from MFC application, developed by using custom SDK of OSDesign. I am using StartDoc() and EndDoc() API calls in my application, but I didn\'t find the declaration of these

I am trying to print text from MFC application, developed by using custom SDK of OSDesign. I am using StartDoc() and EndDoc() API calls in my application, but I didn't find the declaration of these api's. So i searched for wingdi.h files in Wince600 i开发者_开发技巧nstalled folder and found wingdi.h file in location C:\WinCE600\PUBLIC\COMMON\SDK. So included that one in my project so now, it has declaration of StartDoc() etc, but when I am trying to link it with mgprint.lib it is giving me linking error. I have taken mgprint.lib file from C:\WinCE600\PUBLIC\COMMON\OAK\LIB\ARM4I\DEBUG or RETAIL.

Any pointers will help us.


You should not just take header files and libs files from the PUBLIC folder if they are not actually part of your OS design/SDK. I would recommend to use only the files that you get on your cesysgen folder as result of your catalog configuration. You should get printing support on your OS design by including SYSGEN_PRINTING. See this documentation page for details.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号