English
Includes

MemoryModule - DLLs directly from Speicherberich loading

 
- Page 1 -



Sebastian
König
Hello together,

here time a Kleinigkeit To christmas there me someone therefore gebeten having, have I a code, the one with DLLs directly and without detour over a temporary File a Speicherbereich (the to that Example of Frank Abbings Datengenerator prepares becomes) into Program loading can, of C to XProfan Translated and a Include prepares. there it Perhaps yet others interested, poste I it time here.

The Benutzung is really very simply and ought to on hand the beigelegten Testcodes slight nachzuvollziehen his - otherwise simply ask! unfortunately functions it first ex XProfan 9.0, I Version 8.0 some verschachtelten long()-Aufrufe somehow not very good likes...

plenty Fun so and naturally glad christmas!

Sebastian

32 kB
Hochgeladen:12/24/06
Downloadcounter282
Download
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
12/24/06  
 



 
- Page 2 -



Sebastian
König
so - here's now Version 0.0.2 - published under the Mozilla Public licensed.

another small Info: for the employment in finished Programs can The Debug-expenses very simply complete deaktivieren, because The Print-Line in the procedure OutputStatus auskommentiert becomes.

MfG

Sebastian

46 kB
Kurzbeschreibung: Version 0.0.2
Hochgeladen:12/30/06
Downloadcounter129
Download
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
12/30/06  
 



who rather with classes operates (particularly if one MemoryModule in PCUs uses important) can also my geänderte Version benefit. isn't the same thing How iF its class, needed means not absolutely XPSE

is now only The Include, MemoryModule.ph becomes additional yet needed. guide Gibts no, for whom dokumentierten angepaßten Testcode
CompileMarkSeparation
 $I LoadDLLMem.inc
 $I TestDLL.inc
WindowTitle "MemoryModule - Test"
Cls
Klasse erstellen
Declare MM#
MM# = New(LoadDLLMem, mem#)
Dispose mem#
Declare pFunc&
pFunc& = MM#.Get("TestBox") entspricht GetProcAddressM, erster Parameter entfällt
Print "Funktion:", pFunc&
Case pFunc& <> 0 : Call(pFunc&, %hwnd, "Hallo Welt!")
MM#.Free()  entspricht FreeLibraryM, Parameter entfällt
Print
Print "Taste zum Beenden!"
WaitKey
End

Einziger Difference is only, the The functions in a class gekapselt are!

Greeting
Thomas

5 kB
Hochgeladen:01/07/07
Downloadcounter159
Download
 
12/30/06  
 




Frank
Abbing
Experimentell have I a XPIA-Version develops, The with the MemoryModulen operates. thereby go The Module directly in whom code integrate, without that a self-contained inc- or ph-File necessary would. to find in the XPIA-Forum.
 
12/30/06  
 



@Thomas: I had too a einfachen Callwrapper the class added, I found whom integrally useful I find whom should You take.
 
12/30/06  
 



[quote:6184349714=iF]@Thomas: I had too a einfachen Callwrapper the class added, I found whom integrally useful I find whom should You take. [/quote:6184349714]
The Idea is Yes not so bad, but the Get was me importent, because only once sought becomes. One Call which Zeitvorsprung because of of jedesmal search missing isn't the yellow of egg will be but something ähnliches with opportunity yet to assimilate, increased The compatibility To your class
 
12/30/06  
 



The function was too under no circumstance for maximum performance virtual, sooner as Helper for items with them not in that weight falls - How z.B. MessageBoxen etc...
 
12/30/06  
 



Have now The method Call to class added (obiger Link)
CLASS#.Call(function, P1&, P2& ... P12&)
Strings are by Addr(Text$) To transfer
 
12/30/06  
 




Sebastian
König
Update on Version 0.0.2a

After one Info Thomas Schulz (thanks again!) have I another further function installed: GetInstanceM. The Return Value can as instance- or. Module-lever to that example to that loading of Resources from the DLL uses go.

45 kB
Kurzbeschreibung: Version 0.0.2a
Hochgeladen:01/07/07
Downloadcounter340
Download
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
01/07/07  
 



Have The Classe LoadDLLMem too around the method GetHandle without Parameter extended

Greeting
Thomas
 
01/07/07  
 



I have whom local, that the unfortunately not all DLLs goes - lie I there correctly.?

PS: recommend too to ModHunter, the too in this manner loaded Module listet.
 
03/30/07  
 




Frank
Abbing
with whom Dll GEHTS because not? i'm bislang yet no under come.
 
03/30/07  
 



vlt. dlls which as file self open want...
 
03/30/07  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

38.202 Views

Untitledvor 0 min.
Jens-Arne Reumschüssel05/28/23
H.Brill04/30/23
iF11/01/20
p.specht06/12/20
More...

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