Tried both and also thought perhaps it was the STDCALL function var and tried assigning separate var for each and it still processed once then stopped. I also did try the DLLFree option and got back to the form but it failed to run the rest on the command- like I inserted a 'Return' command. Yes, I tried pause (thanks for the input Dennis). Perhaps a combo of all?
Sincerely, Paul D. Thanks to all, any other idea-ers are welcome. I will try anything once! From: [email protected] [mailto:[email protected]] On Behalf Of Dennis McGrath Sent: Wednesday, December 02, 2009 1:29 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: DLL call It certainly sounds like the DLL is still doing something (cleanup???) after it returns whatever value to RBASE. I think someone else here mentioned adding a PAUSE FOR 1 after the dll call to solve this kind of problem. Dennis McGrath _____ From: [email protected] [mailto:[email protected]] On Behalf Of Lawrence Lustig Sent: Wednesday, December 02, 2009 12:13 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: DLL call << I believe between the set var 3 and 4 I might have to release the dll and reapply. Not a problem - I think ;) ? >> You should never have to free and reload a DLL for it to work. The DLL should remain loaded through the run of the process (R:Base in this case) that loaded it. -- Larry

