| |
|
|
| 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?? |
|
|
| |
|
|
|
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 |
|
|
| |
|
|
|
| comic - The attachments funzen not - The Files lying neither on the Server - could You Perhaps again The Files as .zipper post?
SAlve, iF |
|
|
| |
|
|
|
Frank Abbing | Hi,
can you not over Clipboard solve, Andeas? would be I so make. |
|
|
| |
|
|
|
| would be me one Prog my Clipboardinhalt zerschießen would I it würgen.
salvo, iF |
|
|
| |
|
|
|
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 |
|
|
| |
|
|
|
| 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 |
|
|
| |
|
|
|
Frank Abbing | |
|
| |
|
|
|
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 |
|
|
| |
|
|
|
| [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 |
|
|
| |
|
|
|
| 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... |
|
|
| |
|
|