Search This Blog

Tuesday, August 17, 2010

CToPas Update 2.17.8.2010

Good news "I guess", is CToPas 2.0 now runs under Vista and Windows 7, but there is a catch! Not really, just adjust the Compatibility options as I explained note below "How to run CToPas 2.0 under Vista". Same instructions apply to Windows 7.
In this release, I have changed the way CToPas 2.0 create and open data and project files too! Previous releases, data and project files created and read to/from application's folder, but in this release data and project files created and read to/from ..\Program Files\CToPas\ folder. This way, Vista and/or Windows 7 won't be whinning or whinging no more, except compatibility issues!
Well, the reason of the compatibility issues are, when I started writing supporting functions for my other projects and CToPas, I used Delphi 2.0 and Delphi 4.0, so lots of supporting code contains lots of 16 bit data, functions, procedures, etc. that is why CToPas all releases have same issue, I am working on the separating code using conditonal defines but, if you are dealing thousands of lines of code, it is not easy as it seems... so be patient mates! Soon, will be there, hey free-bees dont come cheap ey mate ;))
Well said enough, you can download new release here
Happy coding!

Monday, August 2, 2010

CToPas August update

CToPas Converter 2.0 August release available now! You can download the file here.
In this release "Major bugs" fixed. Especially, I worked on to convert files faster, and I think its a success! I have tested with a few big header files and the result was good!
Here is some results,

File: WebServices.h API header = 3min 35 sec, Rate 85%
File: WinSvc.h API header = 14 sec, Rate 90%
File: WinReg.h API header = 8.6 sec, Rate 90%
File: GL.h API header = 39.3 sec, Rate 90%

* Rates here calculated as the time you will spend on converting such files manually from scratch vs. using CToPas 2.0 and refining such files manually.

Please leave your comments or suggestions here on my blogg insted CodeGear pages. I spend more time to check my blogger than checking CodeGear pages, sometimes I don't even bother!

Happy coding
Al

Monday, May 24, 2010

CtoPas new update available now!

CtoPas update 2.5.25.2010 is available to download now!
"List out of index ..." bug is fixed now.

Wednesday, April 28, 2010

Issues - C2Pas displaying errors under Vista and won't run.

To run C2Pas under Vista without a hassle, you have to change Compatibility to Windows 95 or 98, how? Just follow;

After you unzipped downloaded file in a folder, open that folder and find C2Pas.exe file. Right-click on C2Pas.exe to display pop-up menu, and select Properties option.

From properties page;

> Select Compatibility tab,
> Check "Run this program in compatibility mode for:" option,
> Change this option to: "Windows 98 /Windows Me"
> Check "Run this program as an administrator" option.
> Click "Apply" and close the page.

You shouldn't have any problem/s when you run C2Pas.

Monday, April 26, 2010

C2Pas 2.4.25.2010 (Latest) is out now!

C to Pascal Converter 2.0 latest release is available to download at Embarcadero's CodeGear pages.

Friday, April 23, 2010

C2Pas new releases

C2Pas new release will be available in a week! It's got lots of new features now. Hopefully will work under Vista and Windows 7.

C to Pascal Converter 2.0

History:
When I started programming with Windows APIs, which it's written with C, translating header files was taking too much of my time and therefore also being a lazy programmer! I decided to write a converter so it can convert basic elements of these header files, such as #define, data types (like unsigned short, int, ...). First attempt was a success and I used that program for some time.
When time come to do more programming of what I was programming, that little converter couldn't answer my programming needs and I gave up all other programming tasks (projects) and started to develope that little program and CtoPas converter also known as C2Pas was born!
Since C2Pas released on CodeGear's binary pages (where the latest available updates of CtoPas), I have received alot of responses, comments and suggestions from coder fellows from the different parts of the world.