Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

You can open a dll in Visual Studio - it will show you an resources embedded inside (icons, pictures, etc.). Just use File->Open.

 

If this is a .NET dll and you want to see the code, open it in Reflector.

 

If this is a .NET dll and you want to use the libraries inside, simply add a reference to the DLL through Visual Studio (expand the project in the Solution Explorer and right click on References).

 

If this is a COM dll, you can add a reference to it like above (project references). Visual Studio will create a wrapper object for you, to use the COM object with .NET.

 

If this is a standard C-style dll, you're in trouble as you have to write the PInvoke code yourself to define the exposed functions and get all the datatypes right. If this is a standard DLL, then someone may be able to help. If it's some 3rd party DLL, you may be OOL.

 

If you want something else, you'll have to be more clear. Vagueness is the enemy!

 

-nerse

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...