Page 1 of 1

wxPascal

Posted: Thu Jun 02, 2005 6:17 pm
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...

Posted: Thu Jun 02, 2005 8:09 pm
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

Posted: Fri Jun 03, 2005 2:35 pm
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.

Posted: Fri Jun 03, 2005 2:57 pm
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

Posted: Fri Jun 03, 2005 3:32 pm
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.

Posted: Fri Jun 03, 2005 4:05 pm
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

Posted: Sat Jun 04, 2005 11:32 am
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.

Posted: Sat Jun 04, 2005 12:12 pm
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/

Posted: Sat Jun 04, 2005 12:41 pm
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...

Posted: Mon Jun 13, 2005 7:03 pm
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

Posted: Thu Jun 16, 2005 10:20 am
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

Posted: Tue Jul 05, 2005 11:39 pm
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

Posted: Wed Jul 06, 2005 6:40 am
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

Posted: Wed Jul 06, 2005 7:10 am
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