It's interesting that VC5 thinks it's doing MFC -- this sort of
thing happens because Microsoft's compiler and linker make all
sorts of assumptions based on what headers you include and
what files you link with. I will review the compiler options
and let you know what I find.
I will re-check the original download for that absolute reference
to nasm. You might want to check all configurations on that file.
c
On Fri, 3 Dec 1999, Mark B. Elrod wrote:
> hey chad,
>
> i'll change the program name to nasm. as for the msisasm.asm file i did not
> see a full path associated with it. it looked like all the others.
>
> the music browser weirdness is due to vc++ 5.0 thinking it is compiling a
> MFC app for some reason. without the casts it errorrs out and says it can't
> convert them. dumb. it does the same thing with DialogBox and CreateDialog
> calls. i wish i could figure out how to remove them bc i agree it sucks.
>
> the simple project is old. i have kept it around bc i might update it at
> some point. it should not even compile by default.
>
> elrod
>
>
> Chad Loder wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> >
> > Hello. I just downloaded the Win32 distribution for 2.0 beta 4. There
> > were several compile, link, and post-build errors, all of which have
> > trivial fixes.
> >
> > FYI, I am using Visual Studio 6 on Windows NT 4.
> >
> > NASM Release/Debug configuration
> >
> > xing project
> > 1) The custom build steps for the .asm files refer to nasm.exe
> > They should refer only to nasm because many nasm distributions
> > call this executable namsw.exe, and to reference it as nasm,
> > I created a batch file called NASM.BAT which contains only
> > a single line:
> >
> > @nasmw %*
> >
> > The %* syntax means "all arguments" on Windows NT. I am not
> > sure if it works on DOS/Win95.
> >
> > 2) The msisasm.asm custom build step refers to NASM by an
> > absolute path (something like C:\tools\nasm) - I assume this
> > reflects the original developer's configuration. It should
> > be changed simply to NASM like the other .asm files.
> >
> > musicbrowser project
> > 1) There were several compile errors related to casting
> > ScrollProc and TimerProc function pointers as if they returned
> > int (instead of void, which they actually do return, and which
> > Windows requires). I'm not sure I understand why they are being
> > cast this way, but removing the casts allowed it to build clean.
> >
> > simple project
> > This project had several errors at link time. It was not linking
> > with the following libraries -- adding these libraries to the
> > linker options solved the problem:
> >
> > Freeamp libs: gdbm.lib fabaselib.lib
> > Microsoft libs: version.lib wsock32.lib
> >
> > This just takes care of the build problems. Now let's see if it
> > actually runs. :)
> >
> > c
> >
> > - ----------------------------------------------------
> > | Chad Loder - Somerville, MA, USA |
> > | EMail: [EMAIL PROTECTED] |
> > | Home Page: http://www.ccs.neu.edu/home/cloder |
> > - ----------------------------------------------------
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: 2.6.2
> >
> > iQCVAwUBOEf6LU+oRrerFocZAQHCPwP/WoBGuQYRd+G+f4JL2qJ5jsV/RZXuHY2k
> > WQTQakGdV67Tet2lT/eDUl6bi/uAK/5XLrqaXPbPHE6DiXCIkfYMzHaXaoumMJnY
> > aU7+0+MhK5ZaGKy3pvf/dIrQlCJI/TpNMit+3PLbpzOhsSTZ9BFV5g/cmVrJlweB
> > P5QUnrEAqE8=
> > =0qRb
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > [EMAIL PROTECTED]
> > http://www.freeamp.org/mailman/listinfo/freeamp-dev
>
>
> _______________________________________________
> [EMAIL PROTECTED]
> http://www.freeamp.org/mailman/listinfo/freeamp-dev
>
----------------------------------------------------
| Chad Loder - Somerville, MA, USA |
| EMail: [EMAIL PROTECTED] |
| Home Page: http://www.ccs.neu.edu/home/cloder |
----------------------------------------------------
_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev