PocketMatrix forums

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

Clarification of VS.Net support

Hi All,

I'm sorry if this question has been asked and answered a million times but I've done a search and am still not clear.

I'd really love to get into PocketPC game programming as a hobby but would like to leverage my existing knowledge of Visual Studio and .Net.

Can someone explain conclusively what the current compatibility situation is with GapiDraw and .Net?

Do we still need a wrapper? Could someone provide a simple demo project?

I realize that many people here are hard core devs and are probably frustrated with n00bs who want to use VB but if you can just show a little patience and provide an answer I promise that the good karma will flow. :)

Thanks!
Hello

I hope your karmic flow makes someone reply in a clear way, becouse i make some questions some times ago about it and nobody seems to know the answer...

All i can tell you from my novice point of view is that GapiDraw seems to need a wraper to work under VB.NET. This Wraper is GapiDrawNet, but as far as i tested it, it gives me some little problems when exiting the aplication, as i told in other message.

It would be great if you or someone else could throw some light over this dark point. And of course, if my researches go in the right way i will mak eyou know.

Good luck, and good karma!

Tomás.
Wow, now there are two of us looking for this info. That makes double the karma points! Surely, someone here could use this opportunity to make up for past indiscretions. lol! ;)

Seriously, any info would be great.
oops, that was me above. I forgot to log in.

Again, any info provided will be rewarded handsomely by the universe! :)
Have you contacted the originator of GapiDrawNet? I personally don't work with .NET, but it seems that would be the direction I would head if I needed an answer.
Thanks, I was actually thinking of contacting him.

The website hosting the wrapper says that it requires certain older versions of gapidraw. I was hoping that the wrapper was obsolete now and that there was a way to use gapidraw directly within Visual Studio.

I'll be sure to post back here if I learn anything.
This is what happens when you don't pay attnetion for a month.

The situation is this:
Gapidraw still needs the a wrapper library to be used from .net.
The wrapper libraries on my site are for gd 2.04 or something.
I was in discussions with the gd folks to see if we could put a package together but nothing came of it.
I have changed jobs, and don't do much ppc work anymore. I am not planning to update the libraries myself (unless of course you want to pay for it).

Are you stuck? Not really. the wrapper libraies on my site come with full source, so you can change them to work with whatever version of gd you have. Simply replace "gd204.dll" with 'gdxxx.dll" and rcompile. There are still a few other issues but I think that they are minor.

Hope that helps.

Sean
Thank you. You've explained quite a lot.

As you suggested, I'm going to try using your code to compile an updated wrapper.

Out of curiousity, does anyone know what the gd folks plans are for future .net support?

Will they eventually release a version that does not require a wrapper?
Antonie · 02 Feb 2006, 12:55 UTC — .NET support ?
Yeah.. any word on real .NET support ? without a wrapper would be nice. ?
I'm working on a new .Net wrapper that works with 3.51. It's aimed at the PocketPC crowd and is functionally optimized around that. (ie - Don't use it if you want GapiDraw on the desktop)

You can download it here: http://www.kiyote.ca/external/GapiDrawNet.rar

I've only tested it in VS2005 with CF2.0, but I should be able to easily convert it to something VS2003 CF1.0 compatible if necessary.

My aim is to write something that manages all of the objects for you as easily as .Net manages other objects, not something that reflects the GapiDraw API necessarily. Also, I want the wrapper to be a single drop-in file for use in your application.

Also, right now, it is only in VB.Net but I want to create a C# version as well.

The file contains a sample application, but no dll. (I don't believe Johan would appreciate me distributing his dlls, even if they are just the demo version.)

PS - It's not feature complete, but don't get discouraged. Just ask about your favourite feature and it'll move to the top of the priority list.