VC++ extension

QuoteMstr qtmstr at optonline.net
Tue Aug 8 22:45:59 EDT 2000


In article <8mp96k$3jm$1 at nnrp1.deja.com>, Stuart Dallas wrote:
>I am developing an extension for Python in Visual C++ 6. I have created
>a Win32 DLL project and exported the initx function. When I try to
>import the extension into Python it responds with the following message:
>
>ImportError: dynamic module does not define init function
>
>I have checked the DLL with QuickView and the init function is being
>exported.

extern "C"
{
		yourstuff();
}

Does that work?


-- 
"Isn't vi that text editor with two modes... one that beeps and one
that corrupts your file?" -- Dan Jocabson, on comp.os.linux.advocacy



More information about the Python-list mailing list