From: Tom Serface on 12 Mar 2008 22:49 The only thing I don't like about C# is no #define macros. I miss that feature from C++. Tom "Ajay Kalra" <ajaykalra(a)yahoo.com> wrote in message news:1E8ACCDC-68B5-4C9F-9E56-5FB0EC54D2B8(a)microsoft.com... > > "Tom Serface" <tom.nospam(a)camaswood.com> wrote in message > news:B45FAA0F-4660-4D86-ACCA-B4226F8B5C7A(a)microsoft.com... >> Yeah, C# just always does Unicode. No _T() or TCHAR or L"" or anything. >> That is nice. > > No macros is good. No header files is better. > > --- > Ajay > >
From: Tom Serface on 12 Mar 2008 22:49 Yeah I know. Really the same object though. Tom "Ajay Kalra" <ajaykalra(a)yahoo.com> wrote in message news:A7C6D0BA-246F-4E2B-BEC1-CDF5A5A24FFB(a)microsoft.com... > > "Tom Serface" <tom.nospam(a)camaswood.com> wrote in message > news:5B9B2ADA-EA05-47F5-B710-7FBCB6BC40DD(a)microsoft.com... >> Yeah, just different names for the same thing :o) >> >> string and String > > One is in BCL other is in C#(VB?). > > --- > Ajay > > >
From: David Ching on 13 Mar 2008 00:09 "Giovanni Dicanio" <giovanni.dicanio(a)invalid.com> wrote in message news:espaHnChIHA.5368(a)TK2MSFTNGP04.phx.gbl... > >> There is an IDE setting in the General project page that you can set this >> in a combobox. No need to type any of these #defines anymore. > > If the OP is using VC6 (like I read in the first post), I think he must > use the #defines. > > This Mihai's blog entry can help: > > Visual Studio Unicode projects > http://www.mihai-nita.net/article.php?artID=20060723a > Yes, thanks for pointing that out. Yet another small but meaningful omission in VC6 that makes it non-optimal these days. -- David
From: David Ching on 13 Mar 2008 00:10 <Bob Moore> wrote in message news:qmcft3ln2hr6u6o7ijv7e4up2cb5qndh0c(a)4ax.com... >>There is an IDE setting in the General project page that you can set this >>in >>a combobox. No need to type any of these #defines anymore. > > I just went and looked. You mean Configuration Properties ~ General ~ > Character Set ? > > I didn't know that existed. Thanks for pointing this out. > You're welcome Bob. As Giovanni pointed out, Mihai explained it much better also. -- David
From: David Wilkinson on 13 Mar 2008 05:31
David Ching wrote: > "Giovanni Dicanio" <giovanni.dicanio(a)invalid.com> wrote in message > news:espaHnChIHA.5368(a)TK2MSFTNGP04.phx.gbl... >>> There is an IDE setting in the General project page that you can set this >>> in a combobox. No need to type any of these #defines anymore. >> If the OP is using VC6 (like I read in the first post), I think he must >> use the #defines. >> >> This Mihai's blog entry can help: >> >> Visual Studio Unicode projects >> http://www.mihai-nita.net/article.php?artID=20060723a >> > > Yes, thanks for pointing that out. Yet another small but meaningful > omission in VC6 that makes it non-optimal these days. David: Yes, but you only have to do it once. It's not like the constant annoyance of fighting the "Add Control Variable" wizard in the "new" IDE. -- David Wilkinson Visual C++ MVP |