<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</style>
<meta content="MSHTML 6.00.2800.1649" name="GENERATOR">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body class="hmmessage" ocsi="x">
<div style="FONT-SIZE: x-small; COLOR: #000000; DIRECTION: ltr; FONT-FAMILY: Tahoma">
<div>Jay:</div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma">For Windows 2000 SP4, using Visual C++ 2005 Express Edition:</font></div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma">1.  I tried building the MachineID.c program in the first example link, but it runs into an unresolved symbol at link time.</font></div>
<div><font face="Courier New"></font> </div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><font face="Courier New">cl MachineID.c<br>
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86</font></div>
<div><font face="Courier New">Copyright (C) Microsoft Corporation.  All rights reserved.</font></div>
<div><font face="Courier New">MachineID.c<br>
Microsoft (R) Incremental Linker Version 8.00.50727.762<br>
Copyright (C) Microsoft Corporation.  All rights reserved.</font></div>
<div><font face="Courier New">/out:MachineID.exe<br>
MachineID.obj<br>
LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup<br>
MachineID.exe : fatal error LNK1120: 1 unresolved externals</font></div>
</blockquote>
<div><font face="Courier New"></font> </div>
<div><font face="tahoma">2.  I was able to build the program in the 2nd link.  Here is the output from running this program:</font></div>
<div><font face="tahoma"></font> </div>
<div><font face="Courier New">        Num Entries: 2</font></div>
<div><font face="Courier New">        Index[0]:        16777219<br>
        InterfaceName[0]:        osoft Visual Studio 8\Common7\Tools\<br>
        Description[0]:  EL574ND4 Ethernet Adapter<br>
        Type[0]:         Ethernet<br>
        Mtu[0]:          1500<br>
        Speed[0]:        100000000<br>
        Physical Addr:   00-00-86-5E-DF-A0<br>
        Admin Status[0]:         1<br>
        Oper Status[0]:  Operational</font></div>
<div><font face="Courier New">        Index[1]:        1<br>
        InterfaceName[1]:<br>
        Description[1]:  MS TCP Loopback interface<br>
        Type[1]:         Software Lookback<br>
        Mtu[1]:          1500<br>
        Speed[1]:        10000000<br>
        Physical Addr:<br>
        Admin Status[1]:         1<br>
        Oper Status[1]:  Operational<br>
</font></div>
<div><font face="tahoma">Regards,</font></div>
<div><font face="tahoma">Randy</font></div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2"></font> </div>
<div id="divRpF936601" style="DIRECTION: ltr">
<hr tabindex="-1">
<font face="Tahoma" color="#000000" size="2"><b>From:</b> jayk123@hotmail.com [jayk123@hotmail.com] On Behalf Of Jay K [jay.krell@cornell.edu]<br>
<b>Sent:</b> Tuesday, February 15, 2011 7:56 PM<br>
<b>To:</b> Coleburn, Randy; m3devel<br>
<b>Subject:</b> RE: [M3devel] More on threading<br>
</font><br>
</div>
<div></div>
<div>It should work.<br>
 <br>
 <br>
<a href="http://dcvs.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-libs/libm3/src/uid/WIN32/MachineID.c?rev=1.14;content-type=text%2Fplain" target="_blank">http://dcvs.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-libs/libm3/src/uid/WIN32/MachineID.c?rev=1.14;content-type=text%2Fplain</a><br>
 <br>
 <br>
Bing for "MSDN GetIfTable"<br>
=> <a href="http://msdn.microsoft.com/en-us/library/aa365943(VS.85).aspx" target="_blank">
http://msdn.microsoft.com/en-us/library/aa365943(VS.85).aspx</a><br>
 <br>
 <br>
Mika, what made you think cm3 doesn't work on Windows 2000??<br>
I don't think anything has been remotely suggested.<br>
 <br>
 <br>
 - Jay<br>
 <br>
<hr id="stopSpelling">
From: rcolebur@SCIRES.COM<br>
To: jay.krell@cornell.edu; m3devel@elegosoft.com<br>
Date: Tue, 15 Feb 2011 17:05:37 -0500<br>
Subject: Re: [M3devel] More on threading<br>
<br>
<style>@page WordSection1 {}
.ExternalClass P.ecxMsoNormal {
        FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; FONT-FAMILY: 'Times New Roman','serif'
}
.ExternalClass LI.ecxMsoNormal {
        FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; FONT-FAMILY: 'Times New Roman','serif'
}
.ExternalClass DIV.ecxMsoNormal {
        FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; FONT-FAMILY: 'Times New Roman','serif'
}
.ExternalClass A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
.ExternalClass SPAN.ecxMsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
.ExternalClass A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
.ExternalClass SPAN.ecxMsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
.ExternalClass P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: 'Times New Roman','serif'
}
.ExternalClass SPAN.ecxEmailStyle18 {
        COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'
}
.ExternalClass .ecxMsoChpDefault {
        FONT-SIZE: 10pt
}
.ExternalClass DIV.ecxWordSection1 {
        
}
</style>
<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Jay, since I have a Windows2000 system, I can test the MAC address discovery (or anything else you need).  Just let me know.</span></p>
<p class="ecxMsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Regards,</span></p>
<p class="ecxMsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Randy Coleburn</span></p>
<p class="ecxMsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="ecxMsoNormal" style="MARGIN-LEFT: 0.5in"><b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</span></b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> jayk123@hotmail.com [mailto:jayk123@hotmail.com]
<b>On Behalf Of </b>Jay K<br>
<b>Sent:</b> Monday, February 14, 2011 8:12 PM<br>
<b>To:</b> Coleburn, Randy; m3devel<br>
<b>Subject:</b> Re: [M3devel] More on threading</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="MARGIN-LEFT: 0.5in"> </p>
<p class="ecxMsoNormal" style="MARGIN-LEFT: 0.5in"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Agreed -- I don't know of any reason Windows 2000 wouldn't work.<br>
Or possibly even older. The main "upgrade driving" factor is what the C toolset/runtime supports.<br>
And I've tested building with quite old C toolsets.<br>
Hm. Maybe the new-ish MAC address discovery code doesn't work on older systems? That could be.<br>
I could make that use GetProcAddress and fallback to the older code.<br>
That is an area with the historical code seemed too non-ideal to stick with, and clearer<br>
more direct code might depend on newer systems.<br>
 <br>
 <br>
 - Jay<br>
<br>
 <br>
> From: rcolebur@SCIRES.COM<br>
> To: m3devel@elegosoft.com<br>
> Date: Mon, 14 Feb 2011 18:01:14 -0500<br>
> Subject: Re: [M3devel] More on threading<br>
> <br>
> Mika wrote...<br>
> >But no I don't use Windows. I was asking on here how to get started with<br>
> >Modula-3 on Windows once but my machine was/is a Windows 2000 system and<br>
> >apparently CM3 no longer works on win2k..?<br>
> <br>
> I use CM3 on Windows 2000/XP/7 and it works on all of these versions.<br>
> --Randy Coleburn</span></p>
</div>
</div>
</div>
</body>
</html>