You need to add a return type when you declare a function, e.g.:
Declare Function dll_routine_name Lib "lib_name.dll" ( ByVal
logical_variable as logical ) As Integer


digeteca wrote:
> 
> We used to introduce logical vaiables in function declaration by the line
> hereafter:
> declare function dll_routine_name lib "lib_name.dll" ( ByVal
> logical_variable as logical )
> This type of declaration worked well with MapBasic 4 and seems to be not
> supported anymore by MapBasic 5, with an error message at compilation:
> invadid or missing argument list.
> Does somebody have any idea what the cause is and what the solution is?
> Thanks in advance,
> 
> Gilles

-- 
- Bill Thoen
------------------------------------------------------------ 
GISnet, 1401 Walnut St., Suite C, Boulder, CO  80302
tel: 303-786-9961, fax: 303-443-4856
mailto:[EMAIL PROTECTED], http://www.gisnet.com/
------------------------------------------------------------

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3610

Reply via email to