Hi all,
I'm trying to use the new (well, new to me!) CGapiVFS feature of GD. I can't figure how to use it.
I've added the following in my .h file:
CGapiVFS VFS_File;
in my .cpp:
VFS_File.CreateVFS("/file.vfs");
And I get the error:
error C2079: 'VFS_Common' uses undefined class 'CGapiVFS'
I tried
CGapiVFS* VFS_File;
in the .h and
VFS_File->CreateVFS("/file.vfs");
int he .cpp
but I get the error:
error C2027: use of undefined type 'CGapiVFS'
I know this is a stupid error, but don't know what to do. Could someone here help me please?
Many thanks.
Vincent.
I'm trying to use the new (well, new to me!) CGapiVFS feature of GD. I can't figure how to use it.
I've added the following in my .h file:
CGapiVFS VFS_File;
in my .cpp:
VFS_File.CreateVFS("/file.vfs");
And I get the error:
error C2079: 'VFS_Common' uses undefined class 'CGapiVFS'
I tried
CGapiVFS* VFS_File;
in the .h and
VFS_File->CreateVFS("/file.vfs");
int he .cpp
but I get the error:
error C2027: use of undefined type 'CGapiVFS'
I know this is a stupid error, but don't know what to do. Could someone here help me please?
Many thanks.
Vincent.