<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When I create a COM object application in Delphi 
6&nbsp;under Windows 2000, the object&nbsp;methods&nbsp;are&nbsp;defined 
as&nbsp;"stdcall" in the type library. However, going through the same process 
in Delphi 6 on a Windows XP machine defines the&nbsp;methods with the calling 
convention&nbsp;"safecall".</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Since I switch development of the same application 
between these two machines, this is a pain. </FONT><FONT face=Arial size=2>Has 
anyone come across this before? Is there a way to force the type library 
functions to use one calling convention?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Todd.</FONT></DIV></BODY></HTML>