Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM and DLLs
#1
Hi,

When I use QM with dll functions, sometimes I have weird results like it were still hanging to the latest calculations, even when the main QM function is over. If I insert a delay or repeat several times, it works well.

Any help, please?
#2
Please give code example, with a real function.
#3
It is complicated to post. The main macro has hundreds of lines with dozens of functions. Three dll functions with hundreds of lines of code, so it seems a difficult task. Doing some sims with heavy calculations...
#4
What are the dll functions and what they do? Maybe they start new threads? Or do some asynchronous file operations? Or post multiple messages to some other thread?
#5
The dlls don't start new threads nor file operations. If I use a c program instead the main QM macro and QM functions, it works well with the same dll functions.
#6
Please explain "hanging to the latest calculations". Uses CPU? How long?
#7
The results appear to be the same as the previous calculations. I am going to check all the code again...


Forum Jump:


Users browsing this thread: 1 Guest(s)