>I am trying to incorporate another application in to my application, which is AFD Postcode. They do distribute an example but it is a VB app. In VB they pass an object as parameter to the DLL, can you pass an object to a DLL in VFP? If so have you got an example? When I try to I get an error message “DATATYPE MISMATCH”.
>
I haven't ever used AFD Postcode, but you should be able to pass an object.
What sort of object is being passed in the VB example?
The datatype mismatch error may not be coming from the object but rather a property on the object that the VB DLL is trying to read.
Insanity: Doing the same thing over and over and expecting different results.