Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

edit dll in visual studio 2008

Posted on 2013-12-27
11
Medium Priority
?
683 Views
Last Modified: 2014-01-18
How to edit and change code in dll file using vs 2008.


and how use it in vs2008.
0
Comment
Question by:loveuajay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
11 Comments
 
LVL 25

Expert Comment

by:Luis Pérez
ID: 39741565
Your question is so unspecific. Where did you get that DLL? Do you have the source code? Is it a .Net compiled assembly or a C++ native DLL?

Please give us more details if you want help from us...

Merry Xmas!
0
 

Author Comment

by:loveuajay
ID: 39741633
how find which dll is
0
 
LVL 25

Expert Comment

by:Luis Pérez
ID: 39741746
Definitely this is not going well...
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Expert Comment

by:Naman Goel
ID: 39741756
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.
0
 
LVL 13

Expert Comment

by:Naman Goel
ID: 39741766
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.
0
 

Author Comment

by:loveuajay
ID: 39741792
this is link of my dll file

http://speedy.sh/gvgQd/LicenseUtility.dll
0
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 2000 total points
ID: 39741903
Your first link is reported as unsafe by my Anti-Virus software.

The second one links to a site that has a bad reputation as a launching point for malware and advertises pipes for all your drug smoking needs.

Not serious at all.

Any way, since all you have is the .dll file, there is nothing you can do to edit it. Is would be like asking "How to edit and change code in Microsoft Excel".

You cannot just change the code of a compiled file, executable or dll, because you do not have the source code.

So the answer to your question is : you can't.
0
 
LVL 64

Expert Comment

by:Fernando Soto
ID: 39741927
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?
0
 
LVL 13

Expert Comment

by:Naman Goel
ID: 39742108
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]LicenseUtility.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/
0
 

Author Closing Comment

by:loveuajay
ID: 39790575
thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question