working with a 3rd party dll file in vista

  • Thread starter Thread starter Aussie Rules
  • Start date Start date
A

Aussie Rules

Hi,

I am trying to use a dll provided by a third party. they assure me that it
works fine on XP, so I would assume(perhaps a silly assumption) that it
would work in Vista.

So my vb.net code needs to call the DLL, and I have not really done this
before.

Do I have to regsrvr32 the dll or just add it as a reference to my vb.net
project so that I can access it?
 
Hi,

I am trying to use a dll provided by a third party. they assure me that it
works fine on XP, so I would assume(perhaps a silly assumption) that it
would work in Vista.

So my vb.net code needs to call the DLL, and I have not really done this
before.

Do I have to regsrvr32 the dll or just add it as a reference to my vb.net
project so that I can access it?
 
You do need to register it if the dll is a COM dll. If the dll is a
"standard" dll, then you do not have to register it -- and, if it is a .NET
dll (.NET assembly), then you do not have to register it. So... The answer
is, maybe/it depends.

And, in general, you should be able to use it in Vista, if you can use it in
XP. The only limitation might be that you should target only x32 when you
build. All, AFAIK, based on what you have and haven't said.

Dick

--
Richard Grier (Microsoft MVP - Visual Basic) Hard & Software 12962 West
Louisiana Avenue Lakewood, CO 80228 303-986-2179 (voice) Homepage:
www.hardandsoftware.net Author of Visual Basic Programmer's Guide to Serial
Communications, 4th Edition ISBN 1-890422-28-2 (391 pages) published July
2004, Revised July 2006.
 
Back
Top