PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

CGapiVFS help needed please.

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.
Forget my post!!!

I'm quite ashamed to say I just forgot to include "GapiVFS.h".... :oops:

Sorry....

Vincent.
vince_mad wrote:Forget my post!!!

I'm quite ashamed to say I just forgot to include "GapiVFS.h".... :oops:

Sorry....

Vincent.




lol sounds like something i would do :D