Whats The Point Of PDF Creator?
Hi all,
This may be contentious but what the heck.
I posted a request in the Help forum to try to find out a definitive, robust solution to the problem of PDFCreator hanging when cClose is executed ie one which does not rely on putting "wait" statements all over your code and hoping. I have tried everything I could think of but to no avail. There seem to be many instances of other people reporting the same issue from several versions ago but the problem still doesnt appear to be solved in the latest version (0.9.5).
If the product cant be used without hanging and there is no clear solution, whats the point of continuing distributing new versions without first fixing that?
If this cant be solved does anyone know of an alternative free solution which will work with VB macros?
The solution is very simple. :-)
PDFCreator is an ActiveX-Exe-server and not an ActiveX-Dll. That means that exe server needs time to "shutdown" before you set the object-reference to nothing. Use a sleep or better a loop with a sleep and a DoEvents.
Hope this helps.
Best regards,
Frank