On 28/04/2013 at 21:10, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
---------
Hi Folks,
I'm just curious about what the difference is between the following code snippets. The first one works, but the second one doesn't:
// Folder is an AutoAlloc BrowseFiles...
if(Folder->IsDir())
{
GePrint("This way works...!");
}
if(Folder->IsDir() == TRUE)
{
GePrint("This way doesn't work...");
}
What's the technical/C++ difference here and why does one way work but the other not? I'm just curious because having Folder->IsDir() == FALSE works fine, but having TRUE does not..
WP.