Exit Error : 13.04 OLE
- TimStone
- Posts: 2956
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: Exit Error : 13.04 OLE
Antonio,
Still there. Its puzzling ! This had been rock solid for the past few years with xHarbour and suddenly I'm running into a problem ....
Tim
Still there. Its puzzling ! This had been rock solid for the past few years with xHarbour and suddenly I'm running into a problem ....
Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- lucasdebeltran
- Posts: 1303
- Joined: Tue Jul 21, 2009 8:12 am
- Contact:
Re: Exit Error : 13.04 OLE
Timm,
Why don´t you please build a self-contained example?. That´s the way Antonio can reproduce the problem.
Best regards
Why don´t you please build a self-contained example?. That´s the way Antonio can reproduce the problem.
Best regards
Muchas gracias. Many thanks.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.
- Antonio Linares
- Site Admin
- Posts: 42595
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 38 times
- Been thanked: 86 times
- Contact:
Re: Exit Error : 13.04 OLE
Tim,
I have searched in all Harbour libraries for the error that you described:
and it does not exist inside the Harbour libs neither in all Harbour sources.
But it exists in xHarbour libs. So I think you are using the wrong Harbour libraries to build your EXE
I have searched in all Harbour libraries for the error that you described:
The exact error is: Destructors Disabled : Destructor of class 'TOLEAUTO' can't be executed
and it does not exist inside the Harbour libs neither in all Harbour sources.
But it exists in xHarbour libs. So I think you are using the wrong Harbour libraries to build your EXE
- TimStone
- Posts: 2956
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: Exit Error : 13.04 OLE
Antonio,
This is occurring with my xHarbour build ...
I'm looking at another possibility right now ...
Tim
This is occurring with my xHarbour build ...
I'm looking at another possibility right now ...
Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- TimStone
- Posts: 2956
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: Exit Error : 13.04 OLE
OK ...
In May of last year you gave me a file to include in my xHarbour.com builds. It was FIVEACTX.prg
Here is its content:
Could this be related ?
Tim
In May of last year you gave me a file to include in my xHarbour.com builds. It was FIVEACTX.prg
Here is its content:
Code: Select all | Expand
function OleInvoke( hObj, cMethod, uParam )
#ifndef __XHARBOUR__
return __ObjSendMsg( TOleAuto():New( hObj ), cMethod, uParam )
#else
local aParams := hb_aParams()
aParams[ 1 ] = TOleAuto():New( hObj )
return hb_execFromArray( @__ObjSendMsg(), aParams )
#endif
return NIL
function OleSetProperty( hObj, cPropName, uValue )
return __ObjSendMsg( TOleAuto():New( hObj ), "_" + cPropName, uValue )
function OleGetProperty( hObj, cPropName )
return __ObjSendMsg( TOleAuto():New( hObj ), cPropName )
Could this be related ?
Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- Antonio Linares
- Site Admin
- Posts: 42595
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 38 times
- Been thanked: 86 times
- Contact:
Re: Exit Error : 13.04 OLE
Tim,
Are you using QUIT in any place in your app ?
If so, please remove it
Are you using QUIT in any place in your app ?
If so, please remove it
- Antonio Linares
- Site Admin
- Posts: 42595
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 38 times
- Been thanked: 86 times
- Contact:
Re: Exit Error : 13.04 OLE
Tim,
Please modify my code this way:
Please modify my code this way:
Code: Select all | Expand
function OleInvoke( hObj, cMethod, uParam )
#ifndef __XHARBOUR__
return __ObjSendMsg( TOleAuto():New( hObj ), cMethod, uParam )
#else
local aParams := hb_aParams()
local u
aParams[ 1 ] = TOleAuto():New( hObj )
u = hb_execFromArray( @__ObjSendMsg(), aParams )
aParams[ 1 ] = nil
return u
#endif
return NIL
function OleSetProperty( hObj, cPropName, uValue )
local o := TOleAuto():New( hObj )
local u := __ObjSendMsg( o, "_" + cPropName, uValue )
o = nil
return u
function OleGetProperty( hObj, cPropName )
local o := TOleAuto():New( hObj )
local u := __ObjSendMsg( o, cPropName )
o = nil
return u
- TimStone
- Posts: 2956
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: Exit Error : 13.04 OLE
Antonio,
I've done all of that and I've gone through and removed several programs and a couple of libraries. All of this has so far been unsuccessful.
I'm now going to build a standalone program. I actually have one but it has some issues so I need to update it. This way I can see if perhaps I have another library that I'm using which may be contributing to the problem.
I'll post the results tomorrow after I have it running.
Thanks for all the suggestions. I would really love to just use the MSVC version but there are still issues I have to check and resolve.
Tim
I've done all of that and I've gone through and removed several programs and a couple of libraries. All of this has so far been unsuccessful.
I'm now going to build a standalone program. I actually have one but it has some issues so I need to update it. This way I can see if perhaps I have another library that I'm using which may be contributing to the problem.
I'll post the results tomorrow after I have it running.
Thanks for all the suggestions. I would really love to just use the MSVC version but there are still issues I have to check and resolve.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: Exit Error : 13.04 OLE
Tim
I am puzzled why you need to use all these functions for OLE
I do not use any of these and the last problem got fixed today by including
function hb_gcall()
return nil
to release properly the ole objects used, in the method endplan you should add :
::oCalexStdDlgs := nil
::oGlbSettings := nil
Hth
Richard
I am puzzled why you need to use all these functions for OLE
I do not use any of these and the last problem got fixed today by including
function hb_gcall()
return nil
to release properly the ole objects used, in the method endplan you should add :
::oCalexStdDlgs := nil
::oGlbSettings := nil
Hth
Richard
- Antonio Linares
- Site Admin
- Posts: 42595
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 38 times
- Been thanked: 86 times
- Contact:
Re: Exit Error : 13.04 OLE
Richard,
The above function was just to confirm where the GPF comes from. It is crashing on hb_gcAll() and that is weird as hb_gcAll() invokes the garbage collector. In other words: it is not crashing as we have located where it crashes but we have not fixed it yet.
And what is very strange, hb_gcAll() has conflict (somehow) with GdiPlus:
0x746C0000 0x00190000 C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16385_none_72fc7cbf861225ca\GdiPlus.dll
Called from HB_GCALL(0)
Called from TDIALOG:END(513) in .\source\classes\DIALOG.PRG
The above function was just to confirm where the GPF comes from. It is crashing on hb_gcAll() and that is weird as hb_gcAll() invokes the garbage collector. In other words: it is not crashing as we have located where it crashes but we have not fixed it yet.
And what is very strange, hb_gcAll() has conflict (somehow) with GdiPlus:
0x746C0000 0x00190000 C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16385_none_72fc7cbf861225ca\GdiPlus.dll
Called from HB_GCALL(0)
Called from TDIALOG:END(513) in .\source\classes\DIALOG.PRG
- Antonio Linares
- Site Admin
- Posts: 42595
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 38 times
- Been thanked: 86 times
- Contact:
Re: Exit Error : 13.04 OLE
And the problem ocurrs when the CodeJock ActiveX is used. Still not know why it happens, and again I repeat the same: we don't have the source code for the ActiveX so when errors like this happen, it is not easy to fix it. We just can modify our code until it does not fail.
- Antonio Linares
- Site Admin
- Posts: 42595
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 38 times
- Been thanked: 86 times
- Contact:
Re: Exit Error : 13.04 OLE
Thinking about it, we could build Harbour with HB_FM_STD_ALLOC and see if that makes a difference. It did it on WinRT.