N
Nicholas J. Fiorello Jr.
Are any preprocessor symbols defined for the platform to tell if a module is
being compiled for the compact framework vs the std framework?
Ideally something to replace the first 'true' in the following snippet
#if true
[DllImport("coredll.dll", SetLastError=true)]
#else
[DllImport("shell32.dll", SetLastError=true)]
#endif
private static extern bool SHGetSpecialFolderPath(
int hwndOwner,
StringBuilder lpszPath,
CSIDL eFolder,
bool fCreate);
being compiled for the compact framework vs the std framework?
Ideally something to replace the first 'true' in the following snippet
#if true
[DllImport("coredll.dll", SetLastError=true)]
#else
[DllImport("shell32.dll", SetLastError=true)]
#endif
private static extern bool SHGetSpecialFolderPath(
int hwndOwner,
StringBuilder lpszPath,
CSIDL eFolder,
bool fCreate);