NlsMsgGet and mixed char types

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


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":

   "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,

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

Mateusz Loskot

More information about the Fdo-internals mailing list