I am trying to build a simple COM EXE and I have a strange behavior.
My project contains a simple PRG.
DEFINE CLASS Search AS Custom OLEPUBLIC
FUNCTION Search
PARAMETER tcSearch
MESSAGEBOX('we are in')
ENDFUNC
ENDDEFINE
After I have compiled the EXE, I can test from the command prompt.
loSearch=CREATE('FT.Search')
The loSearch object is created.
Now, if I try to call the Search method like this:
loSearch.Search('test')
I hear a beep and the object goes in busy mode.
Why?