Exported functions in a dll
-
I have written WIN32 ( Non MFC ) dll using VC++ 6.0 visual studio. The exported functions are called by another application. This works correctly on my PC. I have copied the EXE and dll on another PC. The application runs without any errors but the values returned from the functions are not correct. Mostly the intialised values are returned (i.e. if boolean is initialised to TRUE , the it is only returned) Do I have to do something else so that functions behave correcly on all the machine ? rgds Rajesh
-
I have written WIN32 ( Non MFC ) dll using VC++ 6.0 visual studio. The exported functions are called by another application. This works correctly on my PC. I have copied the EXE and dll on another PC. The application runs without any errors but the values returned from the functions are not correct. Mostly the intialised values are returned (i.e. if boolean is initialised to TRUE , the it is only returned) Do I have to do something else so that functions behave correcly on all the machine ? rgds Rajesh
-
I have written WIN32 ( Non MFC ) dll using VC++ 6.0 visual studio. The exported functions are called by another application. This works correctly on my PC. I have copied the EXE and dll on another PC. The application runs without any errors but the values returned from the functions are not correct. Mostly the intialised values are returned (i.e. if boolean is initialised to TRUE , the it is only returned) Do I have to do something else so that functions behave correcly on all the machine ? rgds Rajesh
-
Copy your dll in the same folder as exe just so that your latest dll will be loaded or else search and delete all the other copies of dll.
Thanks, But still I am having same problem. I tried putting message Box in the dll function. But it seems that the value of the variable in the dll function itself is 'intialised or 0 value' on the other PC and is correct on my PC. O.S. is Win2k on both PCs. Thanks and rgds Rajesh:)