wxPascal

Do you like to promote your wxWidgets based application or component!? Post it here and let's see what the critics have to say. Also, if you found that ONE wx component the world needs to know about, put it here for future reference.
Post Reply
nissl
In need of some credit
In need of some credit
Posts: 6
Joined: Tue Apr 12, 2005 5:23 pm

wxPascal

Post by nissl »

I'm working on a FreePascal and delphi binding for wxWidgets based on a wxNet c dll... :)

a very first screeshot

http://www.linee.it/users/nissl/wxPascalMinimal.jpg

for now only a miniml raw interface...
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

Interesting. Is this not also Object Pascal compatible? I read something about this. Then maybe you can use

TwxFrame.Create(....) to create a wxBased frame, instead of using the wxFrame_ctor.

Anyway I program Delphi at work, this is a very interesting development!

Regards,
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
nissl
In need of some credit
In need of some credit
Posts: 6
Joined: Tue Apr 12, 2005 5:23 pm

Post by nissl »

oh... yes,

TwxFrame.Create and so on...

for now I'm creating a simple binding for the c function exported by the DLL, minimal example is also a first tentative for the basic wxWidgets frame...

In a next future a complete set of OPascal classes. (I hope... :D )

ciao

ps

The licence will be the same of wxWidgets of course.
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

Well keep it up it is a very interesting development because ObjectPascal now that it is 'free' and rewritten should be easily used by Linux envs as well, Delphi tried Kylix but failed miserably, so maybe Object Pascal with a WX toolkit could be the next great thing!

Regards,
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
jhurtado
Experienced Solver
Experienced Solver
Posts: 53
Joined: Wed Mar 16, 2005 1:40 pm

Post by jhurtado »

Do you think on a VCL (or CLX) wrapper based on wxPascal?

There is a big community of Delphi/OPascal developers, this aproach could be very useful for projects like Lazarus (http://lazarus.freepacal.org).

What do you think about that?

Regards,

Jose Antonio.
jaimes
In need of some credit
In need of some credit
Posts: 8
Joined: Mon Sep 20, 2004 7:59 pm

Post by jaimes »

Hi

This project sounds very good, and making a framework to ObjectPascal ( free o Delphi based) is very good because I think that the ObjectPascal market ( leader by Borland Delphi ) is very closed, yes I know that there is Lazarus, but may be ver good having a OP framework for developing GUI apps in both: windows and linux systems

JaimeS
nissl
In need of some credit
In need of some credit
Posts: 6
Joined: Tue Apr 12, 2005 5:23 pm

Post by nissl »

After some investigation I need to "reinvent the wheel" ... :D

For wxPascal, and some other projects, I need a full c interface for wxWidgets and wxnet C DLL is not so good for that.

another choice is wxEiffel but is build around 2.4, and rewriting is more fast then patching :)...

I hope to have a full C binding for wxWidgets 2.6.1 soon, for begin a complete Object Pascal wxWidgets.
jhurtado
Experienced Solver
Experienced Solver
Posts: 53
Joined: Wed Mar 16, 2005 1:40 pm

Post by jhurtado »

nissl wrote:For wxPascal, and some other projects, I need a full c interface for wxWidgets and wxnet C DLL is not so good for that.
Looking for on google I found wxC.

http://sourceforge.net/projects/wxc/
nissl
In need of some credit
In need of some credit
Posts: 6
Joined: Tue Apr 12, 2005 5:23 pm

Post by nissl »

yes, I know that...

It is a wxEiffel with some merge code from wxHaskell (already based on wxEiffel from ELJ)...
The goal for me is a more polished code for a pure C interface of all class member...
gururamnath
Super wx Problem Solver
Super wx Problem Solver
Posts: 466
Joined: Sat Sep 18, 2004 2:49 am
Location: California, USA

Post by gururamnath »

You may look at the wx.NET project for creating the wx Classes from the C exports. I was trying to port the C# code(Classes) to Pascal Code by using the Babel Code but I left it in the half way. You can use the BabelCode from

http://bdn.borland.com/article/0%2C1410 ... %2C00.html


and finish the conversion quickly. Good luck.

-Guru Kathiresan
nissl
In need of some credit
In need of some credit
Posts: 6
Joined: Tue Apr 12, 2005 5:23 pm

Post by nissl »

Babel code is a converter from c# to Delphi.NET not native win32... My goal is to have a wxWidgets interface for native win32 Delphi and FreePascal. I'm already working with wxNet with some CIL language and the use is really trasparent (I've working example in Chrome, Boo, Nemerle, and of course c#).

I'm not interested in Delphi.NET, Chome for example is more advanced ObjectPascal for NET or mono platform.

My primary use of native wxWidgets is c++, port to Pascal is an hobby ;)

ciao
gururamnath
Super wx Problem Solver
Super wx Problem Solver
Posts: 466
Joined: Sat Sep 18, 2004 2:49 am
Location: California, USA

Post by gururamnath »

nissl wrote:Babel code is a converter from c# to Delphi.NET not native win32.
Even I'm not interested with Delphi.NET code, the reason why I mentioned Babel Code is that it will automate the work of converting most of the C# code to readable pascal code. Most of the .NET related class functions can be replace by native pascal code for sure.

-Guru Kathiresan
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

I agree. .NET is 99% copied from Borland's VCL. The fun part was that at a friends place I saw .NET for the first time and it was more easy for me to find my way around then he, when he was already working with it for a month or so. The VCL is a very good framework. Sometimes I wished wxWidgets was more like that, but we cannot have all. I happily trade the "better" structure for X-platform compatibility.

It would be nice to use FreePascal (and possible bindings) to build wxDev-Cpp under linux won't it ;-)

- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
User avatar
ABX
Can't get richer than this
Can't get richer than this
Posts: 810
Joined: Mon Sep 06, 2004 1:43 pm
Location: Poznan, Poland
Contact:

Post by ABX »

Jorg wrote:I agree. .NET is 99% copied from Borland's VCL.
Get the facts: http://delphi.about.com/od/delphifornet ... cydnet.htm :D

ABX
CVS Head, 2.8.X
wxMSW, wxWinCE, wxPalmOS, wxOS2, wxMGL, bakefile
gcc 3.2.3, bcc 5.51, dmc 8.48, ow 1.6, vc 7.1, evc 3/4, pods 1.2
Post Reply