Register
Site Login
Site Search
Forums
Advertisement
Welcome to PocketMatrix. PocketMatrix is dedicated to providing the best online community for mobile device developers and enthusiests. What's new?

.NET Wrapper


.NET Wrapper

Postby indiekiduk » Mar 8, 2008 @ 9:52pm

Has anyone made a .NET CF wrapper yet? I worked on both the PocketFrog and GapiDraw wrappers and could have a go at making one for EDGELIB.

The main things I'm interested in are blitting RGBA surfaces, fast animation, and blitting the final back buffer to a form control in a windowed app, so menu pop ups and bubble notifications still draw properly.
User avatar
indiekiduk
pm Member
 
Posts: 26
Joined: May 21, 2004 @ 12:56pm
Location: Glasgow, Scotland


Postby edge » Mar 10, 2008 @ 10:26am

Hi,

This sounds like a great idea! Please contact us at info [at] edgelib [dot] com to discuss this in more detail.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby indiekiduk » Mar 12, 2008 @ 3:08am

I really need to be able to draw anti-aliased (cleartype) text using GDI. So I need to be able to get a DC for the layer to do that and in the other thread you said you might enable that in the future. However I'm going to investigate a workaround by creating the font bitmap using GDI on the fly and then loading it into EDGELIB. If I can get this to work I'll do the wrapper.

In the meantime I'm building my c# UI library using gapidraw as the underlying graphics driver, but its abstracted to should be able to change it to edgelib easily.
User avatar
indiekiduk
pm Member
 
Posts: 26
Joined: May 21, 2004 @ 12:56pm
Location: Glasgow, Scotland


Postby edge » Mar 12, 2008 @ 3:06pm

indiekiduk wrote:I really need to be able to draw anti-aliased (cleartype) text using GDI. So I need to be able to get a DC for the layer to do that and in the other thread you said you might enable that in the future. However I'm going to investigate a workaround by creating the font bitmap using GDI on the fly and then loading it into EDGELIB. If I can get this to work I'll do the wrapper.

In the meantime I'm building my c# UI library using gapidraw as the underlying graphics driver, but its abstracted to should be able to change it to edgelib easily.


Great! Please let us know if you need additional support.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Mr X » Mar 25, 2008 @ 7:56pm

Is edgelib available in a dll, or does it need to be compiled into an app?

For .net or Freepascal support, it needs to be available as a dll (and declared as cdecl I think).

I wouldn't mind having a look at this myself if no-one else is doing it.

Sean
Sean Cross
mailto:sean@sourceitsoftware.com

Pics Print - The photo printing solution for Windows.
http://www.picsprint.com

Rental Property Manager - Rental management made easy
http://www.sourceitsoftware.com
User avatar
Mr X
pm Member
 
Posts: 240
Joined: Feb 27, 2003 @ 11:36am


Postby indiekiduk » Mar 25, 2008 @ 8:10pm

Its a lib so has to be compiled to a dll and needs the C functions written.
User avatar
indiekiduk
pm Member
 
Posts: 26
Joined: May 21, 2004 @ 12:56pm
Location: Glasgow, Scotland


Postby PointOfLight » Mar 26, 2008 @ 4:49pm

Sean, I don't have the time to devote to making a DLL for Edgelib, but if you decide to work on one I would be willing to help you test it out.
Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


Postby edge » Mar 26, 2008 @ 5:58pm

Indiekiduk, Sean,

If you guys work on this we are willing to offer you a free commercial EDGELIB Full license. Please contact us at info [at] edgelib [dot] com for details.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby mmtbb » Apr 17, 2008 @ 2:14pm

Any more on this? I would love to have available a good C# game engine.
mmtbb
pm Member
 
Posts: 277
Joined: Mar 18, 2004 @ 6:56am


Postby brian » May 2, 2008 @ 10:13pm

I may give a C# wrapper a go.
brian
pm Member
 
Posts: 6
Joined: May 2, 2008 @ 10:12pm


Postby brian » May 2, 2008 @ 11:50pm

Well, I got some of the basic building blocks in place for creating a wrapper, but hit a major showstopper.

EdgeLib is not a library. It's an application. Specifically, it has a WinMain entry point that is blocking.

I need to be the app (in particular my C# application), and use EdgeLib as a library. While I don't know much about the internals of EdgeLib, i do recognize the need to have an event loop, etc.

My problem of writing a C# wrapper is equivalent to the problem of making EdgeLib a Win32 control (custom HWND) on a Win32 dialog box. In both scenarios, the entry point is not EdgeLib, and the event loop does not belong to EdgeLib.

Is there something I'm missing? Advice? Special drop for me? My email is
kramer_underscore_ae@hotmail.com (one underscore).

Thanks.

Brian
brian
pm Member
 
Posts: 6
Joined: May 2, 2008 @ 10:12pm


Postby edge » May 5, 2008 @ 10:28am

Hi Brian,

Currently someone is working on creating a .NET wrapper for EDGELIB as well. We will let you know when more information becomes available. Then we will post a message in this thread.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby brian » May 5, 2008 @ 4:50pm

Thanks for your reply. The problem is that I don't want to wait for an unspecified amount of time for this information. Is there a way I can do this work in parallel, or to contribute to the existing work?

Thanks.
brian
pm Member
 
Posts: 6
Joined: May 2, 2008 @ 10:12pm


Postby edge » May 6, 2008 @ 8:50am

brian wrote:Is there a way I can do this work in parallel, or to contribute to the existing work?


Hi Brian,

I have sent you an email.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby mamahow » Aug 6, 2008 @ 4:09am

Hi,
Following this thread, can I figure out if anybody creates a solution/workaround to NOT using the main entry of EDGELIB?
mamahow
pm Member
 
Posts: 17
Joined: Jul 1, 2008 @ 10:29am


Next

Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum