I am trying to build tcl lib windows using _stdcall call convention. I
am using visual C++ nmake.
I build it but it is creating with _cdecl. But I need tcl lib build with
Any hint please.
From: David Gravereaux <davygrvy@po...> - 2004-10-07 01:09:32
"Mesfin, Yebio" <ymesfin@...> wrote:
>I am trying to build tcl lib windows using _stdcall call convention. I
>am using visual C++ nmake.
>I build it but it is creating with _cdecl. But I need tcl lib build with
>Any hint please.
Why do you need stdcall? Are you trying to allow the functions exported
from tcl8X.dll to be called from Visual Basic?
There should be a compiler switch that allows you to change the global
setting from _cdecl (default) to what you want. You will need to edit
makefile.vc to add that switch.
David Gravereaux <davygrvy@...>
[species: human; planet: earth,milkyway(western spiral arm),alpha sector]