<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<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>We have a Delphi App that uses Crystal to access a
remote InterBase database via ODBC.</FONT></DIV>
<DIV><FONT face=Arial size=2>What I want to use is the local computer ODBC
Usename and Password for logon to the InterBase Database...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The Crystal TypeLibrary provides a "</FONT><FONT
face=Arial size=2>LogOnServerWithPrivateInfo(const pDllName:
WideString; privateInfo: OleVariant)" but I am unsure how to use it. The
parameters are DLLName (that's ok) PrivateInfo (??? no idea).</FONT></DIV>
<DIV><FONT face=Arial size=2>The only erxample on the net indicates an
ODBC connection handle (I think)</FONT></DIV>
<DIV><FONT face=Arial size=2>the use "SQLGetProp" which I can't
find...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Has anyone used "<FONT face=Arial
size=2>LogOnServerWithPrivateInfo</FONT>" or managed to use the local computer
ODBC info for Crystal logon via ODBC ???</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards<BR>Paul McKenzie<BR>SMSS
Ltd.<BR>Wellington<BR>New Zealand</FONT></DIV></BODY></HTML>