| |
|
|
Nico Madysa | OK, the following:
I have to Kurzem my Program a small ListBox hinzu gefügt. In your should any EXEn (vornehmlich Additional tools To my Program) in the same Ordner How my Program showing. dial is a EXE from, becomes moreover your Logo and a short Description displayed. Images and Strings are as Ressourcen into EXEn eingelagert. now the trouble:
with Draufklick call I the suitable Program with WinExec on, sustain his Instanzhandle and ziehe with Create(hPic) and ExtString$() The things out, The I custom. The problem: it came weder Image yet String. I probierte The thing in the suitable Program self with %hInstance - Image and String came.
my question now: can it his, that WinExec quite no Instanzhandle back supply? And if not, How war I it then? |
|
|
| |
|
|
|
Rolf Koch | you have you The question with the Instancehandle already answers and was even here already öfters described: Winexec supply only whom Error Code back |
|
|
| |
|
|
|
| [quote:e25ce0ex4c=Nico Madysa] my question now: can it his, that WinExec quite no Instanzhandle back supply? And if not, How war I it then?[/quote:e25ce0ex4c] so is it. so functions not! the Instanzhandle the application is the lever the Prozesserzeugenden Moduls in the jeweiligen Process.
look you times the API LoadLibraryEx on, The helps you moreover. TNT might there ditto well for you his, so You The thing understand.. |
|
|
| |
|
|
|
| UseDLL ought to functions, simply The Exe instead of of/ one DLL indicate. the Result kannste benefit, habs with Profan now not tested, but if not goes, use The ~LoadLibraryA API |
|
|
| |
|
|
|
Nico Madysa | @A. Hötker: TNT is definitiv nothing for me, though not from dislike, sonern because I windows ME Have.
@A. Hötker and TS-Soft: thanks for speedy response. ought to UseDLL not functions, I will The API try. (Hehe, the reimt itself.) |
|
|
| |
|
|
|
| |
|
| |
|
|
|
Nico Madysa | OK, thanks, probier I. |
|
|
| |
|
|
|
| [quote:c0fd4ace4f=Nico Madysa]@A. Hötker: TNT is definitiv nothing for me, though not from dislike, sonern because I windows ME Have. [/quote:c0fd4ace4f] some functions (How z.B. the Scannen of Prozessspeicher stranger processes or The Taskmannagerfunktionen) walk too under ME. |
|
|
| |
|
|
|
Nico Madysa | I see , again what learnt. time see, whether I there take off me Interessantes find will be. |
|
|
| |
|
|
|
Nico Madysa | OK, thanks all, the trouble is too for API-Fürchter How me simply clarified.
one must not LoadLibraryEx grab, UseDLL goes too. (I had the trouble almost forget, there I had with nem LoadFile-dialog from slip ne EXE chosen and the then me UseDLL opened, functions without Error). |
|
|
| |
|
|
|
| Well, Andreas has a predilection for complicated |
|
|
| |
|
|
|
| [quote:1fc9eb0811=TS-Soft]Well, Andreas has a predilection for complicated [/quote:1fc9eb0811] can I of I do not insist - sooner in the contrary. I have mere integrally gladly always little more Opportunities as the remainder the mankind attempt time with Usedll XP The User32 Windows98 To loading - and then mach the time with LoadLibraryEx .
|
|
|
| |
|
|