Hi,
What I should do to be able to use the msvcrt lib available on PureLibraries\Windows ?
I tryed some function with and without undescore but the compiler always complain: "fopen_() is not a function, an array or a linked list".
Thank you,
RValois.
MSVCRT lib in PureLibraries\Windows
You can't use these library directly, they are used by the compiler for the purebasic librairies.
So, what you can do is to code a userlib wrapping such function and then you will be able to use fopen, fwrite etc ... as normal purebasic commands.
Btw, why not just using the winapi functions ? (SetFilePointer, CreateFile, ReadFile ...) or the pb internal files functions :roll:
So, what you can do is to code a userlib wrapping such function and then you will be able to use fopen, fwrite etc ... as normal purebasic commands.
Btw, why not just using the winapi functions ? (SetFilePointer, CreateFile, ReadFile ...) or the pb internal files functions :roll:
Because there is no such thing as one to one relation between crt and winapi nor crt and pb functions. :roll:Btw, why not just using the winapi functions ? (SetFilePointer, CreateFile, ReadFile ...) or the pb internal files functions
fopen was just an example.
Any way, thanks for the info.
RValois.