How to run a virtual file residing in memory
I have a question about using of virtual files.
My question is simple: I have a program for virtualization, how can I to store a file in memory and then execute it from memory?
The first argument should be a string. Do you agree?
You would first of all need to create a RAM Drive (aka RAM Disk) so that a portion of RAM is assigned a drive-letter, which is essential if you want to be able to manually copy a file to it: How to create a RAM Disk: http://blog.laptopmag.com/faster-th...
I do not quite understand for what it is necessary to create RAM Drive?
Thanks for the idea I will try this method
How about a portable version of the player?
I think this could solve the problem
Hi, could you clarify what the programs do you use for virtualization, what operating system?
@Gabriell
I use Windows 8, MoleBox and BoxrdApp Packer.
Can I ask you to to show an example?
Example BoxedAppSDK.NativeMethods.BoxedAppSDK_CreateVirtualFile(My.Resources.test,
BoxedAppSDK.NativeMethods.EFileAccess.GenericAll,
BoxedAppSDK.NativeMethods.EFileShare.None, IntPtr.Zero,
BoxedAppSDK.NativeMethods.ECreationDisposition.New,
BoxedAppSDK.NativeMethods.EFileAttributes.Normal,
IntPtr.Zero)
The first argument should be a string. Do you agree?
Thanks for the correction I will consider it
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |