Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-05

APIWiZZ

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink

Hi

The first rollout of the Apiwizzard is a fact. To generate (GTK)winapi templates simply type the declaration. There is a little syntax checking but do not count on it. Make sure what you type is correct. I only tested it on a Linux platform.
It automagically modifies:
winapih.inc
winapi.inc
interfasebase.inc
gtkwinapih.inc
gtkwinapi.inc

You can find is at ./lazarus/tools/apiwizz
Please test it first in a test did befor applyinf to your sources ;-)

Have fun,
Marc

Reply by email

Vincent Snijders
to Marc Weustink

----- Original Message -----
From: Marc Weustink

Hi The first rollout of the Apiwizzard is a fact.

Most of the times the word wizzard is written with one 'z' like ApiWizard. Do you have a special reason no write with double 'z'.

You can find is at ./lazarus/tools/apiwizz

I can compile the program with a command-line generated with Cliff's ppbuild but not with make.
e:/pp/bin/win32/make.exe --assume-new=apiwizz.pp apiwizz make.exe[1]: Entering directory `e:/pp/source/lazarus/tools/apiwizz' make.exe[1]: *** No rule to make target `apiwizz'. Stop. make.exe[1]: Leaving directory `e:/pp/source/lazarus/tools/apiwizz' make.exe: *** [all] Error 2

Reply by email

Marc Weustink
to Marc Weustink: Hi The first rollout of the Apiwizzard is a fact. To generate (GTK)winapi templates…
Vincent Snijders wrote 8 lines
> You can find is at ./lazarus/tools/apiwizz I can compile the program with a command-line generated with Cliff's ppbuild but not with make. e:/pp/bin/win32/make.exe --assume-new=apiwizz.pp apiwizz make.exe[1]: Entering directory `e:/pp/source/lazarus/tools/apiwizz' make.exe[1]: *** No rule to make target `apiwizz'. Stop. make.exe[1]: Leaving directory `e:/pp/source/lazarus/tools/apiwizz' make.exe: *** [all] Error 2

@ win32 targets DO have an exe extention. If you forget this in Linux it doesn't matter.

Fixed

Marc

Reply by email

Shane Miller

I used this wizard to add WIndowFromPoint and GetParent. Worked quite well.

On the website, under How To Code we should have a section for general coding (the thing I wrote) and adding WINAPI calls to explain to the user that they should use this app and then go into the gtkwinapi.inc file to add their code.

Shane

>> 05/02/00 07:27PM >>>

Hi

The first rollout of the Apiwizzard is a fact. To generate (GTK)winapi templates simply type the declaration. There is a little syntax checking but do not count on it. Make sure what you type is correct. I only tested it on a Linux platform.
It automagically modifies:
winapih.inc
winapi.inc
interfasebase.inc
gtkwinapih.inc
gtkwinapi.inc

You can find is at ./lazarus/tools/apiwizz
Please test it first in a test did befor applyinf to your sources ;-)

Have fun,
Marc

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Marc Weustink
to Shane Miller

+ From: Shane Miller
+
+ On the website, under How To Code we should have a section
+ for general coding (the thing I wrote) and adding WINAPI
+ calls to explain to the user that they should use this app
+ and then go into the gtkwinapi.inc file to add their code.

Depending on the Independent check one has to edit either gtkwinapi.inc or winapi.inc

Marc

Reply by email