See coreections below and DECLARE - DLL in the help.
>I have the following code:
> DECLARE Long chooseReport ;
> IN RrRpt32.Dll ;
AS rr_ChooseReportn ;
String appName, ;
String library, ;
Long lsize, ;
String rep, ;
Long size
>
>and the call to it as:
>
> nReport = rr_ChooseReport(lcApp, lcCntrl, lcRptName, (LEN(lcRptName)))
>>
>
>
1st problem:>If I use the alias, 'AS rr_ChooseReport', I get the error 'File rr_ChooseReport no found.
>
>
2nd problem:>Without the alias, I get a 'Too Many Arguments' error. There are 5 arguments in the declaration, and I'm only passing 4.
>
>Any ideas?
--sb--