May 08, 2024, 09:07:00 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


CALL

Started by H.Brill, December 22, 2006, 10:45:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

H.Brill

hello,
i want call a function in memory, like CALL(functionsadress, param1....paramx).
is there a way in the API ? the callwindowproc - function only has 4 parameters,
but i need more.


Ionic Wind Support Team

Just use an indirect function.  You have to declare it first.

declare mymemfunc(a as int, b as float, c as word)

Then tell Emergence to call an address using that template.

!<mymemfunc>functionsaddress( 1, 2.2, 3)

You can use as many parameters as you want, I used three just for demonstration purposes.
Ionic Wind Support Team

H.Brill

thank you,
i will try it.