NlsMsgGet and mixed char types

Mateusz Loskot mateusz at loskot.net
Tue Dec 12 18:23:38 EST 2006


Hi,

Can char with wide-char params be mixed when passed to NlsMsgGet4?
In FdoSmPhMySqlView::GetRootNameSql(), the message is of char* typem
but the last string is L"MySQL":

NlsMsgGet4(FDORDBMS_148,
   "Cannot create view on %1$ls.%2$ls.%3$ls; %4$ls Provider does not
   support views on objects on other database servers.",
   (FdoString*) rootDatabase,
   (FdoString*) rootOwner,
   (FdoString*) rootObject,
   L"MySQL")

Is there any magic in NlsMsgGet which can format string of
mixed char-length?

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net




More information about the Fdo-internals mailing list