Hi, You should not use speex_*_mode variables directly, as they are not exported from DLL, as you saw. Use speex_get_mode() function instead. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000