John Meyer wrote:
ShellExecute(Handle,'open',i_strPINURL,nil,nil,SW_SHOWNORMAL);
produces this error in Delphi 2009.NET:
[DCC Error] Unit1.pas(80): E2251 Ambiguous overloaded call to
'ShellExecute'
Borland.Vcl.ShellAPI.pas(853): Related method: function
ShellExecute(THandle; string; string; IntPtr; string; Integer): THandle;
Borland.Vcl.ShellAPI.pas(862): Related method: function
ShellExecute(THandle; string; string; string; IntPtr; Integer): THandle;
Type-cast one of your nil arguments to IntPtr so the compiler doesn't
have to guess.
--
Rob
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi