English Amiga Board

Go Back   English Amiga Board > Coders > Coders. General

Thread Tools
Old 02 June 2010, 15:46   #1
Amiga user since 1985
Join Date: Apr 2005
Location: Middlesex, NJ USA
Posts: 14
C# Framework

Like many old time Amiga coders, I find myself irresistibly drawn back to the platform these days. I no longer have any Amiga hardware, only Amiga Forever to play around with.

For many years, I have been kicking around in my head a plan for wrapping the Amiga API within C++ header files to make a bit easier to use. Work, life, etc. always seemed to get in the way for my doing anything about it until now.

I am aware of the stillborn Amiga Java project(s). There is also a C# project going on based on Mono, but who has the time to spend on all of that. My thoughts were to create a C# like framework for C++ that gave the modern coder a familiar environment. I think I have succeeded in doing just that (see attached).

To do this, I needed properties and events. A quick Google search and I had exactly what I needed. As anyone familiar with C# (and to some degree Java) can see by the attached code sample, I have put together a simple, event driven demo with all the flavor of C# and very little C++. The executable was compiled using AmiDevCpp and is just 75kb. A bit large for Amiga apps, but certainly acceptable given the ease of use. You will notice there is no message loop. That is contained in the forms.h header file which I have chosen not to release just yet as there is still a LOT more to do. When I do release the code, it will be done so under GPL type licensing without any restrictions on it's use. BTW - Since all of the code is in the form of C++ headers, there is no reason at all that the framework could not be used "as is" on Amiga 4.x, AROS and/or MorphOS systems.

My next task will be to wrap the menu and gadget subsystems and provide event driven notifications similar to what I have already produced for window events.

Here is where I need some help. It's been a LONG time since I have done any C++ coding...most of the past ten years have been spent with Java and/or C#. It's been almost fifteen years since I've done any serious Amiga coding. What I am looking for is a person or persons interested in helping make some of the decisions on this project, specifically in regards to message handling. For instance, do we do it the Windows way and handle ALL messages in the message loop or do we allow users to turn off specific, resource eating messages of (e. g. ReportMouse). I'll do the work, I just need someone who is more up to date with the Amiga API than I am, involved with the project. I don't see this as comsuming a lot of anyone's time...

I would appreciate any comments you may have on the work I have done so far and suggesstions on how it should proceed in the future.


p. s. I am cross-posting this message in a couple of other locations in order to generate interest in the project.
Attached Files
File Type: zip asharp.zip (71.0 KB, 276 views)
bburtonpa is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting Qt Framework to Amiga OS enviroments Pyromania Coders. General 2 24 July 2013 07:42

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 00:35.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.09911 seconds with 14 queries