Re: Dll's Basic Question

WxPython and WxPerl are libraries made in C that can offer the access to wxWidgets interface, but using perl or python syntax.

Those libraries are just an interface to wxWidgets. For example, WxPerl require wxWidgets that can be also installed from CPAN as Alien::wxWidgets.

Alien::wxWidgets is a compiled version of wxWidgets and WxPerl just accesses it.

So for example your program will tell to WxPerl to create a Wx::Dialog using a perl syntax, and WxPerl will tell to Alien::wxWidgets to create a wxDialog object, but using a C syntax which you can't see.

Octavian

----- Original Message ----- From: <james.homme@xxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, August 29, 2008 9:04 PM
Subject: RE: Dll's Basic Question


Hi,
I don't know if this is along the same subject, so please feel free to
change the subject if I am off topic. Here's something else I've always
wanted to know. When they made WX Widgets, how were they able to make it so
that you could write your code in languages other than the original one?
For example, they created WXPython and WXPerl. How is it possible for the
Python or Perl interpreter to suddenly realize that WX is there and that
the Python or Perl statements are trying to do something that was not in
the original package?

Thanks.

Jim

James D Homme, Usability Engineering, Highmark Inc.,
james.homme@xxxxxxxxxxxx, 412-544-1810

"The difference between those who get what they wish for and those who
don't is action. Therefore, every action you take is a complete
success,regardless of the results." -- Jerrold Mundis
Highmark internal only: For usability and accessibility:
http://highwire.highmark.com/sites/iwov/hwt093/

__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at http://www.freelists.org/list/programmingblind

Other related posts: