ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> visualpython-discuss
visualpython-discuss
[Visualpython-discuss] swig init function problem
by Alexander Peter other posts by this author
Oct 3 2005 2:41AM messages near this date
view in the new Beta List Site
| [Visualpython-discuss] Problems debugging Modules..
Hi at all,

 

i have a big problem.

I use visual studio.net 2003, xp-prof, swigwin-1.3.25 and active python. I
can compile my project "dll_project" without problems, but when I try to
import the _dll_project into python I get following error:

 

Traceback (most recent call last):

  File "<stdin> ", line 1, in ?

ImportError: dynamic module does not define init function (init_dll_project)

 

I have no clue what I have to do. In my "dll_project_wrap.c" file there is a
"init_dll_project" function, see below

 

.

#define SWIG_init    init_dll_project

#define SWIG_name    "_dll_project"

.

 

Is it possible, that the "dll_project_wrap.c" is not correct implementet in
my .net project? What's wrong?

In the attachment you can find some settings that I made in my project!

 

Please help, I need this for my thesis!

Thanks in advance and sorry for my bad English, but I'm not a native English
speaker!

 

Greetings alex
Attachments:
Settings.txt
unknown2
unknown3
unknown4
unknown5
unknown6


Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved