FOLLOW-UP question : i'm calling the function repeatedly in a loop. when there are multiple items needed to to processed using that function, the application crashes. it works fine when only one item is processed. what to do?
[solved] i have a function in a dll that involves reading and writing a file. i'm calling the dll function in a test application but the file could not be written when the application is still open. i always need to close the test application first before the file could be successfully written.
what do i have to do to fix this?
Note: my dll is actually an .exe that i converted to dll