1. wxWindows DLL
- Posted by David Cuny <dcuny at LANSET.COM>
Mar 17, 1999
-
Last edited Mar 18, 1999
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?
-- David Cuny
2. Re: wxWindows DLL
- Posted by Greg Phillips <i.shoot at REDNECKS.COM>
Mar 17, 1999
-
Last edited Mar 18, 1999
You may want to try DJGPP, a great, free 32-bit C/C++ development system. It's
located at http://www.delorie.com/djgpp/
There are plenty of libraries, modules, addons, etc for the system, including
something called RSX, a lib for developing Win32 C/C++ applications (executables
as well as C++ .dll's). Also, Cygnus makes great GNU Windows tools specifically
for DJGPP.
I'm sure there are others, look on the djgpp page. The above tools are found in
the Software and Stuff: Files Found On Other Sites section.
I've been using djgpp since version 1.0, and fooled around with some win32
stuff, but not much.
Anyways, hope this helps,
Greg
David Cuny wrote:
> 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?
>
> -- David Cuny
--
Greg Phillips
i.shoot at rednecks.com
http://euphoria.server101.com
--
Useless fact of the day:
The thumbnail grows the slowest; the middle nail grows the fastest