Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I´ve a member function, CreateFile in my BS_Directory class which Visual C++ seems to confuse with its CreateFile somehow..
in class BS_Directory definition I´ve:
BS_File *CreateFile(string name, BS_File::BS_FileAccess access = BS_File::BS_ReadAccess);
And in my BS_File.cpp file I´ve the implementation of my CreateFile:
BS_File *BS_Directory::CreateFile(string name, BS_File::BS_FileAccess access)
{
...
ms_file = ::CreateFile(...);
...
}
I get the following error from Visual C++:
bs_file.cpp(321) : error C2039: 'CreateFileA' : is not a member of 'BS_Directory'
Now this is weird to say the least...
Thanks in advance!
/Julien
I´ve a member function, CreateFile in my BS_Directory class which Visual C++ seems to confuse with its CreateFile somehow..
in class BS_Directory definition I´ve:
BS_File *CreateFile(string name, BS_File::BS_FileAccess access = BS_File::BS_ReadAccess);
And in my BS_File.cpp file I´ve the implementation of my CreateFile:
BS_File *BS_Directory::CreateFile(string name, BS_File::BS_FileAccess access)
{
...
ms_file = ::CreateFile(...);
...
}
I get the following error from Visual C++:
bs_file.cpp(321) : error C2039: 'CreateFileA' : is not a member of 'BS_Directory'
Now this is weird to say the least...
Thanks in advance!
/Julien