Author | Topic: xbpstatusbar | |
---|---|---|
Marco Aguiar | xbpstatusbar on Tue, 08 Jun 2010 10:57:34 +0100 Hi, I have a problem with xbpstatusbar. When the programa is minimized and i am working on others applications, sometimes it gives the following error : ( Note that this also happens in windows XP ) Does anybody know what is this and what can i do to prevent it to happen ? ------------------------------------------------------------------------------ ERROR LOG of "C:\Alaska\xBasePrg\PcGest\PCGESTW32.exe" Date: 2010.06.07 10:38:22 Xbase++ version : Xbase++ (R) Version 1.90.355 Operating system : Windows 7 06.01 Build 07600 ------------------------------------------------------------------------------ oError:args : -> VALTYPE: U VALUE: NIL -> VALTYPE: N VALUE: 2 oError:canDefault : N oError:canRetry : N oError:canSubstitute: Y oError:cargo : NIL oError:description : Parameter has a wrong data type oError:filename : oError:genCode : 2 oError:operation : <NIL> + <2> oError:osCode : 0 oError:severity : 2 oError:subCode : 3 oError:subSystem : BASE oError:thread : 3 oError:tries : 0 ------------------------------------------------------------------------------ CALLSTACK: ------------------------------------------------------------------------------ Called from XBPSTATUSBAR:ONTIMEREVENT(1341) Called from (B)XBPSTATUSBAR:CREATE(685) | |
Andreas Gehrs-Pahl | Re: xbpstatusbar on Thu, 10 Jun 2010 06:55:19 -0400 Marco, >Does anybody know what is this and what can i do to prevent it to happen ? I don't know what the exact problem is, but there should be a simple way to fix this. As you have the source code, so you could make a small change to catch this exception, no matter what the actual reason might be. >oError:operation : <NIL> + <2> >Called from XBPSTATUSBAR:ONTIMEREVENT(1341) >Called from (B)XBPSTATUSBAR:CREATE(685) Change the code in file: "...\XPPW32\SOURCE\SYS\AXCtrls.prg" before line 1341 to check if oPanel:Left is NIL and if so, do a loop. Just add: if oPanel:Left == NIL .or. oPanel:Width == NIL loop endif That might fix your immediate problem. Then compile your modified code into a new "XppSys.dll" and replace the original "XppSys.dll" file in the runtime directory with your new one. To create your replacement "XppSys.dll" file use the project file in: "...\XPPW32\SOURCE\DLL\PROJECT.XPJ". Hope that helps. -- Andreas --- --- Andreas Gehrs-Pahl E-Mail: GPahl@CharterMI.net 415 Gute Street or: Andreas@DDPSoftware.com Owosso, MI 48867-4410 or: Andreas_Gehrs-Pahl@CrimeCog.com Tel: (989) 723-9927 Web Site: http://www.Aerospace-History.net --- --- | |
Marco Aguiar | Re: xbpstatusbar on Thu, 08 Jul 2010 12:44:34 +0100 Thank you Andreas, It seams to work. "Andreas Gehrs-Pahl" escreveu na mensagem news:g6kp48kectqh$.295uwuzugqze$.dlg@40tude.net... > Marco, > >>Does anybody know what is this and what can i do to prevent it to happen ? > > I don't know what the exact problem is, but there should be a simple way > to fix this. As you have the source code, so you could make a small change > to catch this exception, no matter what the actual reason might be. > >>oError:operation : <NIL> + <2> >>Called from XBPSTATUSBAR:ONTIMEREVENT(1341) >>Called from (B)XBPSTATUSBAR:CREATE(685) > > Change the code in file: "...\XPPW32\SOURCE\SYS\AXCtrls.prg" before line > 1341 to check if oPanel:Left is NIL and if so, do a loop. Just add: > > if oPanel:Left == NIL .or. oPanel:Width == NIL > loop > endif > > That might fix your immediate problem. > > Then compile your modified code into a new "XppSys.dll" and replace the > original "XppSys.dll" file in the runtime directory with your new one. > To create your replacement "XppSys.dll" file use the project file in: > "...\XPPW32\SOURCE\DLL\PROJECT.XPJ". > > Hope that helps. > > -- Andreas > > --- --- > Andreas Gehrs-Pahl E-Mail: GPahl@CharterMI.net > 415 Gute Street or: Andreas@DDPSoftware.com > Owosso, MI 48867-4410 or: Andreas_Gehrs-Pahl@CrimeCog.com > Tel: (989) 723-9927 Web Site: http://www.Aerospace-History.net > --- --- | |
Marco Aguiar | Re: xbpstatusbar on Fri, 09 Jul 2010 16:23:35 +0100 Hello, No, it happens again the same error. Normally when i am using other applications like excel or word or outlook and the application is minimized, that is when the error came. I think the problem was solved because this does not always happen. And i do not understand why it can happen after i change the code ? Any new ideas ? "Andreas Gehrs-Pahl" escreveu na mensagem news:g6kp48kectqh$.295uwuzugqze$.dlg@40tude.net... > Marco, > >>Does anybody know what is this and what can i do to prevent it to happen ? > > I don't know what the exact problem is, but there should be a simple way > to fix this. As you have the source code, so you could make a small change > to catch this exception, no matter what the actual reason might be. > >>oError:operation : <NIL> + <2> >>Called from XBPSTATUSBAR:ONTIMEREVENT(1341) >>Called from (B)XBPSTATUSBAR:CREATE(685) > > Change the code in file: "...\XPPW32\SOURCE\SYS\AXCtrls.prg" before line > 1341 to check if oPanel:Left is NIL and if so, do a loop. Just add: > > if oPanel:Left == NIL .or. oPanel:Width == NIL > loop > endif > > That might fix your immediate problem. > > Then compile your modified code into a new "XppSys.dll" and replace the > original "XppSys.dll" file in the runtime directory with your new one. > To create your replacement "XppSys.dll" file use the project file in: > "...\XPPW32\SOURCE\DLL\PROJECT.XPJ". > > Hope that helps. > > -- Andreas > > --- --- > Andreas Gehrs-Pahl E-Mail: GPahl@CharterMI.net > 415 Gute Street or: Andreas@DDPSoftware.com > Owosso, MI 48867-4410 or: Andreas_Gehrs-Pahl@CrimeCog.com > Tel: (989) 723-9927 Web Site: http://www.Aerospace-History.net > --- --- | |
Marco Aguiar | Re: xbpstatusbar on Fri, 29 Oct 2010 19:16:55 +0100 Hi, Is it possible to alaska team to correct this problem and send new source code for XppSys.dll ? ************************************************************** Change the code in file: "...\XPPW32\SOURCE\SYS\AXCtrls.prg" before line 1341 to check if oPanel:Left is NIL and if so, do a loop. Just add: if oPanel:Left == NIL .or. oPanel:Width == NIL loop endif ************************************************************** "Marco Aguiar" escreveu na mensagem news:772975c6$73d2c6c3$12cca@news.alaska-software.com... Hi, I have a problem with xbpstatusbar. When the programa is minimized and i am working on others applications, sometimes it gives the following error : ( Note that this also happens in windows XP ) Does anybody know what is this and what can i do to prevent it to happen ? ------------------------------------------------------------------------------ ERROR LOG of "C:\Alaska\xBasePrg\PcGest\PCGESTW32.exe" Date: 2010.06.07 10:38:22 Xbase++ version : Xbase++ (R) Version 1.90.355 Operating system : Windows 7 06.01 Build 07600 ------------------------------------------------------------------------------ oError:args : -> VALTYPE: U VALUE: NIL -> VALTYPE: N VALUE: 2 oError:canDefault : N oError:canRetry : N oError:canSubstitute: Y oError:cargo : NIL oError:description : Parameter has a wrong data type oError:filename : oError:genCode : 2 oError:operation : <NIL> + <2> oError:osCode : 0 oError:severity : 2 oError:subCode : 3 oError:subSystem : BASE oError:thread : 3 oError:tries : 0 ------------------------------------------------------------------------------ CALLSTACK: ------------------------------------------------------------------------------ Called from XBPSTATUSBAR:ONTIMEREVENT(1341) Called from (B)XBPSTATUSBAR:CREATE(685) |