I did the following:
Created an OCX with one button and one method inside:
Private Sub Command1_Click()
Then, I put this OCX in another project(exe project) that
have this method:
Public function MyFunc() as long
MyFunc = 11223344
It worked, but I can't understand how it worked.
Does the exe project is a COM object ?
Does it has some kind of table that keeps is methods ?
Can anyone explain me this mechanism ?