| Description: |
OriginalBugID: 6183 Bug
Version: 8.4a1
SubmitDate: '2000-08-30'
LastModified: '2000-09-06'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: ericm
OS: All Windows
FixedDate: '2000-09-06'
FixedInVersion: 8.4a2
Name:
George Petasis
ReproducibleScript:
Tk_GetHWND is not exported through the tk stub table, so
it is not possible to build a stubs enabled extension that uses
this function under windows...
DesiredBehavior:
Tk_GetHWND must be exported through the tk stub table
Tk_GetHWND is exported, but the file tkPlatDecls.h was not being included in tk.h, nor was it being installed with the public header files. Thus, it was not accessible from a vanilla Tcl/Tk installation. I added
'#include "tkPlatDecls.h"' to tk.h, and added tkPlatDecls.h to the list of header files to install. This should correct the problem. This fix will be in 8.4a2.
Eric Melski The Other Tcl Guy
ericm at ajubasolutions.com Ajuba Solutions
-- 09/05/2000 ericm
It turns out that including tkPlatDecls.h in tk.h causes some build problems: first, tkPlatDecls.h must #include windows.h, to get definitions for things like HWND. But this also brings in all the other windows decl's, some of which conflict with internal, private Tk functions (oops). So instead, developers will have to #include "tkPlatDecls.h" themselves, as needed. tkPlatDecls.h will still be installed, so that developers can do this include.
Eric Melski The Other Tcl Guy
ericm at ajubasolutions.com Ajuba Solutions
-- 09/06/2000 ericm
|