[lazarus] How do I make a form? (Win32) pure newbie questions...

marius popa mapopa at reea.net
Wed Apr 24 11:32:47 EDT 2002



> and some code that acesses a DLL programmed in Delphi.
> I suppose I should say that the DLL is a game engine
> programmed using DirectX. I want to use Free
> Pascal/Lazarus to compile a form for playing the game
> in and to compile the game code that accesses the DLL
> engine.

Project www.delphi-jedi.org could be a usefull point of start for the DirectX headers

> All of this information might be irrelevant to you,
> basically I've had no luck in finding information on
> how to display a form. What components do I need and
> how do I use them. Can I compile delphi forms(.dfm) or
> do I need to use something else?
Yes write with your hand is the safe way ex:
	button.width =10;
	button.x =10 ;
so on 
-------------------------
 
> Right now I can't even use Lazarus because it keeps
> giving me the error message that it can't find
> GTK-1.3.DLL. Where can I get that?

Usualy is comming with gimp (www.gimp.org) and the PATH must point to them
but if you don't have the bandwidth somewhere on the http://lazarus.freepascal.org
in the help/install area there are some gtk-X.X.dll zipped 


> Final question, does Free Pascal/Lazarus support all
> the OOP features of Delphi such as Inheritance, Classes.
Let me tell you a story :
I write an admin tool for firebird in freepascal and i needed some TreeView 
what to do ? i asked myself 
so took a Treeview tutorial for delphi and and wrote the application 
it works !!! 
Shure there are some bugs  
but the tree is there with childs 
and yes i use the Object Pascal syntax
I use the makefiles and in the future will use the lazarus ide too :)
ps:
I took the kylix2 PE Open Edition down the wire and made a demo 
and tell you there are big problems with the libs and 
when i try to execute the project a small popup with :
"this app is made with kylix ..." .Shame they should call it
kylix Demo Edition not open ...

 












More information about the Lazarus mailing list