ccrum
Electrical
- Apr 20, 2001
- 17
I have a fortran DLL I'm trying to call for a VB main exe. The call goes fine, but control is never transfered back from the the Fortran DLL. I'm trying to return an array of numbers. I know the DLL is working because I printed the array from the Fortran into a text file as a check. This occurs alomst instantaneously and is the last stpe in the DLL, but control is never returned. Instead if I try to click on something else in the VB application I get an invalid page fault error and everything crashes. Any ideas? BTW, I've tried doing it without the array and JUST printing the results. I get the same thing. Control is never returned. I'm passing all variables by reference. I'm using COmpaq DVF 6.4 and VB 5.