Page 1 of 1

Posted: Sat Apr 12, 2003 8:17 pm
by BackupUser
Restored from previous forum. Originally posted by ebknoppert.


I need to call procedures by pointer, the parameters are fixed per procedure.

I see CallFunction() but it's for exported functions.
Can i make use of CallFunctionFast() ?

Obtaining procedure addresses will be @MyProc1() right?
I still have the demo (waiting.... :) ) , does not allow this.

Posted: Sat Apr 12, 2003 8:40 pm
by BackupUser
Restored from previous forum. Originally posted by GPI.

this should work:

Code: Select all

procedure test(a,b,c)
  debug a,b,c
  procedurereturn a+b+c
endprocedure

*proc=@test()
debug callfunctionfast(*proc,1,2,3)
PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB