I originally generated wrapper classes for my MFC/C++ VS2008 project from the TLB file with GDPicture.NET 8.0 Ultimate Version and they generated fine.
When you released 8.1 I regenerated the wrappers to find out that most of them were missing all the methods. Only CGdPicturePDF and CGdPictureImaging generated the correct wrappers classes. CThumbnailEx, CGdViewer and CBookmarksTree were missing all of their methods.
When I tried the 8.2 version that was just released, all the wrappers generated were empty (no methods or properties). Was the TLB for the later versions messed up? The compiler does not seem to be able to generate the methods for the COleDispatchDriver wrapper class.
This is what I get now with the 8.2 TLB file:
Code: Select all
class CGdPictureImaging : public COleDispatchDriver
{
public:
CGdPictureImaging(){} // Calls COleDispatchDriver default constructor
CGdPictureImaging(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CGdPictureImaging(const CGdPictureImaging& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
// _GdPictureImaging methods
public:
// _GdPictureImaging properties
public:
};
Code: Select all
class CGdPictureImaging : public COleDispatchDriver
{
public:
CGdPictureImaging(){} // Calls COleDispatchDriver default constructor
CGdPictureImaging(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CGdPictureImaging(const CGdPictureImaging& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
// _GdPictureImaging methods
public:
long CreateAnchorTemplate(long ImageID, long PosLeft, long PosTop, long Width, long Height)
{
long result;
static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
InvokeHelper(0x1, DISPATCH_METHOD, VT_I4, (void*)&result, parms, ImageID, PosLeft, PosTop, Width, Height);
return result;
}
void DeleteAnchorTemplate(long AnchorTemplateID)
{
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms, AnchorTemplateID);
}
....... (all the other member functions).......
// _GdPictureImaging properties
public:
};