I am hoping someone else has seen this.
I have a COM server written in VFP. The COM server runs fine when I test the code but NOT when I run it in the exact same manner as a COM Server. Based on my investigations, the COM server runs all the code, does what it is supposed to do and then TRIES to do a return statement (RETURN lcRETVAL). I have been able to confirm that ALL the code is running and that it is dying on the RETURN statement. The error message returned is Error 302 -- Data Type Mismatch.
I have search the KB for this and could not find anything. In fact, the only place I could find a reference to an error 302 was in documentation for the VFP API (which I am not using).
Any ideas?
Thanks in advance,
Menachem