Clarion 6 app hangs on startup unless default printer is changed for ReportWriter Engine C60PRLBX.DLL

Hi,

All txr files are external as separate files. But at least I’ve a workaround now, see my post above.

Best regards
Jeffrey

Is your application a standalone executable or a multi-DLL?
Because if you are using a multi-DLL and using CPCS in one of the libraries, this code

CPCSStartUpPrintDevice = PRINTER{PROPPRINT:DEVICE}

is placed in the constructor and runs after the library loads.
This means it executes before the first instruction in your main application.
If this is the case, that is the source of your problems – the application starts, the process hangs in the task manager, but the GUI does not open.
Simply comment out this in the CPCS template and it should help.

Hi Darek,

The problem is when C60PRLBX.DLL is linked into the exe because of the internal ReportWriter Engine, so that TXR reports can be processed/printed.

This little demo example of SV, without any templates, also hangs:
C:\Clarion6\Examples\RWEXAMPL\RWDEMO1.PRJ

I have described this clearly in one of my posts above.

Best regards
Jeffrey