The MASM Forum

General => The Campus => Topic started by: K_F on October 11, 2015, 10:22:24 PM

Title: Calling an EXEs export functions
Post by: K_F on October 11, 2015, 10:22:24 PM
Toying around with making a mod for Orbiter (http://orbit.medphys.ucl.ac.uk/ (http://orbit.medphys.ucl.ac.uk/)).. where the SDK gives you H and Lib files, to use.

These exports are from the EXE file itself, so I'd imagine that it's static linking instead of dynamic DLL type linking.
I haven't done this before.. but can one use the ordinals of the exports from the PE header instead .

I vaguely remember seeing this somewhere, but think is was on a DLL file and not an EXE - hence the question Can it be done dynamically on an EXE.

The Orbiter sim is written in C++, and my mod is in Asm (obviously  8) )
:t
Title: Re: Calling an EXEs export functions
Post by: K_F on October 12, 2015, 03:23:52 AM
Hah! got it.. it's the same story as calling a DLLs export function
:biggrin:
Title: Re: Calling an EXEs export functions
Post by: Farabi on October 17, 2015, 03:48:01 PM
Why not tried out multiple round body interact in space? Should be a good physic engine. Somehow, Im looking for a protein simulator.  :icon_mrgreen:
Title: Re: Calling an EXEs export functions
Post by: K_F on October 20, 2015, 09:21:39 AM
I think we're on different ideas... could be the same thing though  :biggrin:

You mentioned this idea sometime ago....  http://masm32.com/board/index.php?topic=4711.0 (http://masm32.com/board/index.php?topic=4711.0)