- 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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only