|
It takes 20 minutes to execute my dll once. If I click the stop button after running for 3 minutes and then FreeLibrary, the program will exit abnormally.
If it is not FreeLibrary, the operation of another ip immediately after calling this dll is abnormal, it may be that the dll global variable is not the initial value! !!
If the problem you said should be because
1. The dll itself is defective. Need to be modified
2. It may be that you did not call the function in the dll according to the convention. For example, when you start a new execution operation, you need to call a fixed function. The dll uses this function to initialize the relevant variables (if the dll does not provide such a function, it should be (the design of the dll is flawed) |
|