-
Apr 16th, 2015, 06:08 PM
#1
Get some memory and then save that memory stream to disk
Right now I call my C++ functions from managed code and pass in integer arrays so I have workspace.
How would I go about grabbing some memory directly in C++ for my use.
And secondly - how would I go about writing that memory stream to a binary file so that I could restore it's contents from file at a later date?
-
Apr 17th, 2015, 03:21 AM
#2
Re: Get some memory and then save that memory stream to disk
All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
Apr 17th, 2015, 10:39 AM
#3
Re: Get some memory and then save that memory stream to disk
Thanks for the links!
Clarification - I'm not using managed c++, I'm calling my c++ functions from managed VB.Net world. VB.Net was used for proof of concept - now I want to be all c++.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|