View Single Post
  #4  
Old 04-03-2018, 19:18
vic4key vic4key is offline
Family
 
Join Date: Apr 2010
Posts: 57
Rept. Given: 5
Rept. Rcvd 24 Times in 10 Posts
Thanks Given: 60
Thanks Rcvd at 95 Times in 22 Posts
vic4key Reputation: 24
I think the parameter number of arguments is better than 0xb33f. Ex. void* DynCall(void *ptr, int nargs, ...).
More, need checking for 32/64-bit and calling convention (32-bit can be __stdcall, __cdecl, ... 64-bit can be C-D-8-9 ordered registers, ...).
Reply With Quote
The Following 3 Users Say Thank You to vic4key For This Useful Post:
0xall0c (04-04-2018), Indigo (07-19-2019), niculaita (04-04-2018)