Results 1 to 5 of 5

Thread: VB and Win32 API

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Leeds, UK
    Posts
    287

    Post

    I'm no expert and I might be wrong but I would say it is possible because Win32 API is a part of Windows98 but I'm not too sure about Windows95.

  2. #2
    Member
    Join Date
    Dec 1999
    Posts
    37

    Post

    I have learned Win 16 API and Win 32 API from the classes.

    The API functions used for 3.1 uses a 16 Bit API. Windows 95 and Windows NT use a 32 bit API. At present there are four different flavors of the Windows API. These are :
    Win 16 - Windows 3.1
    Win 32 - Windows NT
    Win 32 c - Windows 95
    Win 32 s - Windows for WorkGroups.

    In additional many new features are being constantly added to the Win API's.

    That's all I can know of.


    ------------------
    Ruchi
    Graduate Student
    ruchivb@yahoo.com

  3. #3
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Post

    It doesn't depend on the version of VB you're using, it depends on the operating system. DOS (8-bit) can't use any APIs, Windows 3.X can only use the Win16 APIs (Shell.DLL, User.DLL, GDI.DLL, Kernel.DLL etc.) and Windows 95/98 can use both Win16 APIs and Win32 APIs (Shell32.DLL, User32.DLL, GDI32.DLL, Kernel32.DLL, etc.).

    There is an add-on to Windows 3.11 called Win32 Support which lets you use (slightly modified versions of) the Win32 APIs on this operating system.

    Since the version of VB doesn't matter, VB4 (or even VB1 for this matter) can use the Win32 APIs, as long as it's installed on a machine running Windows 95/98.

    P.S.
    I don't know which NT versions use which APIs...


    ------------------
    Yonatan
    Teenage Programmer
    E-Mail: RZvika@netvision.net.il
    ICQ: 19552879
    AIM: RYoni69

  4. #4
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    Hello all,

    Is it true that 16-bit versions of VB e.g. 4(non 32-bit ver) or below cannot access Win32 API if running on Win95/98?

    Thanks in advance

    Regards,

    ------------------
    - Chris
    chris.kilhams@btinternet.com
    If it ain't broke - don't fix it

  5. #5
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    Thanks guys, that's cleared that up.

    Regards,

    Chris

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