Il 06/10/2024 21:40, Enrico Maria Giordano ha scritto:

Somebody can help me to fix this problem in the function:

void hb_clsFinalize( PHB_ITEM pObject )

from source\vm\classes.c? It crashes only in Win64 (in Win32 it's ok). This is the relevant code:

hb_vmPushSymbol( pDestructor );
hb_vmPush( pObject ); /* Do NOT Forward!!! */
hb_vmSend( 0 ); <-- IT CRASHES HERE!!!

I dig down further. The crash is in the function

void hb_vmSend( USHORT uiParams )

that is in source\vm\hvm.c at the line 7416:

if( pFuncSym->scope.value & HB_FS_PCODEFUNC )
   /* Running pCode dynamic function from .HRB */
hb_vmExecute( ( ( PHB_PCODEFUNC ) pFunc )->pCode, ( ( PHB_PCODEFUNC ) pFunc )->pSymbols );
else
   pFunc(); <-- IT CRASHES HERE!!!

Please help!

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg



_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to