What are required changes from 32 to 64 bit assember for calling C++ classes in a dll
Posted: Fri Sep 08, 2023 11:43 am
Hi
I'm trying to modernize and extend
this nice (and working in 32 bit) prototype module for codejock components
viewtopic.php?p=401483&hilit=skinframework#p401483
I'm a complete newbie to assembler, so I'm fighting with it a bit
in this case in 32 bit the instruction is MOV ECX, (Pointerto C++ class in a dll)
this causes assembler error about quad size mismatch
In 64 bit I would assume it should change to MOV RCX...
how should a function call look like for this situation?
Is there an easier way to call objects in C++ libraries from PB, just as there is an easy way to call C functions via prototypes?
I'm trying to modernize and extend
this nice (and working in 32 bit) prototype module for codejock components
viewtopic.php?p=401483&hilit=skinframework#p401483
I'm a complete newbie to assembler, so I'm fighting with it a bit
in this case in 32 bit the instruction is MOV ECX, (Pointerto C++ class in a dll)
this causes assembler error about quad size mismatch
In 64 bit I would assume it should change to MOV RCX...
how should a function call look like for this situation?
Is there an easier way to call objects in C++ libraries from PB, just as there is an easy way to call C functions via prototypes?