Error in TaskPanel example

This forum is for support of XCodeJock
Post Reply
Message
Author
Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Error in TaskPanel example

#1 Post by Wolfgang Ciriack »

Hi Roger,
first live test. I get this error with my app and with your example.
Win7, XBase 1.9.355, eXPress 253.

------------------------------------------------------------------------------
ERROR LOG of "X:\express\XCodeJock\Samples\TaskPanel\TaskPanel.exe" Date: 01/29/2010 18:55:05

Xbase++ version : Xbase++ (R) Version 1.90.355
Operating system : Windows 7 06.01 Build 07600
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: C VALUE: LoadIconFromResource
-> VALTYPE: N VALUE: 106102784
-> VALTYPE: N VALUE: 7371
-> VALTYPE: U VALUE: NIL
-> VALTYPE: N VALUE: 0
oError:canDefault : J
oError:canRetry : N
oError:canSubstitute: J
oError:cargo : NIL
oError:description : Typkonflikt.
Parameter hat falschen Typ
oError:filename : NIL
oError:genCode : NIL
oError:operation : LoadIconFromResource
oError:osCode : -2147352571
oError:severity : 2
oError:subCode : 6500
oError:subSystem : Automation
oError:thread : 1
oError:tries : NIL
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------

Called from CJ_PARTS:LOADICON(47)
Called from PANELGROUPS(163)
Called from (B)MAIN(147)
Called from DC_GETLIST:READGUI(3566)
Called from DC_READGUI(98)
Called from MAIN(147)
_______________________
Best Regards
Wolfgang

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

Re: Error in TaskPanel example

#2 Post by rdonnay »

Something appears wrong in your installation.

I do not get any errors with this sample in build 253.

Your error log indicates that the error is on line 47 of XCJCLASS.PRG.
It is not possible for that kind of error to occur on that line of code: IF Valtype(cDll) == 'C'

The error is really occurring on line 54 of XCJCLASS.PRG based on the log info:
CJLoadIconFromResource ncImage HANDLE nHandle ID nID STATE xtpImageNormal PARENT oIcons

It could be that Xbase++ is reporting the wrong line or it could be that you are running an older version of XCODEJOCK.DLL.

You can help to debug this problem by putting the following debugging command in XCJCLASS.PRG just before line 54.

WTF ncImage, nHandle, nID, xtpImageNormal, oIcons PAUSE

Rebuild XCODJOCK.DLL by running BUILD19_SL1.BAT in \exp19\source\xcodejock.

Then tell me what info appears in the debug window.
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Error in TaskPanel example

#3 Post by Wolfgang Ciriack »

Hi Roger,
thanks, i will try this next week.
_______________________
Best Regards
Wolfgang

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Error in TaskPanel example

#4 Post by Wolfgang Ciriack »

Hi Roger,
you was right, there was an older XcodeJock.dll in my path.
Sorry.
_______________________
Best Regards
Wolfgang

Post Reply