App crashes with Freereport
Hi!
I've had a strange problem with FreeReport. The whole application
crashed on WinXP with SP2 when I tried to start it. The dialog to send an error report to Microsoft appeared. This problem happened only when the computer was disconnected from the network.
My suspicion was that FreeReport tries to connect or get information from a network printer. I've modified the source and did some ShowMessage() to get behind the problem. After the initialization section of the unit FR_Prntr the finalization section is called immediately.
With a try..except block I got the problem. On the line "Prn.Printer := Printer;" in the initialization section of FR_Prntr an access violation occures.
I'm sure somebody could fix this bug . As said before this happens only on WinXP with SP2.
I've had a strange problem with FreeReport. The whole application
crashed on WinXP with SP2 when I tried to start it. The dialog to send an error report to Microsoft appeared. This problem happened only when the computer was disconnected from the network.
My suspicion was that FreeReport tries to connect or get information from a network printer. I've modified the source and did some ShowMessage() to get behind the problem. After the initialization section of the unit FR_Prntr the finalization section is called immediately.
With a try..except block I got the problem. On the line "Prn.Printer := Printer;" in the initialization section of FR_Prntr an access violation occures.
I'm sure somebody could fix this bug . As said before this happens only on WinXP with SP2.
Comments
if this so,
it would be a problem to all version of windows. not only xp sp2.