-
March 5th, 2007, 02:58 PM
#1
can not find olepro32.lib
I'm having a problem similar to the one in this thread. I am using VC++ 2005 Pro, created a Smart Device MFC ActiveX control, call OleTranslateColor() but fails to find the library. I looked in the compiler's C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib directory and sure enought there is no such library.
Any other ideas where it might be ? maybe M$ moved it to a different library? And yes, I've already read several google links and msdn but no help.
Thanks
-
March 5th, 2007, 03:16 PM
#2
Re: can not find olepro32.lib
nevermind. I changed it to use TranslateColor() and it compiles and links ok.
-
March 5th, 2007, 03:49 PM
#3
Re: can not find olepro32.lib
One solution that worked for me was to prefix the OleTranslateColor with the ATL namespace, like:
Code:
ATL::OleTranslateColor(...);
- petter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|