Results 1 to 2 of 2

Thread: getting handle for windows by VB coding

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    8

    Exclamation

    I want to know what is the datatype to be used to get a handle for window.

    win32 api function have their own datatype.
    eg. SC_HANDLE,LPCSTR,TChar
    In general i want to know where or how can i get corresponding VB datatype and how to use that in VB coding in calling win32 api function.

    Thanx in advance.




  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    The datatype for a handle is Long in VB paralance. If you have API viewer, just copy the the required Api and it will automatically give you the converted datatypes. If you need more information on the corresponding datatypes, see http://www.vbapi.com .

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