How can I pass a variable to a function from a dll library??
I need a small example pls - just schematic
using Push and pop does not work!

Here's what I mean!

......
.data
xx dd 935

.code
........ load dll ....

invoke FunctionFromDll,xx
.......

Do I have to Import that function or to declare it as external one??
HOW can I solve this?

Thank You!
Posted on 2002-05-08 19:51:42 by robroy
If your using LoadLibrary to load the Dll then you'll need to use GetProcAddress to get the functions address
Posted on 2002-05-08 20:23:05 by Kudos

If your using LoadLibrary to load the Dll then you'll need to use GetProcAddress to get the functions address
And then PUSH the parameter and CALL the address.
Posted on 2002-05-08 23:12:09 by sluggy