Loading...

How to use the Imaging component in VC++

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

How to use the Imaging component in VC++

Postby GPGD » Wed Oct 06, 2010 1:30 am

Hello,

We want to use the Imaging component in a VC++ application. I've looked at the VC++ sample included. In our project we don't have a window associated with the section of code that needs to use this component. When we attempt to instantiate the object with:

C_Imaging m_imaging;

We get an error message when attempting to use any member functions/properties. Specifically we get:

ASSERT(m_pCtrlSite != NULL); // not an OLE control (not yet, at least)

in the void AFX_CDECL CWnd::InvokeHelper function

Is this because we need to actually add the active x component to a window. If so is there a way around this. There doesn't seem to be a non .NET library for this component.

TIA
GPGD
 
Posts: 4
Joined: Wed Oct 06, 2010 1:23 am

Re: How to use the Imaging component in VC++

Postby GPGD » Wed Oct 06, 2010 3:57 am

Disregard post. Just used create function and attached to main wnd
GPGD
 
Posts: 4
Joined: Wed Oct 06, 2010 1:23 am


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron