Dear all,
I write a VB DLL to convert user's documents to PDF.
It's works very well when single user, but when I run Stress Test, if concurrent users more than 3 persons. system will crash to blue screen. I get following message:
*** STOP:0x0000001E (0x00000005, 0xA0298F3F, 0x00000000, 0x00000008)
KMODE_EXCEPTION_NOT_HANDLED
*** Address A0298F3F base at A028F000, Datastamp 3c4ddae1 - acpdf204.dll
Beginning dump of physical memory
My Server is Windows 2000 Server Edition + SP3 (Traditional Chinese Version)
Amyuni PDF Convert version is trial version (2.04)
p.s: I was buy [Amyuni PDFConvert developer edition] at 12/31/2002 , But I still cann't successful intall release versoin, so I just use trial version.
I know 0xC0000005 means a memory access violation occurred. But why?
anyone have any idea?
Daniel Horng
2003/1/4
[Solved] Get KMODE_EXCEPTION_NOT_HANDLED error message
-
- Posts: 4
- Joined: Fri Jan 03 2003
- Location: Taipei,Taiwan
Hello,
You must be able to download the release version by entering your serial number and registered e-mail address. Please try this again and if you face any problems please send an e-mail to support@amyuni.com
Concerning your question. If you are still facing this error with the release version of the PDF Converter please consider using the locking mechanism of CDintf. This is helpful when you have multiple print jobs trying to access the printer properties at the same time.
For more information about the locking mechanism please check our Technical note Tn05 from: http://www.amyuni.com/en/support/technotes.html
Hope this helps!
You must be able to download the release version by entering your serial number and registered e-mail address. Please try this again and if you face any problems please send an e-mail to support@amyuni.com
Concerning your question. If you are still facing this error with the release version of the PDF Converter please consider using the locking mechanism of CDintf. This is helpful when you have multiple print jobs trying to access the printer properties at the same time.
For more information about the locking mechanism please check our Technical note Tn05 from: http://www.amyuni.com/en/support/technotes.html
Hope this helps!
-
- Posts: 4
- Joined: Fri Jan 03 2003
- Location: Taipei,Taiwan
Dear Joan,
Thanks, It's really works!!
When I using ver 2.08a to run Stress-Test, if concurrent users more than 3 users, some print job will lose (no error event or message). if concurrent user more than 20 users, system didn't crash to blue screen, but will hang.
When I add Lock() and Unlock() , EVERYTHING IS OK!!!
I run Stress-Test, add concurrent user to 50 users, EVERYTHING STILL OK!
Following is part of my code for who will concern:
p.s: objVP is my other public object to generate report.
Private Sub PrintToPDF(ByVal strFileName As String, ByVal strReportTitle As String)
On Error GoTo errHandler
Dim strPrinterName As String
Dim objPDF As New CDIntf.CDIntf
Dim ret As Long
strPrinterName = "Amyuni PDF Converter"
objPDF.DriverInit strPrinterName
objVP.PrintDialog = PrintDlgNone
objVP.SetPrinter strPrinterName
objVP.SetDocName strReportTitle
ret = objPDF.Lock(strReportTitle)
objPDF.SetDocFileProps strReportTitle, NoPrompt + UseFileName + EmbedFonts, "", strFileName
objVP.PrintPages 1, objVP.TotalPages
ret = objPDF.Unlock(strReportTitle, 180000)
objPDF.FileNameOptions = 0
objPDF.DriverEnd
mvarReportPageCount = objVP.TotalPages
Set objPDF = Nothing
Exit Sub
errHandler:
ErrorIn "SimpleList.PrintToPDF(strFileName,strReportTitle)", Array(strFileName, strReportTitle)
End Sub
Thank you again.
Daniel Horng
2003/01/08
Thanks, It's really works!!
When I using ver 2.08a to run Stress-Test, if concurrent users more than 3 users, some print job will lose (no error event or message). if concurrent user more than 20 users, system didn't crash to blue screen, but will hang.
When I add Lock() and Unlock() , EVERYTHING IS OK!!!
I run Stress-Test, add concurrent user to 50 users, EVERYTHING STILL OK!
Following is part of my code for who will concern:
p.s: objVP is my other public object to generate report.
Private Sub PrintToPDF(ByVal strFileName As String, ByVal strReportTitle As String)
On Error GoTo errHandler
Dim strPrinterName As String
Dim objPDF As New CDIntf.CDIntf
Dim ret As Long
strPrinterName = "Amyuni PDF Converter"
objPDF.DriverInit strPrinterName
objVP.PrintDialog = PrintDlgNone
objVP.SetPrinter strPrinterName
objVP.SetDocName strReportTitle
ret = objPDF.Lock(strReportTitle)
objPDF.SetDocFileProps strReportTitle, NoPrompt + UseFileName + EmbedFonts, "", strFileName
objVP.PrintPages 1, objVP.TotalPages
ret = objPDF.Unlock(strReportTitle, 180000)
objPDF.FileNameOptions = 0
objPDF.DriverEnd
mvarReportPageCount = objVP.TotalPages
Set objPDF = Nothing
Exit Sub
errHandler:
ErrorIn "SimpleList.PrintToPDF(strFileName,strReportTitle)", Array(strFileName, strReportTitle)
End Sub
Thank you again.
Daniel Horng
2003/01/08