Can I know th list of dependency files through any api call?
Printable View
Can I know th list of dependency files through any api call?
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
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.
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 :rolleyes:
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.
Well you would look at the compiled exe and see what dlls its referencing. But I've no idea how to do that
Just got a link at PSC. i will look at it and respond later http://www.planetsourcecode.com/vb/s...31828&lngWId=1
As far as I can tell it just runs through the file and looks for references written in
Yes, more or less it does the same. Returned tonly MSVBVM60.dll for an exe created with VB6.