Jump to content
Software FX Community

Calling CWnd.CreateControl, how do I pass license string?

User (Legacy)

Recommended Posts

I have an app that runs correctly on my development box, 

but when I try and run it on another box where I have installed

and registered sfxbar.dll, cfx4032.ocx and cfx4032.dll, it

still crashes.

I think the problem is that I am calling CreateControl directly,

i.e. not building the charts in the IDE. I've been passing NULL

for the license string on my development box, which I'm guessing

works because the controls have been installed there.

When I run "About ChartFX", I can see the loooong character

license string, but when I try and paste that into a C++ program,

I get a "cannot convert char[55] to BSTR" error.

Any clues?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...