PDA

Click to See Complete Forum and Search --> : VB and Win32 API


rino_2
Dec 10th, 1999, 03:15 AM
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.

Ruchi
Dec 10th, 1999, 03:48 AM
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

Yonatan
Dec 10th, 1999, 06:01 AM
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 (http://www.icq.com/19552879)
AIM: RYoni69

chrisjk
Dec 10th, 1999, 11:08 AM
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 :)

chrisjk
Dec 11th, 1999, 04:10 AM
Thanks guys, that's cleared that up.

Regards,

Chris