/WINNT/System32/visa32.dll is the legacy DLL component of the VISA Library, which is the essential part of VISA API. Every VISA function that begins with viXXXX() is exported from the VISA32.DLL.
/VXIpnp/VisaCom/GlobMgr.dll is the additional VISA API engine - called VISA COM Global Resource Manager, which can be found in recent VISA versions. As for NI-VISA, VISA COM is included since VER 2.6.
Basically, VISA COM is a wrapper API for existing VISA32.DLL. Unlike VISA32.DLL that exported C-style handle-base function set, VISA COM exports COM interfaces such as IResourceManager, IVisaSession, IGpib, etc... The programming styles are much different, but you can use select whichever API you want depending on your preference or language-usability. Most of recent programming language is physically possible to use whichever, however, easiness is different depending on the language.
As for Visual Basic 6, VISA COM is much easier to program by adding a reference to GlobMgr.DLL. This is because the COM architecture and its API style is native to VB6. Instead of using VISA COM, VISA32.DLL API is also possible to use by adding VISA32.BAS in your project.
The benefit of VISA COM are:
1)each VISA session is now an object instance rather than ViSession handle
2)you can handle I/O errors by On Error Goto rather than checking ViStatus for each call
3)you don't have to pre-allocate string buffer before READ action
4)most of VISA attributes are now wrapped in property get/put action
.. and more.
Unfortunately NI-VISA does not provide any VISA COM API reference even if installing VER3.4.x, therefore the only assistance is VB6 Object Browser and Intellisense assist. However, Agilent (Agilent IO Libs) and Kikusui (KI-VISA) provide an online help file. I attached KI-VISA's VISA COM Help on this post, and it will help your VISA COM programming. The programming knowledge you can get from the Help can also be applied to NI-VISA.
Makoto
Kikusui Electronics Corp. / Yokohama, Japan
KiVisaCom.zip:
http://forums.ni.com/attachments/ni/140/16613/1/KiVisaCom.zip