#1961 dll exports no functions on windows

obsolete: 8.3.4
closed-invalid
5
2002-07-11
2002-07-11
No

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

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-07-11
    • assigned_to: mdejong --> hobbs
    • status: open --> closed-invalid
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-07-11

    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.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks