Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distribute a one file class ?
Message
From
23/11/2000 23:02:12
 
 
To
22/11/2000 13:05:47
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00441952
Message ID:
00445109
Views:
17
>>>>Hello,
>>>>
>>>>We want to distribute a class as a separate file that can not be modified by the user. Until now it seems you always need two files (the VCX and the VCT) file, and they can easily modified.
>>>>
>>>>Anybody knows how to do this ?
>>>>
>>>
>>>Compile it to a COM DLL.
>>
>>I came back to this and now I tried to do this: I created a class library Test, included it in a project called Test and set the classlibrary OLE public. Then I compiled the project to a Multithreaded DLL. But I cannot instantiate a class from the library test. What do I wrong, or maybe what do I forget to do?
>>
>>Thanks for your help!
>
>PMFJI,
>First, you actually set the class OLEPUBLIC, not the class library.
>
>How are you trying to instantiate it?
>It should be done as ox = CreateObject("DLL.Class"), in this case, probably ox = CreateObject("test.test")
>
>Also, it must be registered on the client's machine in order for them to use it.
>This can be done as part of the Setup routine.

Plus having generated a MTDLL he has to install both runtimes,
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform