De-compile DLL file to source code

Hi Experts.

I have a problem like this: i have a DLL file without source code from the previous programmer who build our business system.

How can I de-compile this DLL file to source code, I have use dotPeek and get the defined variables, but the function is unable to de-compile with the message:

// ISSUE: unable to decompile the method.

Is there anyway to solve this problem?

Thanks for reading this.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
"Decompiling" gives you maybe a working source, you still need to rewrite it (building the solution structure, unit tests, correct naming, documentation). So it will be a lot of work.. I would ask the previous developer, where the source is located. Otherwise, do a clean (green field) rewrite.
Dr. KlahnPrincipal Software EngineerCommented:
The success of decompilation depends quite a bit on how much debugging and trace support was left in the DLL, and what level of code optimization was applied.

If the original author was competent, as much debug and trace support as possible would have been removed in favor of quicker executing code, and a high level of code optimization would have been applied.  That is the nature of a DLL; it should be well debugged first, then compiled to execute as fast as possible.  The resulting code could prove very difficult to decompile intelligibly.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ldvhaiAuthor Commented:
Thank you for all the help!

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.