dll exports no functions on windows
Closed / Invalid580188ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-07-11 17:23:54
Building the samplextension from CVS (11. July 2002), with cygwin/VC6 works o.k. on windows (W2k), but there are no functions exported from the dll, so it can not be loaded into a tclsh. dumpbin /EXPORTS sample04.dll reveals the missing Exports. tclsh says "couldn't find procedure Sample_Init". Building the same samplextension with 8.4a4 works perfectly well (just tested a threaded 8.4a4) and symbols are exported. Adding (when using 8.3.4) the usual __declspec(dllexport) to the prototyp works as expected, so there seems to be an issue with the EXTERN / DLLEXPORT Macro. Michael Schlenker
hobbsplain2002-07-12 01:32:35
Logged In: YES user_id=72656 I cannot confirm this when compiling with the latest CVS head of 8.3.4+ and 8.4b1+, using the CVS head of sampleextension. In all cases, Sample_Init gets exported.
Log in (anonymous is fine) to add a comment.