 |
viklele Level: Big Cheese
 Registered: 16-10-2002 Posts: 25
|
Re: Help me please
Using "depends" utility that ships with Visual studio, you will be able to get the names of the functions, subs etc, but this will not get you any info regarding parameters.
If the DLL is an activeX DLL, you will be able to get a lot more info using VB's object browser.
BTW, what is this DLL that you want to "discover" ? I hope you have acertained that you are legally allowed to use it ? If yes, then the originator of DLL should be able to provide you the documentation.
- Vikram
____________________________
------------------------------------------
Components For Your Software Solutions
http://www.viklele.com
|
|
19-07-2003 at 08:14 AM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: How Can I Extract DLL Functions, Subs, Etc.?
You can get the list of functions and subs in dll with dependancy walker, program that is shipped with VB (usually you can find shortcut to it in Start - Programs - Microsoft Visual Studio 6.0 - Microsoft Visual Studio 6.0 Tools - Depends).
But, it will list only the names, not the parameters.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
07-05-2004 at 04:21 PM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: How Can I Extract DLL Functions, Subs, Etc.?
Nope, you cant. This file is part of visual basic run-time files, and essential for every vb application to work. And also, if it would be possible, it is not legal to take a part of some code that is protected and use it in your own dll.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
10-11-2004 at 10:28 AM |
|
|
sivadhas Level: Trainee
 Registered: 28-05-2005 Posts: 3
|
Re: How Can I Extract DLL Functions, Subs, Etc.?
The easy way to extract the activex dll is using Visual Basic Object Browser.
Is it useful to anybody!!!
Regards
M.Sivadhas
[Edited by sivadhas on 28-05-2005 at 05:16 PM GMT]
|
|
28-05-2005 at 12:11 PM |
|
|
Dil Level: Trainee
 Registered: 09-01-2006 Posts: 1
|
About .dll
Hai
As u said Iam able to open dll file using depends and view the dll functions but iam unable to see the syntax(prototype of the functions) .Can u tell me how to view the syntax of the functions/tell me how to use the unknown dll file for VB prog.
I will be happy with ur reply.
Thanking u
M.Dileep
|
|
09-01-2006 at 02:22 PM |
|
|
JLRodgers Level: Moderator
 Registered: 04-04-2002 Posts: 1616
|
Re: How Can I Extract DLL Functions, Subs, Etc.?
You can't. It will tell you what the name is... but that itself can be useless unless you happen to know what the procedure does to begin with. You can assume what the routine does... but the variable types that are passed to it are different based on what the programming language is that was used to write the dll.
If you received the DLL and have permissions to use the dll (and to redistribute it, since without that, the program isn't of use to anyone other than yourself), you can receive all the information on it's use from where it came. If the "unknown dll" is just some dll you found on the computer, unless it's an OS dll (user32.dll, kernel, etc) chances are you can't use it legally, or if you can use it, you can't redistribute it.
However... if you're still referring to the msvb60.dll file... Open VB... open a form... put on a control... double-click it... and congratulations, you're using the dll (basically). You can't strip out things, you don't make a reference to the file, you can't remove a reference from the file. It's always there. Which means that if you type something that's a function name in it (or the other runtime files), you'll automatically be prompted with what it takes as a parameter.
____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
|
|
09-01-2006 at 08:07 PM |
|
|
Alijsh Level: Trainee
 Registered: 09-08-2007 Posts: 1
|
Re: How Can I Extract DLL Functions, Subs, Etc.?
@Afshin_Zavar
Apart from object browser, I know this free application of Steve McMahon: ActiveX Documenter.
[Edited by Alijsh on 09-08-2007 at 04:54 AM GMT]
[Edited by Alijsh on 09-08-2007 at 04:56 AM GMT]
|
|
09-08-2007 at 04:53 AM |
|
|
|
|
 |
 |