Prev: What An I Missing in This Custom Draw of TreeView.
Next: Scanning USB devices and reading USB descriptors
From: aliostad on 9 May 2007 19:38
Hi I am trying - trying hard! - to use CxImage to load an image. I
have added include files and also added the cximage.lib to linker
aditional dependencies and all paths are fine - I have double and
triple checked them.
Everything compiles except when I try to use constructor with a file
name or create an instance and then use Load to load an image file. My
code like this:
Comes back with this link error:
Error 2 error LNK2019: unresolved external symbol "public: __thiscall
CxImage::CxImage(wchar_t const *,unsigned long)" (??
0CxImage@@QAE(a)PB_WK@Z) referenced in function "public: void __thiscall
CFourierTranTestDlg::OnSize(unsigned int,int,int)" (?
I am really baffled. Could you please help?
Many thanks in advance
From: aliostad on 9 May 2007 19:42
BTW, I am using VS2005. I got it compiled on VS2003.
From: aliostad on 9 May 2007 19:49
Sorry again, when I changed the setting to MultiByte from Unicode it
compiled. What does it mean? Why cant I compile it with unicode