CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    216

    Hpw to use GetProcAddress with ordinals

    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?



  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Hpw to use GetProcAddress with ordinals

    Use the MAKELONG macro:

    MAKELONG(Ordinal,0)

    Regards,

    Paul McKenzie


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured