473,322 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Determining win32 dll dependency

A client requested that I send MSVCR71.DLL along with the rest of an application
as it wasn't present on his machine.

That is allowed as

http://msdn.microsoft.com/library/de..._libraries.asp

seems to explicitly allow for this.

I would like to automate my build script to include this file, but cannot think
of an automatic way to determine which of msvcr70/71.dlls .... are needed.
--
Robin Becker

Aug 15 '05 #1
2 2738
Robin Becker <ro***@reportlab.com> writes:
A client requested that I send MSVCR71.DLL along with the rest of an
application as it wasn't present on his machine.

That is allowed as

http://msdn.microsoft.com/library/de..._libraries.asp

seems to explicitly allow for this.
For a discussion about the rights (or not) to distribute msvcr71.dll you
could read the py2exe-users lists archive.
I would like to automate my build script to include this file, but
cannot think of an automatic way to determine which of msvcr70/71.dlls
.... are needed.


py2exe contains an extension module that determines binary dependencies:
from py2exe.py2exe_util import depends
impport pprint
pprint.pprint(depends(r"c:\windows\system32\notepa d.exe").keys()) ['C:\\WINDOWS\\system32\\USER32.dll',
'C:\\WINDOWS\\system32\\SHELL32.dll',
'C:\\WINDOWS\\system32\\comdlg32.dll',
'C:\\WINDOWS\\WinSxS\\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\\COMCTL32.dll',
'C:\\WINDOWS\\system32\\ADVAPI32.dll',
'C:\\WINDOWS\\system32\\msvcrt.dll',
'C:\\WINDOWS\\system32\\WINSPOOL.DRV',
'C:\\WINDOWS\\system32\\GDI32.dll',
'C:\\WINDOWS\\system32\\KERNEL32.dll']


Thomas
Aug 15 '05 #2
Thomas Heller wrote:
Robin Becker <ro***@reportlab.com> writes: ......
For a discussion about the rights (or not) to distribute msvcr71.dll you
could read the py2exe-users lists archive.


.....

thanks for the tip, I believe there was a discussion on clpy recently as well
I would like to automate my build script to include this file, but
cannot think of an automatic way to determine which of msvcr70/71.dlls
.... are needed.

py2exe contains an extension module that determines binary dependencies:

...... thanks for this as well. It seems to work fine.
--
Robin Becker

Aug 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Hans-Joachim Widmaier | last post by:
Over the last days I desperately tried to install Python 2.3.4 and the Win32 extensions on a Win 95 box (actually more than 1, but my futile trying was done on just one). Since the 201 version...
5
by: Dan | last post by:
Okay...one last question. I've pretty much spent the weekend reading up on .Net, Soap, web services and enough three letter acronyms to feed the world alphabet soup. Is it a fair and mostly...
1
by: A. Dude | last post by:
This may be a stupid question, but if I create a Win32 project using VC++ 7.x, will it build the same as VC++ 6 or will it be a .Net app?
8
by: Tony Johansson | last post by:
Hello! I just wonder what the difference is between a native win32-app and MFC. What I know is that you can use Win32 API in both cases. I think an MFC application is connected with a GUI...
7
by: Boris | last post by:
I have a mixed DLL (a managed DLL in C++ calling functions in other unmanaged DLLs) which I can build successfully in Visual Studio 2005 but can't reference as I get then immediately the error: ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.