From: aliostad on
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:

CxImage img(_T("c:\\a.jpg"),CXIMAGE_FORMAT_JPG);


CxImage img;

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)" (?
OnSize(a)CFourierTranTestDlg@@QAEXIHH@Z) FourierTranTestDlg.obj

I am really baffled. Could you please help?

Many thanks in advance

From: aliostad on
BTW, I am using VS2005. I got it compiled on VS2003.

Many thanks

From: aliostad on
Sorry again, when I changed the setting to MultiByte from Unicode it
compiled. What does it mean? Why cant I compile it with unicode