www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - WINSPOOL.LIB - ctrig.cpp

Hi Walter

It appears that the WINSPOOL.LIB shipped with DMC 8.47 appears to be broken.
When I attempted to run my app, it fell over at launch with Windows complaining
that it could not find WINSPOOL.DLL. 

This is not surprising because there isn't a WINSPOOL.DLL. There is a
WINSPOOL.EXE and WINSPOOL.DRV but no DLL!

I guess there is something funny about WINSPOOL.LIB such that it binds to some
other file. A quick peek in the old WINSPOOL.LIB suggests that the binding is to
WINSPOOL.DRV.

I tried re-making WINSPOOL.LIB from the MS import library, using the new
COFFIMPTOOL; that failed with the same effect. So I guess the file you are
shipping got made this way in the first place.

I have reverted to the previous version of WINSPOOL.LIB; all is well with that
but I guess you will want to look into this further. I'm guessing the converter
tool is assuming a DLL extension, rather than preserving whatever is given in
the input library.

On an unrelated point, could you update CTRIG.CPP in the build, as attached. The
original version has some of the functions commented out so my apps don't link.
I'm presuming this won't have any adverse affect on anyone else.

Best Regards
John
Mar 28 2006