c++.windows.32-bits - Problem returning float from DLL function to VB6
- Jim Linderman (8/8) Feb 06 2004 I am writing a DDL to be called by VB6. I am having trouble returning a
- Walter (6/14) Feb 14 2004 DMC++ returns floats and doubles in FPU regist ST(0). If that is not whe...
I am writing a DDL to be called by VB6. I am having trouble returning a float or double from the DLL function. My incoming parameters work fine and I have no problem returning integers to VB. My current proficiency in C++ is not very good, although I have done some programming in C and C++ in the past. I am also new to Digital Mars. Any help would be appreciated. Thanks Jim Linderman
Feb 06 2004
DMC++ returns floats and doubles in FPU regist ST(0). If that is not where VB6 expects them to be, that will not work. "Jim Linderman" <jimlinderman skyviewmail.com> wrote in message news:c0149p$2d3n$1 digitaldaemon.com...I am writing a DDL to be called by VB6. I am having trouble returning a float or double from the DLL function. My incoming parameters work fineandI have no problem returning integers to VB. My current proficiency in C++isnot very good, although I have done some programming in C and C++ in the past. I am also new to Digital Mars. Any help would be appreciated. Thanks Jim Linderman
Feb 14 2004