a C function in PB ?

Everything else that doesn't fall into one of the other PB categories.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

a C function in PB ?

Post by Polo »

I'm searching to use the function fread in Purebasic, is it possible ?
merendo
Enthusiast
Enthusiast
Posts: 449
Joined: Sat Apr 26, 2003 7:24 pm
Location: Germany
Contact:

Post by merendo »

I never coded in c but it would be possible if you code a DLL library in C which wraps this function and call this function from your PB source.

Caution: Check if it is legal to build a wrapper function in a DLL in C!
The truth is never confined to a single number - especially scientific truth!
BalrogSoft
Enthusiast
Enthusiast
Posts: 203
Joined: Sat Apr 26, 2003 6:33 pm
Location: Spain
Contact:

Post by BalrogSoft »

Hi, i dont know where to find information to use this dll: crtdll.dll, but its the microsoft c runtime library, and it exists on all windows systems, i dont know the licence of use that have this library, but i think that i could help you if you find some information about it.
Post Reply