Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can't initialize dll under win32s...Please help

1 view
Skip to first unread message

Rich Johns

unread,
Aug 3, 1995, 3:00:00 AM8/3/95
to
32 bit exe is statically linked to 32 bit dll. When I launch exe, I get
an error from win32s that it can't initalize a dll. I'm using Borland
5.0 pre-release.

The program never comes up. This problem does not occurr under win95.

I have scrutinized every detail about how the exe and dll are built,
ie., compiler and linker flags, def files, etc., and can find no clues
to this problem.

flags for exe

link: /V4.0 /Tpe -c
compiler: -Pc -Od -w-pia -w-hid -RT -x -K -d -k- -r-
def file:
NAME FOOEXE
DESCRIPTION 'foo exe'
STUB 'stub.EXE'
EXETYPE WINDOWS
CODE MOVEABLE DISCARDABLE LOADONCALL
DATA MOVEABLE MULTIPLE PRELOAD
STACKSIZE 36000
EXPORTS

flags for dll

link: /V4.0 /Tpd /S:16000
compiler: -c -WDE -3 -Pc -Od -w -w-pia -w-hid -RT- -x- -K -G -f -d -r-
def file:
LIBRARY FOODLL
DESCRIPTION 'foo dll'
EXETYPE WINDOWS
SUBSYSTEM 4.0

I've also built a simple 32 bit app that statically links to the dll in
question and it initializes the dll just fine, so I'm leaning toward
believing it's not a problem with the dll.

In a phrase, I'm clueless. Does anyone out there have any idea why this
is happening? Or what I could do to find out?

To make matters worse, td32 won't run; it complains about not being
able to find tdsymtbl.dll and then promptly locks up my machine.
Reboot. I can't find the dll on either the 4.5 or 5.0 CD.

Anyway, I could use some help on this one. Thanks.

0 new messages