Hi
I have an httpserver (synapse), which among other things print a short but rather complex .
report.
Therefore in the Execute part I have put a Critical section Acquire;/Release block (when rinting is required.)
I cannot use a Printer:=Tprinter.create in the Execute block because the report creation and printing functions are
used also by external EXE (and I cannot figure out to tell the function for the report to use th Printer created
inside the thread or the vcl global Printer when it is called by gh external program).
After I print a few times i get this error
First chance exception at $75B98FC2. Exception class EAccessViolation with message
'Access violation at address 671A7B65 in module 'madExcept32.dll'.
Read of address 8BF455D7'. Process Posserver.exe (2480)
Is this an error of madexcept of of my program?
And if it is from my program would anybody have an idea as ti what i am doing wrong and how to fix it?
I hqve attached the log of the entire error message.
log.txt