English
Forum

Global Speicherbereich...

 
- Page 1 -


Hello Profaner...

i want of a Program a Speicherbereich fill let and this then with a others Program read.
following idea:
- I put through GlobalAlloc global memory ready.
- by the Flag GMEM_FIXEDsustain I the Pointer on this area.
- I copy with RtlMoveMemory alias CopyMemory a variable in this Speicherbereich.
- Through User Message übermittele I the Pointer the Bereichs a second Program.
- with CopyMemory copy I there then whom area in a Profan Memory-Variable, The I then read can.

unfortunately I get on this lane only Garbage back. Why? has someone already time such a thing ähnliches made??
 
01/20/05  
 



 
- Page 1 -


would be me one Prog my Clipboardinhalt zerschießen would I it würgen.

salvo, iF
 
01/24/05  
 




Jörg
Sellmeyer
Hello Andreas,
could You the 2. Program not the lever one (unsichtbaren) Edits or Textfeldes give?
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
01/24/05  
 




Rolf
Koch
Hi If,

if I z.B. irgendwelchen Content the Clipboars change, then mach I it always so, that the old ensured and is to action again manufactured becomes.

Rolf
 
01/24/05  
 



Kla Rolf - there be I me sure - it uses but nothing. :|

Clearclip deletes of my opinion More as only z.B. whom Text.

there's Yes z.B. too OLEObjekte in the Clipboard, Images or. strange/Thirdpartyformate - where hold a defined software the Clipboard uses circa data in the own stature To deposit. take one z.B. Goldwave (a good shareware-WavEditor) - this save with copy whom marked area in that Clipboard one own stature. - so too many others programs.

means fingers wech of Clipboard.

salvo, iF
 
01/24/05  
 




Frank
Abbing
Hi,

Why because the Clipboard delete?
Why not as Clipboardformat CF_DSPTEXT dial.
CompileMarkSeparation
 
01/24/05  
 




Rolf
Koch
Hi If,


[quote:7e47098e7f]
there's Yes z.B. too OLEObjekte in the Clipboard, Images or. strange/Thirdpartyformate - where hold a defined software the Clipboard uses circa data in the own stature To deposit. take one z.B. Goldwave (a good shareware-WavEditor) - this save with copy whom marked area in that Clipboard one own stature. - so too many others programs.
[/quote:7e47098e7f]
means ought to The function Clipboard superfluously his, or?
how'bout?
expansion XPSE?
Realclip() (idea has Yes Frank already written)
would be super, I now really drin be in XPSE!!!
Rolf
 
01/24/05  
 



[quote:1eb0564b6e=Rolf cook]Hi If,


[quote:1eb0564b6e]
there's Yes z.B. too OLEObjekte in the Clipboard, Images or. strange/Thirdpartyformate - where hold a defined software the Clipboard uses circa data in the own stature To deposit. take one z.B. Goldwave (a good shareware-WavEditor) - this save with copy whom marked area in that Clipboard one own stature. - so too many others programs.
[/quote:1eb0564b6e]
means ought to The function Clipboard superfluously his, or?
how'bout?
expansion XPSE?
Realclip() (idea has Yes Frank already written)
would be super, I now really drin be in XPSE!!!
Rolf[/quote:1eb0564b6e]
No circa Gottes sake superfluously is tappt im dunkeln not - only tappt im dunkeln ought to only then used go if the User it auslöst. otherwise white it Yes not the his Clipboard überschrieben becomes.

salvo, iF
 
01/24/05  
 



Hello avenue together...

first once many Thanks for eure numerous Answer!

@Frank: It's all right me here time again ums learn and not ums Applications write. nevertheless best Thanks for your suggestion - so GEHTS naturally too.

@Jörg: the was bislang my Solution, over User Message lever one Textelementes Send and then read.

@Uwe Pascal Niemeier: What is then the Difference between LocalAlloc and GlobalAlloc? and what are then Atome?? should Atome not global auslesbare Strings his???

@Rolf: your view over the Clipboard pieces I - is well Ansichtssache...
 
01/24/05  
 



 
- Page 2 -


AAAAAAAAH...

so slow begin ichs To understand. GlobalAlloc and LocalAlloc shining it only yet from kompatibilitätsgründen To 16-bit windows To give. under 32-bit windows Gibts there none Difference More.

but there's apparently others APIsm with them one memory share can, and the I will me standing!
best Thanks means over again on Uwe Pascal Niemeier! have whom whom nodes resolved!!! (hopefully)
 
01/24/05  
 




Uwe
''Pascal''
Niemeier
Hello people, Hello Andreas!

With the whom Atomen have so did i already heard
but there's into Dokus too The speech of it, that its amount terminable is.

but I have there nochwas: FileMapping
thereby becomes a manner virtual File (means only memory) laid out, on everybody can of everywhere since grab can. shining me The simplest Solution To sein; must naturally yet XP/NT tested go!

The Vollständigkeit halber have so did i The CopyData-Demos yet with boxed, weils Yes there Problems at Runterladen given.

HTH
Pascal

4 kB
Hochgeladen:01/24/05
Downloadcounter111
Download
 
01/24/05  
 



Bingo!

Filemapping have I meant - The Possibility there yet. before I me your Source ansehe, I will first time try, me self what To basteln - wants Yes what learn...
 
01/25/05  
 




Uwe
''Pascal''
Niemeier
Hello people!
small Nachtrag: into FileMapping-Demos has one small Error eingeschlichen.
on the end the Codes must it Correctly heissen

~UnmapViewOfFile(ViewHandle&) and not ~CloseHandle(ViewHandle&)

Sorry!
Pascal
 
01/28/05  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

12.241 Views

Untitledvor 0 min.
Jörg Sellmeyer06/12/20
Ernst05/08/16
H.Brill11/16/13
Michael Borowiak12/22/12

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie