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