| |
|
|
Jac de Lad | Hello Community!
with the API CreateFile can each crowd verschiedener Files create. I Search a Possibility a File quasi in the RAM to create circa then through of/ one DLL-function hereon access, something so To make and the File subsequently again To delete. so would I a temporary File surrounding, what in the first faster is and secondly simply schöner. knows itself someone so from? I come with the Help not clear, there's the etliche Parameter with hunderten Opportunities...
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 04/18/08 ▲ |
|
|
|
|
| Yes, this is vaguely the what The pipe-unit power.
//create
h&=external(kernel32,CreateFileMappingA,$FFFFFFFF,0,4,0,32767,addr(nam$))
a&=external(kernel32,MapViewOfFile,h&,2,0,0,32767)
//close
external(kernel32,UnmapViewOfFile,a&)
external(kernel32,CloseHandle,h&)
|
|
|
| |
|
|
|
Jac de Lad | but how can I The File benefit, if The function the DLL a Zeiger on a Filenames needed?
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 04/18/08 ▲ |
|
|
|
|
| string a&,0=Blub |
|
|
| |
|
|
|
Jac de Lad | I Have me in the MSDN The APIs respected, but I come lest clear. have you got possible one Minimalbeispiel?
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 04/19/08 ▲ |
|
|
|
|
| in the momentum not - The pipeUnit raspelt much there-and-since so these hardly shows as simply goes... |
|
|
| |
|
|
|
Jac de Lad | this is badly. nevertheless thanks, I look me time moreover circa. |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 04/19/08 ▲ |
|
|
|
|
Frank Abbing |
I Search a Possibility a File quasi in the RAM to create circa then through of/ one DLL-function hereon access, something so To make and the File subsequently again To delete.
hears itself for me on like a stinknormaler Speicherbereich. Übergib simply a Zeiger on the memory on The Dll-function, z.B. NeueFunktion(area#) |
|
|
| |
|
|
|
| is correct, it brauchs Yes not at all prozessübergreifend, be because The DLL runs in another Process... |
|
|
| |
|
|
|
Andreas Miethe
| Frank Abbing
Frank AbbingI Search a Possibility a File quasi in the RAM to create circa then through of/ one DLL-function hereon access, something so To make and the File subsequently again To delete. hears itself for me on like a stinknormaler Speicherbereich. Übergib simply a Zeiger on the memory on The Dll-function, z.B. NeueFunktion(area#)
won't functions ! so How I the understood have, should a File, The only Ram lying, with a Filenames addressed go.
example:
an EXE becomes through Datengenerator into Exe eingebunden. there have I mean EXE in the Speicherbereich. now attempt time with the Kernel32.Dll by CreateProcess() the thing to work to catch. there becomes no Speicherbereich separate one Dateiname expects. always if a Dll-function a Zeiger on a Filenames expects, and of it there a crowd, becomes the so not functions.
Please berichtige me if I there wrong lie ! |
|
|
| Gruss Andreas ________ ________ ________ ________ _ Profan 3.3 - XProfanX2 Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher Homepage : [...] | 04/20/08 ▲ |
|
|
|
|
Frank Abbing |
Please berichtige me if I there wrong lie !
You lie there sure not wrong. The thing with the Filenames have I aware outer to held, because I like this gone out was, that Jac The Dll yourself created. For this found I The engineering over The reaches plenty sinnvoller. the goes but with of/ one strangers Dll not.
but i am sure, that too a Exedatei from memory launched go can. still does it indeed with Dlls (Memorymodule) and these are so too Exedateien. however, everything in everything is iFs Solution vorzuziehen. i am sure, it supply Jac yet a short Democode moreover. |
|
|
| |
|
|
|
Andreas Miethe
| Hello Frank,
is a integrally others story, if The Dll self written becomes. of it I'm going but not from.
Jac
but how can I The File benefit, if The function the DLL a Zeiger on a Filenames needed? Jac |
|
|
| Gruss Andreas ________ ________ ________ ________ _ Profan 3.3 - XProfanX2 Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher Homepage : [...] | 04/20/08 ▲ |
|
|
|