char* to FILE*?
Is there any way I can take a char* and make a FILE* out of it, so I could use C file I/O functions on some area in memory? I haven''t been able to find anything in MSDN detailing the fields of the FILE structure, so I''m not sure how to do this. Specifically, I would like to use this with custom resources. The resources load all right, and I eventually get the pointer from LockResource(), but after that...? Thanks!
-Ironblayde
Aeon Software
"Your superior intellect is no match for our puny weapons!"
FILE comes from MS source. You could always go look up the reference to FILE and find out what the macro is made of. Don''t necessarily need MSDN for this, just go straight into the source.
Kressilac
Derek Licciardi
VP Product Development
Check out www.greatshot.com
Kressilac
Derek Licciardi
VP Product Development
Check out www.greatshot.com
Derek Licciardi (Kressilac)Elysian Productions Inc.
Kressilac, I think he was asking how to take a block of memory and access it like a file.
Oh. I was refering to his search in MSDN really. I may hve missed the question entirely.
*shrug*
Derek Licciardi
VP Product Development
Check out www.greatshot.com
*shrug*
Derek Licciardi
VP Product Development
Check out www.greatshot.com
Derek Licciardi (Kressilac)Elysian Productions Inc.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement