|
-
Feb 19th, 2002, 04:45 AM
#1
Thread Starter
PowerPoster
Dependency through Api
Can I know th list of dependency files through any api call?
-
Feb 19th, 2002, 04:51 AM
#2
Retired VBF Adm1nistrator
I don't know off-hand if there is an easy way of doing it, but you could always just use the Depends utility that comes with Visual Studio
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 20th, 2002, 03:16 AM
#3
Thread Starter
PowerPoster
I know you can use the Depends utility, but I need to know it through my code. There must be a way through VB because P&D Wizard does it.
-
Feb 20th, 2002, 03:24 AM
#4
Retired VBF Adm1nistrator
The P&D wizard does it by looking at the source code
The list of required ocx's etc. (if any) are at the top of your .vbp file
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 20th, 2002, 03:32 AM
#5
Thread Starter
PowerPoster
Okay, so it chooses the easy way out. But then Installshield and others do have a way to know the dependencies. BTW, have you ever used the Dumpbin utility. It also provides you with a waay to know the dependencies.
-
Feb 20th, 2002, 03:35 AM
#6
Retired VBF Adm1nistrator
Well you would look at the compiled exe and see what dlls its referencing. But I've no idea how to do that
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 20th, 2002, 03:43 AM
#7
Thread Starter
PowerPoster
Just got a link at PSC. i will look at it and respond later http://www.planetsourcecode.com/vb/s...31828&lngWId=1
-
Feb 20th, 2002, 03:45 AM
#8
Retired VBF Adm1nistrator
As far as I can tell it just runs through the file and looks for references written in
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 20th, 2002, 03:51 AM
#9
Thread Starter
PowerPoster
Yes, more or less it does the same. Returned tonly MSVBVM60.dll for an exe created with VB6.
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
|