Reply to topic
DLL Viewer
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
When you guys need to view what functions etc are in a DLL what program do you use? There's got to be some good ones out there...
jamie
HostMySite Sales Rep
HostMySite Sales Rep

Joined: 19 Mar 2004
Posts: 766
Location: Newark, De
Reply with quote
We don't actually do so - our component reviews are based on the information available from the vendor's site and whether or not it's a reputable source, and of course what the component does.
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1029
Location: Felton, Delaware
Reply with quote
I know that there's one out there called Reflector that works pretty well for .NET Dll's...
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
I've seen the one for the .NET assemblies, but I have a COM+ dll done in VB6 that I'd like to take a look at...

What I am running into is I am trying to make a change to the DLL and when I put it into production I am getting errors and I think it has to do with all the DLL He|| stuff like CLSID & GUID etc that get recalculated on recompile. I've turned on binary compatability and it won't even compile so I think there is a typelib that I am not getting...I hate hate hate VB...


Gimme C# any day of hte week and twice on Sundays...
cpnet


Joined: 03 Nov 2004
Posts: 135
Reply with quote
Could you use one of the TypeLib import tools on your .dll (there's one in most IDE's)?
Atran


Joined: 19 Apr 2007
Posts: 2
Reply with quote
Maby, I find a way but i am not sure, you must have a program called (FileSee), so download it.
If you are beginer to programming..... Maby it is be hard to you.
And in this program, you cannot edit any DLL File, you can read it, if you want you can copy the text viewer (DLL will viewing at text type or hex type) at Arrow hex type, and copy it on a hex editor program (Like: Macromedia Dreamweaver 8, UE Studio.......), and when you save it, save it at .dll type like (myFileName.dll, or myfilename.exe, or myfilename.doc........ and click save).
Atran


Joined: 19 Apr 2007
Posts: 2
Reply with quote
C#, C++, J#, J++, VB, There are all in .Net.
All are same but J# and J++ have a little more for Math and C++ have a little advanced settings more.

If you want to know how to read a DLL, see:
In Visual C#, Create a New Console Application Project, and Click OK.
after that you see a new page comming with this code:

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
}
}
}

After that in the Solution Explorer Panel, you see your files projects.
in the panel first you see the solution icon, seconde you see under the solution icon, the project icon. Click Right Mouse Button at the project icon then choose Add>Class, after that Click Add.
You see in your panel has been created a new Class.
Enter the Class by double clicking on it from the panel.
After that you see in the Class this Code:

namespace ConsoleApplication1
{
class Class1
{
}
}

Let start Now in the Class write this code:

using System;

namespace ConsoleApplication1
{
public class Class1
{
public static string x()
{
return "Hello World!";
}
}
}

after you finish save the Class.
Now Double Click on the Program.cs from the Solution Explorer Panel.
And you see this Code:

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{

}
}
}

Now write to Program.cs this code:

using System;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string hunter = Class1.x();
Console.WriteLine("{0}", hunter);
Console.ReadKey();
}
}
}

and save all, and Start Debug, and See what is happen.
We finish now, but you see I write (Class1.x()) it is mean inside the Class1 is x.
and you see (Console.WriteLine("{0}", hunter)), {0} it is mean the object you will add to the console, the object we putted is hunter, and you can write Console.WriteLine("{0} Hello {1}", hunter, 5);
Before we finish in the Class Page Code you see we write public class Class1, and public static string x();. public means the x string will show in all the project, if you remove public, the program.cs cannot read the x from the Class1.

AND THE IMPORTATNT THAT IS WE TAKE FROM THE CLASS A PART OF IT IS x BUT NOT ALL, FOR TAKE ALL THERE IS NOWAY BECAUSE WHO MADE C WAS SMART AND BECAUSE IF WE WRITE: string hunter = Class1; IT IS BE ERROR OR WE WRITE: string hunter = Class1.ToString(); IT IS BE ERROR, SO WHO IS THE SMART TO SHOW ALL THE CODE OF THE CLASS.
if you do not understand, send me an message at: atran_atran@yahoo.com
for send you the example.
If you find a way, please post it.
Good Luck.
Bye.
DLL Viewer
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic