On Tue, 01 Dec 2009, J. Lefebvre wrote: Hi,
> Hummmm, not sure it is really related to a problem with ADORDD (see dos > error). > I have exactly the same error trying to access Crystal report runtime XI. > Error occurred at: 01/12/2009, 14:26:32 > Error description: (DOS Error -2147352567) OLE/3012 Argument error: > SETREPORTVARIABLEVALUE > Args: > [ 1] = C FADEVCUR > [ 2] = C True > Stack Calls > =========== > Called from: => WIN_OLEAUTO:SETREPORTVARIABLEVALUE(0) > Called from: crwcole.prg => CRW:SETFORMULA(848) > I checked documentation at least 1 million time, arguments I send to > "SetReportVariableValue" are ok. All OLE errors have 'Argument error' in description so it does not give you any valuable information. > I suspect some argument type error in ole implementation. I do not think so. At least the information you presented suggest that it's not Harbour problem at all. > Ole2TxtError() give DISP_E_EXCEPTION but I'm not sure it is related. And this it the only one important information. This error is reported by OLE object from Invoke() method and you should check in OLE object documentation for the reasons why calling method: SETREPORTVARIABLEVALUE( "FADEVCUR", "True" ) generates above error. This happens outside Harbour code. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour