View Single Post
Re: Storing an array of function calls, and their params.....
Old
  (#5)
Lazy
Member
 
Lazy's Avatar
 
Status: Offline
Posts: 236
Join Date: Jan 2004
Location: Toronto, Ontario, Canada
Default Re: Storing an array of function calls, and their params..... - 16-05-2005

Actually, there might be a way to do this.
What you need to do is create a function on the fly that would push the different numbers onto the stack then call MyCoolFunc then set the function pointer to the newly created function.
All you really need to do that is the 386 datasheet ( I think thats the one ) for the instruction info then go and build your function byte by byte.
  
Reply With Quote