Search found 3 matches

by coldhands
Fri Mar 18, 2011 11:10 am
Forum: Feature Requests and Wishlists
Topic: Modules
Replies: 46
Views: 25611

Re: Modules

We need ways to create modules with well defined interfaces and "black boxed" interns. It is needed to make PureBasic usable for bigger software projects and I really hope we can see some progress on this soon, so I can use PureBasic more often for my work.
by coldhands
Mon Jan 31, 2011 12:14 pm
Forum: Coding Questions
Topic: [solved] Reading a file that is used by another program.
Replies: 4
Views: 1547

Re: Reading a file that is used by another program.

I solved the problem using WinAPI functions for file access, as described in http://www.purebasic.fr/english/viewtopic.php?f=13&t=41197 . Thanks to mk-soft :D
About the files: They're Age of Empires 2 Recorded Games. I'm streaming them from one computer to another live as they're being created ...
by coldhands
Sun Jan 30, 2011 10:01 pm
Forum: Coding Questions
Topic: [solved] Reading a file that is used by another program.
Replies: 4
Views: 1547

[solved] Reading a file that is used by another program.

Is it somehow possible to read a file that is currently being written by another program? ReadFile/OpenFile will always return 0 but opening the file with notepad works fine.