October 14, 2002
not sure where the problem is, make sure you are saving the files as plain ascii text?  if that won't work at all you can link in the imports in the .def file for your app and ignore the missing lib files... this works for me but it's easier to fix up the shell32 and winspool libs

save the build32.def file below and try it that way maybe..

compile&link with:
c:\dm\bin\sc.exe -L/ENTRY:WinMainCRTStartup,build32.def yourfile.cpp

--cut here--
NAME         BUILD32
DESCRIPTION  'MFC Win32 Application'
EXETYPE      NT
SUBSYSTEM    WINDOWS,4.0
VERSION      4.0
IMPORTS
_OpenPrinterA@12=winspool.OpenPrinterA
_DocumentPropertiesA@24=winspool.DocumentPropertiesA
_ClosePrinter@4=winspool.ClosePrinter
_DragQueryFileA@16=shell32.DragQueryFileA
_DragAcceptFiles@8=shell32.DragAcceptFiles
_DragFinish@4=shell32.DragFinish
_SHGetFileInfoA@20=shell32.SHGetFileInfoA
_ExtractIconA@12=shell32.ExtractIconA
--cut--

In article <aoffqp$192f$1@digitaldaemon.com>, James Kirkham says...
>
>All I need to compile now are winspool.lib and shell32.lib (I got the nafxcw.lib like you said) can you work out why implib gives that error on my winxp machine?  I am so close.....



October 15, 2002
When I use the implib tool its says it is using the borland v5 version implib.  I have this compiler installed and was wondering if this is the right varient of implib to be using, are there any others (i.e. one that comes with dmc?).  I will try your other suggestion though. Thanks for all your support bw and jan!

"bw" <bw_member@pathlink.com> wrote in message news:aofhrq$1b6l$1@digitaldaemon.com...
> not sure where the problem is, make sure you are saving the files as plain
ascii
> text?  if that won't work at all you can link in the imports in the .def
file
> for your app and ignore the missing lib files... this works for me but
it's
> easier to fix up the shell32 and winspool libs
>
> save the build32.def file below and try it that way maybe..
>
> compile&link with:
> c:\dm\bin\sc.exe -L/ENTRY:WinMainCRTStartup,build32.def yourfile.cpp
>
> --cut here--
> NAME         BUILD32
> DESCRIPTION  'MFC Win32 Application'
> EXETYPE      NT
> SUBSYSTEM    WINDOWS,4.0
> VERSION      4.0
> IMPORTS
> _OpenPrinterA@12=winspool.OpenPrinterA
> _DocumentPropertiesA@24=winspool.DocumentPropertiesA
> _ClosePrinter@4=winspool.ClosePrinter
> _DragQueryFileA@16=shell32.DragQueryFileA
> _DragAcceptFiles@8=shell32.DragAcceptFiles
> _DragFinish@4=shell32.DragFinish
> _SHGetFileInfoA@20=shell32.SHGetFileInfoA
> _ExtractIconA@12=shell32.ExtractIconA
> --cut--
>
> In article <aoffqp$192f$1@digitaldaemon.com>, James Kirkham says...
> >
> >All I need to compile now are winspool.lib and shell32.lib (I got the nafxcw.lib like you said) can you work out why implib gives that error on
my
> >winxp machine?  I am so close.....
>
>
>


October 15, 2002
I tried the other idea but when I try and run the app it says it cannot fin winspool/shell32.dll.  I it not possiblt to just send me the lib files for these?  I would buy the cd but I only 15 and cant afford to right now.

"James Kirkham" <JamesKirkham1@hotmail.com> wrote in message news:aoh0hh$2p3l$1@digitaldaemon.com...
> When I use the implib tool its says it is using the borland v5 version implib.  I have this compiler installed and was wondering if this is the right varient of implib to be using, are there any others (i.e. one that comes with dmc?).  I will try your other suggestion though. Thanks for all your support bw and jan!
>
> "bw" <bw_member@pathlink.com> wrote in message news:aofhrq$1b6l$1@digitaldaemon.com...
> > not sure where the problem is, make sure you are saving the files as
plain
> ascii
> > text?  if that won't work at all you can link in the imports in the .def
> file
> > for your app and ignore the missing lib files... this works for me but
> it's
> > easier to fix up the shell32 and winspool libs
> >
> > save the build32.def file below and try it that way maybe..
> >
> > compile&link with:
> > c:\dm\bin\sc.exe -L/ENTRY:WinMainCRTStartup,build32.def yourfile.cpp
> >
> > --cut here--
> > NAME         BUILD32
> > DESCRIPTION  'MFC Win32 Application'
> > EXETYPE      NT
> > SUBSYSTEM    WINDOWS,4.0
> > VERSION      4.0
> > IMPORTS
> > _OpenPrinterA@12=winspool.OpenPrinterA
> > _DocumentPropertiesA@24=winspool.DocumentPropertiesA
> > _ClosePrinter@4=winspool.ClosePrinter
> > _DragQueryFileA@16=shell32.DragQueryFileA
> > _DragAcceptFiles@8=shell32.DragAcceptFiles
> > _DragFinish@4=shell32.DragFinish
> > _SHGetFileInfoA@20=shell32.SHGetFileInfoA
> > _ExtractIconA@12=shell32.ExtractIconA
> > --cut--
> >
> > In article <aoffqp$192f$1@digitaldaemon.com>, James Kirkham says...
> > >
> > >All I need to compile now are winspool.lib and shell32.lib (I got the nafxcw.lib like you said) can you work out why implib gives that error
on
> my
> > >winxp machine?  I am so close.....
> >
> >
> >
>
>


October 15, 2002
James Kirkham wrote:
> I tried the other idea but when I try and run the app it says it cannot fin
> winspool/shell32.dll.  I it not possiblt to just send me the lib files for
> these?  I would buy the cd but I only 15 and cant afford to right now.
>

Yes done in a private mail.

October 15, 2002
I have no idea how to extract the files from this .j file!  What should I do on my winxp machine to retrieve them?

<user@domain.invalid> wrote in message news:aoh4lo$2t20$1@digitaldaemon.com...
> James Kirkham wrote:
> > I tried the other idea but when I try and run the app it says it cannot
fin
> > winspool/shell32.dll.  I it not possiblt to just send me the lib files
for
> > these?  I would buy the cd but I only 15 and cant afford to right now.
> >
>
> Yes done in a private mail.
>


October 15, 2002
In article <aoh0hh$2p3l$1@digitaldaemon.com>, James Kirkham says...
>When I use the implib tool its says it is using the borland v5 version implib.  I have this compiler installed and was wondering if this is the right varient of implib to be using, are there any others (i.e. one that comes with dmc?).  I will try your other suggestion though. Thanks

yeah that makes sense i guess, borland's implib was running instead probably. though i kind of thought the .def commands were portable, so borland should make the libs.  not sure dmc optilink could read it?  but anyway you can get around all that for now by using the full path before any of the dmc tools, instead of using 'implib' use 'c:\dm\bin\implib' from the command line.  you can stick that path in front of the other tools too just to make sure, or if you notice a borland message when something runs.

good luck!  i wish i'd started programming mfc when i was 15 i might actually understand it by now, lmao

L8r,
bw


October 15, 2002
James Kirkham wrote:

> I have no idea how to extract the files from this .j file!  What should I do on my winxp machine to retrieve them?

http://www.arjsoftware.com/

October 15, 2002
There is no program in my dmc bin folder that is named implib, I am using version 8.30c.  Whats going on?

"bw" <bw_member@pathlink.com> wrote in message news:aoh6p6$2vee$1@digitaldaemon.com...
> In article <aoh0hh$2p3l$1@digitaldaemon.com>, James Kirkham says...
> >When I use the implib tool its says it is using the borland v5 version implib.  I have this compiler installed and was wondering if this is the right varient of implib to be using, are there any others (i.e. one that comes with dmc?).  I will try your other suggestion though. Thanks
>
> yeah that makes sense i guess, borland's implib was running instead
probably.
> though i kind of thought the .def commands were portable, so borland
should make
> the libs.  not sure dmc optilink could read it?  but anyway you can get
around
> all that for now by using the full path before any of the dmc tools,
instead of
> using 'implib' use 'c:\dm\bin\implib' from the command line.  you can
stick that
> path in front of the other tools too just to make sure, or if you notice a borland message when something runs.
>
> good luck!  i wish i'd started programming mfc when i was 15 i might
actually
> understand it by now, lmao
>
> L8r,
> bw
>
>


October 15, 2002
In article <aoh0qq$2pf1$1@digitaldaemon.com>, James Kirkham says...
>
>I tried the other idea but when I try and run the app it says it cannot fin winspool/shell32.dll.  I it not possiblt to just send me the lib files

wouldn't surprise me at all that microsoft would 'break' a bunch of older mfc apps by not including the winspool.drv and shell32.dll in WinXP, but are you positive they're nowhere on your system?


October 15, 2002
In article <aoh9hs$1bs$1@digitaldaemon.com>, James Kirkham says...
>
>There is no program in my dmc bin folder that is named implib, I am using version 8.30c.  Whats going on?

probably in the 'other tools' download... you'll probably need it eventually anyway i think there's a few other treats in there too.