I am just wondering if it is possible to open a .DLL file in visual C++ or Dev C++? not the source but the actual .DLL.
I am just wondering if it is possible to open a .DLL file in visual C++ or Dev C++? not the source but the actual .DLL.
well, you can look at it with the hex editor, but I don't know how much use that'd be too you.
What are you trying to achieve?
"I saw a sign that said 'Drink Canada Dry', so I started"
-- Brendan Behan
Free Compiler: Visual C++ 2005 Express
If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?
A DLL is compiled machine code, like an EXE file.
It is possible to 'open' a DLL in Visual C++. It will basically tell you what functions / resources are used by/in this resource. Can be pretty useful but many tools already do that for executable files.Originally Posted by Hugo716
ok ill try a hex editor thanks.
i just want to open some DLLs i have to see what they contain and how they r built and what some of them actualy do.
cheers.
unless you're a pretty l337 hax0r it won't mean a lot to you.Originally Posted by Hugo716
you might see some function names, but that won't really help you.
look on your machine for "depends.exe" (should be somewhere in your visual studio installation). If you open the dll with that it will at least tell you what functions it contains, if not what they actually do.
as for how dlls are built, generally you build them the same way you build any program, they are just linked differently.
"I saw a sign that said 'Drink Canada Dry', so I started"
-- Brendan Behan
Free Compiler: Visual C++ 2005 Express
If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?
A DLL usually contains only classes, structs and functions. It also provides (optional ?) a DllMain() function which has a few messages you can handle (process / thread load/unload).