Hi,
I've seen some examples in assembler, and the only thing that is done extra
is a call to InitCommonControls. It's obvious that assembler doesn't do
anything automatically. So my best guess it that it works for executables,
but perhaps not for 'just' any programming environment. Have you ever tried
to run an example as an executable (even if it didn't run during
development)? I've seen examples where LV didn't run AX properly, but an
executable of the same code did run ok (and visa versa).
It is still weird that only CommonControls is acting this way. It sould be
one of the easiest components!
Regards,
Wiebe.
"Gavin Braithwaite" wrote in message
news:506500000005000000D5650100-1078497998000@exchange.ni.com...
> After some time I thin
k I can actually hazard a guess as to what is
> going on here. What it appears to be is that although the ocx is
> registered correctly, the user has to be using a system where the
> activex control is _licensed_ correctly to embed it in labview code.
> Running on a machine with VB6 development, this occurs automatically,
> but this doesn't appear to be neccessarily true with just labview. I
> "solved" this in the end by using a VB wrapper for the control (as
> suggested by microsoft:
> http://support.microsoft.com/default.aspx?scid=kb;en-us;281848). This
> solution worked....but when I reverted to the old technique of using
> the activex container directly.....this had been fixed as well....not
> sure whether this is a NI or microsoft issue?!