cbpporter Messages: 1401 Registered: September 2007
Ultimate Contributor
The problem is that when trying to pass your string as an argument ta a variable argument function the compiler has no means of knowing that you are trying to pass a C string. In such cases you must explicitly specify that you want to convert from String to C string. Try ~mes1, mes1.Begin() or casting to (char*).