<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>I know this won't be popular but...<BR>
<BR>over in m3-db\odbc\src, there is POSIX and WIN32, and they are ALMOST identical.<BR>
<BR>The differences are<BR>
<BR>the UNUSED type SQLHWND is ADDRESS or HWND<BR>This should just be removed.<BR>
<BR>In Win32 all the <*external*> pragmas have WINAPI.<BR>
In Posix, they lack it.<BR>
<BR>For this and other reasons, I suggest that all CM3 frontends accept but silently<BR>ignore the Win32/x86 calling conventions in <*external*> pragmas,<BR>similar to what the non-x86 Windows compilers do.<BR>
<BR>The other reasons would be the "FARPROC" warning that I already cleared up otherwise.<BR>
<BR>And anything else minor that comes up.<BR>
<BR>
I know this won't be popular but I REALLY REALLY REALLY believe is the right thing.<BR>It is a small safe change that will allow a little more Modula-3 source portability.<BR>
<BR>A similar suggestion would be to change the default calling convention in Modula-3,<BR>it would very possibly reduce code size, but is very very very much a breaking<BR>change so probably can never happen.<BR>Better probably would be to a) add a switch for this b) extend the .m3exports<BR>or whatnot files to indicate what switch was used.<BR>
<BR>A "blanket pragma" might also be good, so that the various *.i3 files can<BR>say just to assume __stdcall for the rest of the file instead of annotating each functions.<BR>
<BR> - Jay<BR><BR><br /><hr />Need to know the score, the latest news, or you need your HotmailŪ-get your "fix". <a href='http://www.msnmobilefix.com/Default.aspx' target='_new'>Check it out.</a></body>
</html>