SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-HELP Mailing List Archives

Return to [ 17 | February | 2006 ]

<< Previous Message << >> Next Message >>


Date: Fri, 17 Feb 2006 12:32:40 PST8
From: J R FOX <jr_fox@pacbell.net >
Reply-To: scoug-help@scoug.com
To: scoug-help@scoug.com
Subject: SCOUG-Help: How list required DLLs ?

Content Type: text/plain

--- Peter Skye wrote:

> > >What is the utility which lists an exe's dll
> requirements?

Yo, Skye --

Per your original request on this topic, I took a
quick look in some Utilities directories, and I found
the following (in addition to PMTREE and THESEUS),
ReadMe files herein excerpted, though I don't know if
any of these may be appropriate, and all except the
latter are quite old:

---------------------------------------------------

ExeDump 1.00, Copyright 1989 Claus Munk [72451,2262]
Usage: exedump [-xn] [-p] [-q] exefile
-p means that the display pauses for each screenfull
of data.
-q suppresses normal output (use together with -x)
-xn designates that the resources with type ID n
shall
be dumped to seperate files.
The following types are known at the moment:

ID Type FileExtension
1 CURSOR .CUR
2 BITMAP .BMP
3 ICON .ICO
4 MENU .MNU
5 DIALOG .DLG
6 STRING .STR
7 FONTDIR .DIR
8 FNT .FNT
9 ACCEL .ACC

--------------------------------------------------------------

RDB
Resource DLL Browser

As you may know there are possible to have resources
like icons, bitmaps,
pointers, menus etc. in a data-only .DLL that thereby
may be shared
between applications.

Although not yet widespread I believe that this is a
nice thing. Also, in
VACPP it is beginning to be more used (in the builder,
also check out ABTICONS.DLL)
and there are also smarties for it.

I wanted to be able to see the icons and bitmaps
inside such a DLL and
to find out the id's by which they are known. To my
knowledge there are
none available so, I made my own.

To, in some way, promote OS/2 programming I want to
share it with you guys.
So, here you have, it's free for the usage. Comments
are welcome at my adresses.

Internet: bjornp@e-mail.com
Compuserve: 73572,3022

As usual, I am not responsible for anything that
eventualy could
go wrong by using this program. If you use it, it's
your own risk.

Also, I have included some test source to create a
resource DLL.

To get at it inside a program You should do like:

if( (rc = DosLoadModule( NULL, 0, szModuleName,
&hModule))) {
return 0;
}
hptrIcon = WinLoadPointer( HWND_DESKTOP, hModule,
id);
// and for bitmaps.
hps = WinGetPS( hwnd);
hbm = GpiLoadBitmap( hps, hModule, someotherid, 0,
0);
WinReleasePS( hps);

DosFreeModule( module);

Hope you have use for it.

Best regards
Bjorn Pettersson

--------------------------------------------------------------

RESEX.ZIP

Title : Resource Extractor for OS/2 1.2
Keywords: OS2 LX EXE DLL RESOURCE ICON BITMAP DIALOG

Resource Extractor for OS/2 v. 1.2. RESEX utility
enables the user to
(1) show contents of module's Resource Table,
Resident Name Table,
Import Module Table; (2) extract Icons, Dialogs,
Menus and other resources
from .EXEs or .DLLs to reuse them in other
applications;
(3) add, modify or replace Dialogs, Icons, Menus
etc. in existing .EXEs or
.DLLs; (4) remove arbitrary resources from .EXE or
.DLL;
(5) add arbitrary data strings to .EXE or .DLL to
retrieve them later
as RT_RCDATA resource. Run RESEX without parameters
to display help.
New in 1.2: see parameters -S, -E and -R

---------------------------------------------------

All are likely to be available on Hobbes or Leo, or
else on Norloff.

Jordan

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".

For problems, contact the list owner at
"postmaster@scoug.com".

=====================================================


<< Previous Message << >> Next Message >>

Return to [ 17 | February | 2006 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.