Click to See Complete Forum and Search --> : Hpw to use GetProcAddress with ordinals


ravish
May 25th, 1999, 11:41 AM
Hi
How to use GetProcAddress() with ordinals.
I want to pass ordinal of 62, but i dont know how to do it. It has to be assigned with low order byte, and zere with high order byte.
I searced and searched all places but i could not find it.
can anyone please help me?

Paul McKenzie
May 25th, 1999, 01:56 PM
Use the MAKELONG macro:

MAKELONG(Ordinal,0)

Regards,

Paul McKenzie