QUOTE (Gabriel @ Jan 14 2004, 03:02 PM)
QUOTE
I've recompiled the ACM and I believe that it is now OK
If you identify what was the problem, please mention it.
I basically removed the limited machine specific optimisations and also removed the optimisations that Dibrom used for 3.90.2.
QUOTE (Gabriel @ Jan 14 2004, 03:02 PM)
QUOTE
How did you manage to compile under MSVC6, all I get is errors in ACM.cpp?
I did nothing special:
*open lame_vc6.dsw
*select the ACM as active project
*compile
My VC6 is patched with sp5, and I am using the msacmdrv.h provided with Lame as I do not have any DDK.
The following error messages are the output I get from VC6 + SP5:
QUOTE
E:\lame-3.95.1\ACM\ACM.cpp(523) : error C2664: 'GetMP3FormatForIndex' : cannot convert parameter 3 from 'char [128]' to 'unsigned short []'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\lame-3.95.1\ACM\ACM.cpp(540) : error C2664: 'GetPCMFormatForIndex' : cannot convert parameter 3 from 'char [128]' to 'unsigned short []'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\lame-3.95.1\ACM\ACM.cpp(656) : error C2664: 'lstrcpyW' : cannot convert parameter 1 from 'char [48]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\lame-3.95.1\ACM\ACM.cpp(700) : error C2664: 'lstrcpyW' : cannot convert parameter 1 from 'char [32]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\lame-3.95.1\ACM\ACM.cpp(703) : error C2664: 'MultiByteToWideChar' : cannot convert parameter 5 from 'char [128]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\lame-3.95.1\ACM\ACM.cpp(704) : error C2664: 'MultiByteToWideChar' : cannot convert parameter 5 from 'char [128]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\lame-3.95.1\ACM\ACM.cpp(705) : error C2664: 'lstrcpyW' : cannot convert parameter 1 from 'char [80]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\lame-3.95.1\ACM\ACM.cpp(706) : error C2664: 'lstrcpyW' : cannot convert parameter 1 from 'char [128]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\lame-3.95.1\ACM\ACM.cpp(708) : error C2664: 'lstrcpyW' : cannot convert parameter 1 from 'char [512]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
I am using the DDK, but I don't see that as the problem.