|
-
Oct 15th, 2004, 01:53 AM
#1
dllImport... how do you figure out the function names
I wanna use a c++ dll with dllImport and I dont really know what functions there are in the dll
Is there a tool that would let me to list the function names in a dll?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Oct 15th, 2004, 02:26 AM
#2
I don't think so. You'd need the documentation for that DLL. Now, if it were a .NET DLL, you could use System.Reflection.
-
Oct 15th, 2004, 04:01 PM
#3
tricky bastards! so there is no way to get a list of the functions? this is indeed very suspicous. are they afraid of intellectual theft?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Oct 15th, 2004, 04:40 PM
#4
You can get the method names using the dependency walker, but you can't get the params.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Oct 15th, 2004, 04:45 PM
#5
Frenzied Member
You can also use the dumpbin utility shipped with VS.
-
Oct 15th, 2004, 08:21 PM
#6
Originally posted by Mike Hildner
You can also use the dumpbin utility shipped with VS.
hmm what's dumpbin? I dont think I have it installed. is it under the c++ tools?
uuh there should be a possible way to brute force it for paramters too ha?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Oct 15th, 2004, 09:01 PM
#7
Originally posted by MrPolite
uuh there should be a possible way to brute force it for paramters too ha?
Nope. The format was designed with that in mind. Its not possible.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Oct 16th, 2004, 11:41 AM
#8
Frenzied Member
My installation has dumpbin.exe in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin. I have VS Enterprise Architect and have installed VC++, not really sure if it's part of that install or what. When I goto Start\All Programs\Microsoft VS 2003 .NET\Visual Studio .NET Tools\VS Command Prompt, that folder is in the %PATH%, so you can navigate to ...\System32 or whatever and run it.
-
Oct 16th, 2004, 11:55 AM
#9
Frenzied Member
FWIW, I was googling to see if it's possible to figure out the arguments to a dll. Apparently, for "native" windows dlls, what gets encoded is the number of bytes for the arguments, but you can't tell what type of arg is expected. One post suggested "The way to go
here is to disassemble the dll and check what the function actually is
doing."
Best of luck,
Mike
-
Oct 17th, 2004, 01:53 AM
#10
hmm interesting. thank you
reverse engineering is always cool (ofcourse I dont have the knowledge for it haha)
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Oct 17th, 2004, 06:39 PM
#11
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|