File IO Class
Has anyone tried to register ifstream or ofstream objects or a simple wrapper class based off of these objects for simple File IO operations?
I have a basic class that works just fine if i use the object in a test app, but when i register the class with AS and call it from script, the stream objects do not function as intended, everything is registered properly and all of the code is called correctly as i have stepped through it all, but it just fails to work.
I've actually managed to register the iostream classes, and have submitted it to witchlord. It's available on the extras page. When I tested it, it worked fine with file streams as well.
However, I havn't managed to try it on the newsest version (2.x), but since I didn't use pointers (I did use references though), it should work!
Let me know if there are any problems.
However, I havn't managed to try it on the newsest version (2.x), but since I didn't use pointers (I did use references though), it should work!
Let me know if there are any problems.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement