error C2039: 'IsDirectory' : is not a member of 'FILE_'

I need help with this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class FILE_ {
public:
    FILE_();
	static int GetEncoderClsid(
			const WCHAR* format, 
		CLSID* pClsid);

	static int findFiles(char * path);

	int isDirectory(std::string path, char * workingPath);

	static int getDir(const char *fullPath, char *dir);
	
	static void addDirectory(const char *dir, char * & toDir);
};


Singleton:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Meyers Singleton */
class S
{
public:
    static S& I(); // instance

	STAT Stat;
	
    std::vector<SRC> sources;
	std::vector<TARGET> destination;
	CLParser CLPars;
	FILE_ File;

private:
    S();
    S(const S&);
    ~S();
	S& operator= (const S&);
    struct Params
    {
        int argc;
        char** argv;
    };
	static Params* param;
};


Then I call function to check directory:
 
if (S::I().File.IsDirectory(arg, S::I().Stat.workingPath)) {


And in in Visual Studio I got error:
1
2
1>CLParser.cpp(24): error C2039: 'IsDirectory' : is not a member of 'FILE_'
1>          w:\parse4\parse4\filework.h(1) : see declaration of 'FILE_'


Why is this and how to remove the error?
Your function is called isDirectory (lowercase i).

You are attempting to call IsDirectory (uppercase I)
Thanks.
Topic archived. No new replies allowed.