B
BruceVx
Guest
I'm creating test applications as win32 console apps, they only require simple console I/O supported by C++ streams, so it's convenient to build them with ANSI character representation. They do use the multimedia library Winmm.lib, which I'm fully conversant with when developing larger, GUI applications that use wide characters.
However, I'm running into problems trying to use these Winmm functions in ANSI character based console projects. Functions such as midiOutGetDevCaps(..) and their associated structures seem to demand wide characters, despite the fact that the function documentation includes references to A and W variants. I get character type errors all over the place that nothing, including explicit casting, can resolve. Using type TCHAR also results in errors.
Is it simply a case of I have to configure my projects for wide characters, or do these functions support ANSI?
Thanks in advance for any advice.
bv
Continue reading...
However, I'm running into problems trying to use these Winmm functions in ANSI character based console projects. Functions such as midiOutGetDevCaps(..) and their associated structures seem to demand wide characters, despite the fact that the function documentation includes references to A and W variants. I get character type errors all over the place that nothing, including explicit casting, can resolve. Using type TCHAR also results in errors.
Is it simply a case of I have to configure my projects for wide characters, or do these functions support ANSI?
Thanks in advance for any advice.
bv
Continue reading...