A dll question
Dave Beynon
flagg at moo.cus.org.uk
Tue Oct 24 10:52:11 EDT 2000
More information about the Python-list mailing list
Tue Oct 24 10:52:11 EDT 2000
- Previous message (by thread): urllib problem with "version" now using Python 2.0
- Next message (by thread): Q: Interactive input
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi.
Apologies if this question seems a bit dim, but
I am having some trouble embedding some C++ code into a python program under
windows NT. Currently I am using swig to generate a framework for my code
and compiling under MS visual C++ 6.0. I get a dll generated, but python
is refusing to pick up the dll.
I am using python 1.5.2 btw.
The interface definition is as follows:
%module fact
%{
#include <fact.h>
%}
class Fact
{
public:
Fact(int n);
int get_x();
}
this is imported (or not) with the line
import twinkle_lib
the file is called twinkle_lib.dll
Is there anything obvious that I am doing wrong?
thanks
David Beynon
- Previous message (by thread): urllib problem with "version" now using Python 2.0
- Next message (by thread): Q: Interactive input
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list