English
Forum

Global Speicherbereich...

 
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  
 




Uwe
''Pascal''
Niemeier
Hello Andreas!

Related to the GLOBAL should You not so literally take!
eachone Process has its Speicherbereich, the for others Applications usually tabu is.
an Solution would The Message WM_COPYDATA. so can a Pointer on a Datenbereich a Fremdfenster senden; the Pointer becomes thereby adjusted.
disadvantage: to Auswertung is a invasion into Message-Handling the Zielfensters necessary, goes means first ex XProfan8. and the has to follow, that vordefinierte dialogs (LoadFile, SaveFile, Input, Messagebox) no useful Results More supplying, u.u. goes too Create(dialog... not any more.
of course can the MSG-expansion simply one-and switch off, (SetWindowLong with old or. new WndProc-address), nevertheless ought to RGH there something make...

heavy vereinfachte demonstration enclosed.

HTH
Pascal

 
01/23/05  
 



comic - The attachments funzen not - The Files lying neither on the Server - could You Perhaps again The Files as .zipper post?

SAlve, iF
 
01/24/05  
 




Frank
Abbing
Hi,

can you not over Clipboard solve, Andeas? would be I so make.
 
01/24/05  
 



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  
 




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.284 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