English
Forum

EXE instance handle

 
- Page 1 -



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?
 
Nico Madysa
09/29/06  
 



 
- Page 1 -



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
09/29/06  
 



so, the might help...
CompileMarkSeparation
Def @LoadLibraryEx(3) !"KERNEL32","LoadLibraryExA"
Windowstyle 31+512
Windowtitle "LoadLibraryEx"
Window 0,0-640,440
Declare Module$,LADEN%,Handle_OF_MODULE&
LET Laden%=$2 Mal testen, sonst $1
Usermessages $10
LET Module$=@LOADFILE$("Ein Modul laden","DLL-Module|*.DLL|OCX-Module|*.OCX|Programme|*.EXE|Alle Dateien|*.*")

IF Module$<>""

    LET Handle_OF_MODULE&=@LoadLibraryEx(@ADDR(Module$),0,LADEN%)
    Print Handle_OF_MODULE&

endif

While %UMESSAGE<>$10

    Waitinput

wend

 
09/29/06  
 




Nico
Madysa
OK, thanks, probier I.
 
Nico Madysa
09/29/06  
 



[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.
 
09/29/06  
 




Nico
Madysa
I see , again what learnt.
time see, whether I there take off me Interessantes find will be.
 
Nico Madysa
09/29/06  
 




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).
 
Nico Madysa
10/09/06  
 



Well, Andreas has a predilection for complicated
 
10/09/06  
 



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

 
10/09/06  
 



 
- Page 2 -



Nico
Madysa
can I not understand, Have no XP
[irony]The CD becomes first tommorrow with my new HDready-telly supplied.[/irony]
can me time someone Difference explain?
 
Nico Madysa
10/09/06  
 



The LoadLibraryEx API has only 2 Parameter More, wovon of/ one without function is, and the others for you unnütz is. circa on The Resources of/ one Exe To come, bid it no advantages. only komplizierter
 
10/09/06  
 



UseDll calls The API LoadLibrary on. LoadLibrary loading The DLL and lead The Einsprungsfunktion (if present) from. is there some Call on a function or address one others OS present (The it in the actually OS not gives), does it loading into pants.

with LoadLibraryEx loading one of course The DLL, lead there but not absolutely something from (depends of Parameter ex). there You ME using, should LOAD_LIBRARY_AS_DATAFILE with you functions (I will anyway hoping). ought to The DLL compressed his, there but here Problems.

In TNT try I The DLL first with LoadLibraryEx To loading - does it schief (there tappt im dunkeln compressed is), must UseDll herhalten. On these point can I too Exportfunktionen Betriebsystemfremder DLLs read - More as some others programs can.

Greeting

Andreas
 
10/09/06  
 




Nico
Madysa
read still time whom first Posting!
i will only Logo and n bissel Text from of me programmierten Additional tools wander!
 
Nico Madysa
10/10/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.254 Views

Untitledvor 0 min.
RudiB.08/28/22
AndreasS01/06/19
Pauli01/11/14
Donnie03/30/13

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