by Dirk Baltinowitz » Tue Nov 08, 2005 9:02 pm
Today, i embedded the old Version 3.5 of VPE into my application and tested it intensively.
The problem did _NOT_ occur !!!!
Then, i switched back to VPE 3.6 and after starting 3 instances of my application, it locked up again inside a call of OpenDoc() !
--
Mr. Radde, you wrote that there is no critical code inside OpenDoc() - but there must be something that causes this problem!
A few weeks ago, we spoke about the problem as i called you in your office. There, you told me that VPE 3.6 makes a License-Check when OpenDoc() - is called. I guess there is a problem with the Interprocess-Communication when VPE "counts" how often it is used on the same machine, because the problem mostly occurs when 2 or more Instances of my application are running.
I also do not think that the a function-call for querying information about the default-printer ist the cause for the problem, because my application completetely "locks up" - it never returns from OpenDoc()!
Further, i tested the following with FoxPro-Code:
- Query Default-Printer
- Redirect printing to that Default-Printer
- Print something
- Eject Page
- Instanciate VPE-Control
- call VPE.opendoc()
When the problem occurs, the Foxpro-Code did well and printed a page - the call of VPE.OpenDoc() a few lines later again locked up the application!