Thanks for reply,
I can't use the LicDemo as described.
I 'm using the component like this :
#import "C:\WINNT\system32\CWUI.ocx" raw_native_types, no_namespace,
named_guids
_DCWGraph *m_cwGraph; // _DCWGraph : IDispatch
And create it like this :
long l;
_bstr_t szstyle("Stylgraph.cwx");
wnd_contain.Create(m_hWnd,CRect(lpCreateStruct->x,lpCreateStruct->y,lpCreate
Struct->cx,lpCreateStruct->cy),NULL,WS_CHILD|WS_VISIBLE|WS_BORDER);
l=wnd_contain.CreateControl(A2W("CWUIControlsLib.CWGraph.1"));
l=wnd_contain.QueryControl( DIID__DCWGraph , (void**)&m_cwGraph);
m_cwGraph->ImportStyle(szstyle);
m_cwGraph->PutImmediateUpdates(TRUE);
How can I put the Licence information into the wright place ?
b.royer@alpes2i.fr
"Chris Matthews" wrot
e in message
news:506500000005000000C0250000-986697009000@quiq.com...
> You neglected to mention the development environment you are using.
> The reason for this is that our controls require licenses. These
> licenses must be embedded in your application to be used properly.
> Visual Basic and Visual C++ embed the licenses automatically for
> controls that you use in forms and dialogs (unless you add them
> dynamically). Some other environments do not. There is an article in
> our KB about installing licenses in VC++ apps for dynamically created
> controls here:
>
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/d671d44f1e
5384c386256529007c3672?OpenDocument
>
> Best Regards,
>
> Chris Matthews
> Measurement Studio Support Manager