|
-
February 25th, 2010, 12:32 PM
#1
Unresolved external symbol
Hi! I'm trying to use the imaging library APIs but, when I try to create:
::CoCreateInstance(CLSID_ImagingFactory, NULL, CLSCTX_INPROC_SERVER, IID_IImagingFactory, (void **)&pFactory);
I get:
Error 2 error LNK2019: unresolved external symbol IID_IImagingFactory referenced in function "public: virtual void __cdecl ImageLoader::run(void)" (?run@ImageLoader@@UAAXXZ) imageloader.obj SCD
I tried to include as well:
#include <initguid.h>
#include <imgguids.h>
but I got a multiple definition. Is there any other way of defining those symbols?
Thanks!
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
|