Click to See Complete Forum and Search --> : DLL returns value to VB, causes exception


Kevin Kelly
April 30th, 1999, 03:35 PM
I have written an MFC DLL with a function which returns an integer. A coworker is calling the function from a Visual Basic program. When my code returns the integer, it causes an exception 10H. I originally thought it was a problem with the size of the return types, but they're the same size. Any ideas?

Kevin Kelly

John Holifield
April 30th, 1999, 05:03 PM
Are you certain that the VB code's Declare statement for your DLL is correct ?