Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class to com??
Message
From
24/03/2000 13:07:07
 
 
To
24/03/2000 12:49:05
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00350085
Message ID:
00350094
Views:
33
Done all that. Problem is that this class is the only object in the project. I cannot compile becaus no start program. I don't need a start program. All I intend to do is in another program instatiate the object and execute methodes.
Do I really have to have a dummy start program? And whta is it supposed to do?

Peter


>- You create a new project
>- Add your class
>- Create a dummy PRG file to be the main program of the project (just put RETURN in it)
>- Open your class
>- Select "Class|Class Info"
>- Check the "OLE Public" check box
>- Click OK
>- Close your class
>- Build your project using either:
> - COM server (EXE)
> - Single-threaded COM server (DLL)
> - Multi-threaded COM server (DLL)
>
>Note that you cannot have any interface related code in your class (WAIT WINDOW, MessageBox, DoEvents, etc.)
>
>HTH
>I have a class (custom) which i want to compile into a com component?
>>How do I do that?
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform