[Migrated content. Thread originally posted on 07 January 2004]
Happy new year ... ;)Is there a way to wait the end of a DLL call ?
I wrote a program which was using a call to a DLL, then to a function of this DLL. Function which send to a printer a file report.
When the runtime stop ... the dll die even when the function has not finished.
If a create a window with a button ... this one is waiting for the end of my call. But my program can't be interactive ( Batch program).
I have tried to to do :
a 'perform thread ' .. then a 'wait for last thread' but it only concern the paragraph.
a call in thread of my DLL or function but it don't work.
Can I associate my cal to an handle or thread that I could wait.