loveuajay
asked on
edit dll in visual studio 2008
How to edit and change code in dll file using vs 2008.
and how use it in vs2008.
and how use it in vs2008.
ASKER
how find which dll is
Definitely this is not going well...
There are three type of dll's com dll, .net dll, win32 which type of dll you are referring here.
You must check the PE Header of these files. All DLL and executables, Win32 and .NET, have a PE header.
An In-Depth Look into the Win32 Portable Executable File Format
The .NET File Format
Portable Executable
and let us know which is the dll type then we can suggest how to open it.
You must check the PE Header of these files. All DLL and executables, Win32 and .NET, have a PE header.
An In-Depth Look into the Win32 Portable Executable File Format
The .NET File Format
Portable Executable
and let us know which is the dll type then we can suggest how to open it.
editing a dll is not possible without it's source code, you need to recompile the dll with it's source code using visual studio.
ASKER
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To your question, "How to edit and change code in dll file using vs 2008.", as stated by naman_goel earlier in this thread unless you have the source code for the ell you wish to modify you will not be able to modify it.
To your question, "and how use it in vs2008", now once you have the source code and modified it, you need to follow the correct steps in using it in your .Net program. For example if it is com, C++ or .Net dll all have different step.
Most important question, Do you have the source code?
To your question, "and how use it in vs2008", now once you have the source code and modified it, you need to follow the correct steps in using it in your .Net program. For example if it is com, C++ or .Net dll all have different step.
Most important question, Do you have the source code?
your dll is .net dll, please see the output from coflags
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>corflags C:\Users\Viaan\D
esktop\[Megafileupload]Lic enseUtilit y.dll
Microsoft (R) .NET Framework CorFlags Conversion Tool. Version 4.0.30319.17929
Copyright (c) Microsoft Corporation. All rights reserved.
Version : v2.0.50727
CLR Header: 2.5
PE : PE32
CorFlags : 0x3
ILONLY : 1
32BITREQ : 1
32BITPREF : 0
Signed : 0
so again you need source code to edit the dll, you can check the source code by using some de-compiler tool line .net reflector.
http://www.red-gate.com/products/dotnet-development/reflector/
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>corflags C:\Users\Viaan\D
esktop\[Megafileupload]Lic
Microsoft (R) .NET Framework CorFlags Conversion Tool. Version 4.0.30319.17929
Copyright (c) Microsoft Corporation. All rights reserved.
Version : v2.0.50727
CLR Header: 2.5
PE : PE32
CorFlags : 0x3
ILONLY : 1
32BITREQ : 1
32BITPREF : 0
Signed : 0
so again you need source code to edit the dll, you can check the source code by using some de-compiler tool line .net reflector.
http://www.red-gate.com/products/dotnet-development/reflector/
ASKER
thanks
Please give us more details if you want help from us...
Merry Xmas!