wxWindows DLL

new topic     » topic index » view thread      » older message » newer message

Here's a progress report, of sorts...

I downloaded, but never did get wxPython to work on my machine - the code
required a hopefully optional component: ODBC32.DLL. I managed to track down
a Win95 version of the DLL, only to find out that it wouldn't install on my
machine without my having loaded a Microsoft product that needs it first.
Deinstalling it burped when the deinstaller tried to launch the Win98
version of CTRL3D.DLL. That's the kind of joy you can expect when code
generated on a feature-rich development Win98 environment meets my
feature-poor desktop.

It turns out that the wxPython wrappers are less than helpful for my
purposes. They were generated by SWIP - a nifty program that automatically
creates C/C++ bindings for a number of a handful of scripting languages,
including Python, Perl, Tcl and so on, just by feeding it the source code
C/C++ file. It pretty much makes adding libraries to these programs a
no-brainer. Unfortunately, Euphoria wasn't one of the options, and I don't
have the Euphoria source to link to, anyway.

I had better luck putting a DLL together. I downloaded LCC-Win32, a nice
freeware C IDE. After struggling with the compiler, I broke down and read
the help file. Just add a compiler directive and, viola!, exported C
function! My enthusiasm dimmed when it dawned on me that LCC, only being a C
complier, would not support wxWindows, a C++ framework. Time to look for
another C++ compiler. I've heard that there's a GNU compiler called Ming-32
that might work...

I'm also enjoying plowing through Introduction To C++ books, and being
re-introduced to the Joy of Pointers. It makes me appreciate Euphoria more
and more. And there promises to be even more fun ahead when I try to place a
Euphoria callback in a DLL.

And I volunteered for this? Pete! Where are you when I need you? blink

-- David Cuny

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu