Page 1 of 1

CreateSurfaceFromFile() version not working

PostPosted: Nov 21, 2008 @ 10:54am
by Narin
First of all, GapiDraw is going to save my life.

Now, I just need to get it up and running with C#. I found the ancient C# wrapper on intuitex.com which is a good starting point, now I'm tweaking it.

I've hit a roadblock though. When building off the Minimal sample in C++, I can load a 24-bit PNG just fine using ->CreateSurface and the FULL file name. Works great.

However, when I use C# and P/Invoke CGapiRGBASurface_CreateSurfaceFromFile, passing it the EXACT same filepath produces a GDERR_BITMAPNOTFOUND.

This is on my "stationary PC", and using the win32 build of GapiDraw.dll 401.

Any ideas?

PostPosted: Nov 22, 2008 @ 12:02am
by Johan

PostPosted: Nov 22, 2008 @ 12:05am
by Narin

PostPosted: Nov 22, 2008 @ 1:44pm
by Johan

Re: CreateSurfaceFromFile() version not working

PostPosted: Nov 23, 2008 @ 7:42am
by InexorableTash

Re: CreateSurfaceFromFile() version not working

PostPosted: Nov 23, 2008 @ 7:57am
by Narin