freelanceprogrammers.org Forum Index » Delphi

wrapdelphi howto structure module

View user's profile Post To page top
jobbyworld2 Posted: Sun Nov 12, 2006 5:34 am


Joined: 23 Oct 2006

Posts: 5
wrapdelphi howto structure module
 
My goal is to make little GUI for python and using it
like that
 
From Delphi import type
From Delphi import
forms
From Delphi import classes
 
My first idea :
I’m wrapping many component from delphi by unit
and try to build python pyd  :
WrapDelphiTypes à types.pyd
WrapDelphiClasses -> classes.pyd
WrapDelphiWindows -> window.pyd
WrapDelphiControls, -> controls.pyd
WrapDelphiGraphics,  -> graphics.pyd
WrapDelphiForms, -> Forms.pyd
 
but with dependencies, WrapDelphiForm  using  WrapDelphiClasses
and WrapDelphiControls
the Forms.pyd library contains classes.pyd, and types.pyd
 
Next method:
Make one wrapper component an one module by unit in a
single project.
But how don’t know how to affect/redirect a
unit to wrapper ?
 
Big thanks.
 
Info : if someone wants try/debug  these modules
I can send them
WrapDelphiMenus
WrapDelphiVirtualTrees
WrapDelphiImageList
WrapDelphiScintilla
WrapDelphiDialogs
Transparentform
 
 
  
 
 
Reply with quote
Send private message
View user's profile Post To page top
morgan_martinet Posted: Sun Nov 12, 2006 9:50 am


Joined: 29 Apr 2005

Posts: 103
wrapdelphi howto structure module
Hi,

Be careful! You can`t put each delphi unit in a separate dll as
you`ll get a lot of troubles with types that will be duplicated in
each dll. So, `obj is TControl` will only work in the dll that
created the component.

you can send me your
WrapDelphiMenus
WrapDelphiImageList
WrapDelphiDialogs
units. I don`t want the others because they don`t wrap standard VCL
stuff.

Thanks,

Morgan

--- In pythonfordelphi@yahoogroups.com, "jobbyworld" <jobbyworld@...>
wrote:
>
>
>
> My goal is to make little GUI for python and using it like that
>
>
>
> From Delphi import type
>
> From Delphi import forms
>
> From Delphi import classes
>
>
>
> My first idea :
>
> I`m wrapping many component from delphi by unit and try to build
python pyd
> :
>
> WrapDelphiTypes --> types.pyd
>
> WrapDelphiClasses -> classes.pyd
>
> WrapDelphiWindows -> window.pyd
>
> WrapDelphiControls, -> controls.pyd
>
> WrapDelphiGraphics, -> graphics.pyd
>
> WrapDelphiForms, -> Forms.pyd
>
>
>
> but with dependencies, WrapDelphiForm using WrapDelphiClasses and
> WrapDelphiControls
>
> the Forms.pyd library contains classes.pyd, and types.pyd
>
>
>
> Next method:
>
> Make one wrapper component an one module by unit in a single
project.
>
> But how don`t know how to affect/redirect a unit to wrapper ?
>
>
>
> Big thanks.
>
>
>
> Info : if someone wants try/debug these modules I can send them
>
> WrapDelphiMenus
>
> WrapDelphiVirtualTrees
>
> WrapDelphiImageList
>
> WrapDelphiScintilla
>
> WrapDelphiDialogs
>
> Transparentform
>
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help