Discussion:
WiaImgFmt_BMP - linker error
(too old to reply)
Alex Bakaev [TeamB]
2007-09-06 15:31:45 UTC
Permalink
WinXP, CBuilder2007
Unresolved external WiaImgFmt_BMP, WiaImgFmt_MEMORYBMP,
WIA_EVENT_DEVICE_CONNECTED and WIA_EVENT_DEVICE_DISCONNECTED
DEFINE_GUID(WiaImgFmt_BMP,
0xb96b3cab,0x0728,0x11d3,0x9d,0x7b,0x00,0x00,0xf8,0x1e,0xf3,0x2e); .....
How can I resolve this ?
#include <initguid.h>

before any other header.
roladdon
2007-09-06 15:41:19 UTC
Permalink
I already tried that (reading the "Unresolved External MEDIATYPE_Video"
message in this group, now I get:

[BCC32 Error] atlbase.h(980): E2238 Multiple declaration for
'CComQIPtr<IUnknown,&IID_IUnknown>::CComQIPtr()'

Any suggestions ?

Roland
roladdon
2007-09-06 15:58:22 UTC
Permalink
I found the problem:
Had to include in this sequence before any other headers:

#include <atlbase.h>
#include <initguid.h>

Roland
Alex Bakaev [TeamB]
2007-09-07 00:04:20 UTC
Permalink
Post by roladdon
#include <atlbase.h>
#include <initguid.h>
Roland
Great!

Loading...