For Programmers: Free Programming Magazines  


Home > Archive > Clarion > May 2006 > read file with WINDOWS API









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author read file with WINDOWS API
Franky

2006-05-24, 7:55 am

Hi,


can i help me with the api in clarion..
the api to open file

in inside the global map

MODULE('Windows API')
_lopen(*CSTRING,SIGNED),SIGNED,PASCAL,RA
W
END

in procedure routine
f# = _lopen(fichero,2)

but the file is not open.. return error -1

can i help me, please



Leonid Chudakov

2006-05-24, 6:55 pm

What is in fichero? is it possible this file is already open?

--
--
Leonid Chudakov
chudakov@klarisoft.com
Cool tools and Clarion examples at
http://www.klarisoft.com

"Franky" <franmr@jazzfree.com> wrote in message
news:e51f0k$gv5$1@nsnmrro2-gest.nuria.telefonica-data.net...
> Hi,
>
>
> can i help me with the api in clarion..
> the api to open file
>
> in inside the global map
>
> MODULE('Windows API')
> _lopen(*CSTRING,SIGNED),SIGNED,PASCAL,RA
W
> END
>
> in procedure routine
> f# = _lopen(fichero,2)
>
> but the file is not open.. return error -1
>
> can i help me, please
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com