Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error: 'class not licensed for use'
Message
From
23/05/2003 13:38:24
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00791929
Message ID:
00792337
Views:
29
Josh,

I recently bumped into a similar problem with an ActiveX control. I was using it via a class defined in a .PRG and it failed on some client machines but was OK on others. I have always thought that it had something to do with a .DLL mismatch but I have not figured out exactly which one.

I discovered that creating the class in a .VCX solved the problem, so I do that as a work-around right now. So I would suggest trying that approach.

If it works maybe this can help provide a clue as to what is wrong/different when using .PRG based subclass.

Guy






>I'm getting class not licensed for use on client machines.
>I can't find anything on MS that is helpful..
>
>The two lines that are giving me problems are:
>
>CREA('mswinsock.winsock.1')
>
>DEFINE CLASS DuzHandler AS FORM
> ADD OBJECT olemajor AS OLECONTROL WITH ;
> TOP = 51, ;
> LEFT = 12, ;
> OLECLASS = 'MSComctlLib.ProgCtrl.2'
>
>anyone have any ideas on what I'm doing wrong?
>
>What's frustrating is on a Win98 system (barebones, except for Palm Desktop loaded) -- I don't get errors, but on other machines I do.
>
>Thanks
>-josh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform