As I do for the Cstring Format command, I just passed the ID_XXXXXXXX constant...
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ehsan Akhgari > Sent: 29 September 2005 14:46 > To: [email protected] > Subject: Re: [msvc] COleDateTime::Format > > > Truckle, Andrew J wrote: > > According to MSDN I can pass a stringtable resource id as > the format > > string. But I get an error about abiguous overloaded > function call. I > > reverted to static text. > > > > Why did it not work? > > What was the type of the parameter you used? IIRC it expects > UINT for resource ID, and LPCTSTR for string. > > -- > Ehsan Akhgari > Farda Technology <http://www.farda-tech.com/> > > If flying is safe, why is an airport called a terminal? > > > _______________________________________________ > msvc mailing list > [email protected] > See > http://beginthread.com/mailman/listinfo/msvc_beginthread.com > for subscription changes, and list archive. > > > This message has been scanned for viruses by MailControl - > (see http://bluepages.wsatkins.co.uk/?4318150) > This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
