New Error

This forum is for eXpress++ general support.
Message
Author
omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: New Error

#21 Post by omni »

Here are the two files. I had to wait and resend with debug writing, which was deleted when I made the last change.

If needed, I can resend or copy to you the written line the next time the error occurs to see if anything is different.

Both files were just renamed to .zip files to get by the transfer name requirements.
Attachments
debug.zip
(97.07 KiB) Downloaded 481 times
_dcgetbx.zip
(393.34 KiB) Downloaded 509 times

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: New Error

#22 Post by rdonnay »

I made a mistake. I made the below change to my code but gave you the wrong change.
This is correct:

Code: Select all

STATIC FUNCTION _IsIcon( nResource, cResFile, oIcon )

LOCAL lStatus := .f.

#if XPPVER > 1900345
IF cResFile == NIL    // <<<<<<<<<<<<<<<<<<<<<<<<
  RETURN .f.
ENDIF

oIcon := XbpIcon():new():create()
lStatus := oIcon:load(cResFile,nResource)

IF !lStatus
  oIcon:destroy()
  oIcon := nil
ENDIF
#endif

RETURN lStatus
The eXpress train is coming - and it has more cars.

Post Reply