Hello Christian,
Thank you for the reply.
I started DebWin3.exe and started my app.
I notice 3 things.
- If is start my app with NO DebWin3, the document is created in just a few seconds.
- If I start my app with DebWin3 activated, it takes 15 seconds to complete the lines below:
[quote]CMLL18 : 12:57:35.761 00001638/00 8 [XPPRT1.dll] LIC: STANDARD
** WinAdmNet.EXE(PID 5664):Storing [fe80::a093:2672:30a:1654], scope id[10]
…
** WinAdmNet.EXE(PID 5664):SNMPCleanup
CMLL18 : 12:57:51.470 00001638/00 9 [XPPRT1.dll] WARNING: PrintDlg() failed (CommDlgExtendedError()=PDERR_NODEFAULTPRN) while querying the system for the default printer.
Out of experience, I expect I will not be able to create a DC on that device. But wait and see.
[/quote]
The timeout is just after SNMPCleanup.
There is a default printer assigned in Windows. I Already tried to change the default printer to another device, but same result.
After 15 seconds the log continues.
- If is use DebWin3, my application does crash.
I see a windows dialog saying:
[quote]Microsoft Visual C++ Runtime Library
“This application has requested the Runtime to terminate it in an unusual way”
“Please contact the application’s support team for more information”
[/quote]
I assume it is my app, because DebWin3 remains active.
The Windows tells me that my application is “not responding”, and is terminated.
This behaviour is identical to all my Xbase++ applications that use LL18.
The last few log lines are:
[quote]CMLL18 : 12:57:51.626 00001638/00 4 [XPPRT1.dll] LlPrintStart(1,2,‘C:\Apps_Jds\AbcWinAdmNet\reports\Factuur’,0x00000800,1)
CMLL18 : 12:57:51.626 00001638/00 5 [XPPRT1.dll] [called by CMLL18.DLL]
CMLL18 : 12:57:51.626 00001638/00 6 [XPPRT1.dll] [called by CMLL18.DLL]
CMLL18 : 12:57:51.626 00001638/00 7 [XPPRT1.dll] [called by XPPRT1.dll]
CMLL18 : 12:57:51.626 00001638/00 8 [XPPRT1.dll] [called by XPPRT1.dll]
CMLL18 : 12:57:51.626 00001638/00 9 [XPPRT1.dll] [called by SY_LL18.dll]
CMLL18 : 12:57:51.626 00001638/00 0 [XPPRT1.dll] LIC: clsLicenseInfo::IsAllowed(0,state=00000002)
CMLL18 : 12:57:51.626 00001638/00 1 [XPPRT1.dll] LIC: _nLicState=2
CMLL18 : 12:57:51.626 00001638/00 2 [XPPRT1.dll] >clsApplication::hLibrary(13,1,0,1)
CMLL18 : 12:57:51.626 00001638/00 3 [XPPRT1.dll] >clsApplication::GetLibrary(13,1,0,0)
CMLL18 : 12:57:51.626 00001638/00 4 [XPPRT1.dll] <clsApplication::GetLibrary() -> 0X0DFE0000
CMLL18 : 12:57:51.626 00001638/00 5 [XPPRT1.dll] <clsApplication::hLibrary() -> 0X0DFE0000
CMLL18 : 12:57:51.626 00001638/00 6 [XPPRT1.dll] LlDefineFieldExt(1,‘LL.CountData’,‘255’,0x88008002,00000000)
CMLL18 : 12:57:51.626 00001638/00 7 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 8 [XPPRT1.dll] LlDefineFieldExt(1,‘LL.CountDataThisPage’,‘12’,0x88008002,00000000)
CMLL18 : 12:57:51.626 00001638/00 9 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 0 [XPPRT1.dll] LlDefineFieldExt(1,‘LL.CountPrintedData’,‘140’,0x88008002,00000000)
CMLL18 : 12:57:51.626 00001638/00 1 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 2 [XPPRT1.dll] LlDefineFieldExt(1,‘LL.CountPrintedDataThisPage’,‘10’,0x88008002,00000000)
CMLL18 : 12:57:51.626 00001638/00 3 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 4 [XPPRT1.dll] LlDefineFieldExt(1,‘LL.FCountData’,‘256’,0x88000002,00000000)
CMLL18 : 12:57:51.626 00001638/00 5 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 6 [XPPRT1.dll] LlDefineFieldExt(1,‘LL.FCountDataThisPage’,‘13’,0x88000002,00000000)
CMLL18 : 12:57:51.626 00001638/00 7 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 8 [XPPRT1.dll] LlDefineFieldExt(1,‘LL.FCountPrintedData’,‘141’,0x88000002,00000000)
CMLL18 : 12:57:51.626 00001638/00 9 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 0 [XPPRT1.dll] LlDefineFieldExt(1,‘LL.FCountPrintedDataThisPage’,‘11’,0x88000002,00000000)
CMLL18 : 12:57:51.626 00001638/00 1 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 2 [XPPRT1.dll] LlDefineFieldExt(1,‘FINAL’,’’,0x90000000,00000000)
CMLL18 : 12:57:51.626 00001638/00 3 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 4 [XPPRT1.dll] LlDefineFieldExt(1,‘LL.IsForcedGroupHeader’,‘False’,0x82004000,00000000)
CMLL18 : 12:57:51.626 00001638/00 5 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 6 [XPPRT1.dll] LlDefineVariableExt(1,‘LL.CountDataThisPage’,‘12’,0x88000002,00000000)
CMLL18 : 12:57:51.626 00001638/00 7 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 8 [XPPRT1.dll] LlDefineVariableExt(1,‘LL.CountData’,‘255’,0x88000002,00000000)
CMLL18 : 12:57:51.626 00001638/00 9 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 0 [XPPRT1.dll] LlDefineVariableExt(1,‘LL.CountPrintedDataThisPage’,‘8’,0x88000002,00000000)
CMLL18 : 12:57:51.626 00001638/00 1 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 2 [XPPRT1.dll] LlDefineVariableExt(1,‘LL.CountPrintedData’,‘140’,0x88000002,00000000)
CMLL18 : 12:57:51.626 00001638/00 3 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.626 00001638/00 4 [XPPRT1.dll] LlDefineVariableExt(1,‘LL.IsForcedPage’,‘True’,0x82000000,00000000)
CMLL18 : 12:57:51.626 00001638/00 5 [XPPRT1.dll] =0 (OK)
CMLL18 : 12:57:51.641 00001638/00 6 [XPPRT1.dll] INF: loading project file ‘C:\Apps_Jds\AbcWinAdmNet\reports\Factuur.lst’/00000000 (FileAttributes=0x00002020, LoadType=normal, r/o)
CMLL18 : 12:57:51.641 00001638/00 7 [XPPRT1.dll] @NOTIF.(code= 60, param=0X0B1975C0, user=00000000)
CMLL18 : 12:57:51.641 00001638/00 8 [XPPRT1.dll] HINT: There is no destination window handle to send the call to. Please use LlSetNotificationCallback(), or pass a valid window handle to LL_OPTION_NOTIFICATIONMESSAGEHWND or API calls, if you need the message.
CMLL18 : 12:57:51.641 00001638/00 9 [XPPRT1.dll] -> 00000000
CMLL18 : 12:57:51.641 00001638/00 0 [XPPRT1.dll] >ResetDevices()
CMLL18 : 12:57:51.641 00001638/00 1 [XPPRT1.dll] <ResetDevices()
CMLL18 : 12:57:51.641 00001638/00 2 [CMLL18.DLL] add printer ‘Samsung CLX-6250 Series PS’ in PAI as AVAILABLE as it can be opened again
[/quote]
My app crashes when executing:
LlPrintStart(::hJob,2,"C:\Apps_Jds\AbcWinAdm\Reports\Factuur",LL_PRINT_NORMAL)
or
LlPrintStart(::hJob,2,"C:\Apps_Jds\AbcWinAdm\Reports\Factuur",LL_PRINT_NORMAL,0)
Anyway, if I use DebWin3 with any of the Xbase++ samples provided by Combit, then they also crash.
All access to L&L is initiated and completed in the same Xbase++ thread.
How to proceed?
Regards,
Jack Duijf