Page 1 of 1

What happened to _lclose_()?

Posted: Wed Apr 14, 2004 8:32 am
by Alberto
I dont know if this is a bug but try to execute the code of this topic
viewtopic.php?t=5270&highlight=lclose

The code works good on PureBasic 3.70 but on the next releases till 3.90 it doesn't function. The PureBasic tells me:

_lclose_() is not a function, an array or a linked list

The problem is that I've made several programs using the _lclose_() API function and the new version of PureBasic desn't support this function.

What have I to do?

Is it a bug?

Alberto :cry:

Posted: Wed Apr 14, 2004 8:50 am
by einander
@Alberto:
Windows API Platform SDK says: _lclose is a Obsolete Windows Programming Element.

I'ts replaced by CloseHandle_
Hope this helps.

Eureka!!

Posted: Wed Apr 14, 2004 10:20 am
by Alberto
CloseHandle works well.

Many thanks

Alberto :D