[Live-devel] WindowsAudioInputDevice_noMixer.hh and unicode

Jeff Shanab jshanab at smartwire.com
Mon Nov 21 11:41:37 PST 2011


I updated to the newest version of live555 and the WindowsAudioInput folder was added.

In one of my projects I cannot build because I get the error :       error C2664: 'strncpy' : cannot convert parameter 2 from 'WCHAR [32]' to 'const char *'                 c:\Users\jshanab\archiver\src\common\RTSP\WindowsAudioInputDevice\WindowsAudioInputDevice_noMixer.cpp

Obviously UNICODE must be defined for WAVEINCAPS to be set for wide.  How do I get this to work with Unicode. I have seen suggestions online that I must use some MS specific function other than strncpy?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111121/634f74fb/attachment.html>


More information about the live-devel mailing list