On Tue, Feb 8, 2011 at 10:40 AM, Kagamin <s...@here.lot> wrote: > Trass3r Wrote: > >> > HANDLE WINAPI FindFirstChangeNotification( >> > __in LPCTSTR lpPathName, >> > __in BOOL bWatchSubtree, >> > __in DWORD dwNotifyFilter >> > ); >> >> FindFirstChangeNotification is - like any other Windows function that >> receives a string - just an alias that points to a version with suffix W or >> A depending on whether your project is configured to be Unicode or not. > > D string encoding is not configurable. What configuration are you talking > about? >
It's a setting in Visual Studio that translates into a compiler switch for Visual C++, or such is my understanding. He was talking about configuration on the Microsoft C/C++ side, not the D side. In D, I just have to add a suffix to the name to choose the one I want.