PocketMatrix forums

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

GapiDraw NET - cannot launch application

I'm trying to integrate GapiDraw in my .NET CF application.

My problem: I can compile, but cannot launch the sample applications from GapiDraw.Net (I'm using version 3.01 beta 4) in the PPC emulator or on the PPC device. There are no perceivable errors - the application just attempts to launch, then Visual Studio (I'm using the .NET 2003 version) is stuck for about half a minute and then gives up with the following output:

------ Deploy started: Project: GdiWindowedPpc, Configuration: Debug Pocket PC ------




---------------------- Done ----------------------

Deploy: 1 succeeded, 0 failed, 0 skipped


Launching Application
Launch failed - Cannot run Application.

Has anyone experienced this or can give me any hint? Is there any form of GapiDraw NET documentation available somewhere?

Thanks,
Ray
Ray,


I don't know if you're using the GapiDraw .Net wrapper that I wrote, but the GapiApplication class that I wrote was pretty preliminary. I'm pretty sure it started, but if you're doing much weird with it, most guarantees go out the window.

For the most part, the GapiApplication class doesn't do a great deal for you (examining the source code can tell you that) so you could try rolling it yourself?

I'd be willing to give you a hand if you're truly stuck, but I don't do much GapiDraw development anymore as I've written my own little blitting driver, so I may not be much help.
I was using the GapiDrawNET package from http://www.intuitex.com/ppcdev.html. I wasn't able to solve the problem, so in the end I actally did write my own wrapper. Actually, it turned out not to be so difficult after all! (And it definitelyhelped me to understand .NET interop :D )
And I think I win the award for longest time between followups. I just wanted to tip my hat to Johann and GapiDraw for being quite possibly the most insanely fast blitting engine I have ever seen.

I've spent a few months of free time writing my own all-.Net blitting engine and I can't even begin to approach a tenth of the speed his engine achieves.

While GapiDraw is priced out of my range now, I can honestly say that there is nothing out there for the PPC that does what it does, at the speed it does it.

So, I lay down my code and go back to writing my .Net wrapper around GapiDraw. (Weeping the whole time.)

Now...to figure out if the proper exports are still in the dll....
Hi Kiyote,

How much can you afford then?

Sincerely
Johan
Johann,

I apologize. I shouldn't have even mentioned my financial difficulties in the post. It was intended to more be praise for your product, not a curse at your pricing. For the functionality you offer, and the market you target, I think your pricing is fair.
I also wanted to point out when I said I would be weeping, it was because my own skills proved insufficient to the task, not anything about GapiDraw. In the future, I will stop using words. :oops: