unfortunately i cannnot get that code to compile clean under vc5 if i don't
include the cast. it is very frustrationg... we are moving to vc6 for 2.1 so
it will get cleaned up then.

elrod

Chad Loder wrote:

> Hello. I had the same problem in December. The source code needs to
> be fixed to remove the cast (elrod?).
>
> Please see:
>
> http://www.freeamp.org/pipermail/freeamp-dev/1999-December/000039.html
>
>         -chad
>
> On Tue, 22 Feb 2000, Ghislain Plante wrote:
>
> > When i build project, i receive theerror message C2664 visual C++ 6.0:
> >
> > C:\Temp\freeamp\ui\freeamp\src\FreeAmpTheme.cpp(1512) : error C2664:
> > 'DialogBoxParamA' : cannot convert parameter 4 from 'int (__stdcall
> > *)(void)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned
> > int,long)'
> >         This conversion requires a reinterpret_cast, a C-style cast or
> > function-style cast
> >
> > What is it the problem and how to make a correction for this problem?
> >
> > Excuse my enghish, i am a Canadan French!
> >
> > Thank you for your response.
> >
> > Ghislain Plante
> >
> > Send  the response to [EMAIL PROTECTED]
> >
> > _______________________________________________
> > [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

_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev

Reply via email to