tryn2learn
Programmer
I'm new to visual foxpro and I'm trying to call a procedure which resides in a DLL which is written in Delphi. The procedure uses real numbers for some currency fields and requires 24 parameters. In my declare statement I've used SINGLE as the parameter type for those fields defined as real in the procedure. Upon running my visual program it errors out with the message "Declare DLL caused exception". However, If I set step on prior to the call and step through the call it runs without error. Does anyone have any idea what may be causing this? If so, how do I fix it?