Re: Funktionszeiger

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ulrich Korndoerfer (ulrich_wants_nospam_at_prosource.de)
Date: 05/25/04


Date: Tue, 25 May 2004 17:55:12 +0200

Hallo Harald,

"Harald M. Genauck" schrieb:

> > *** Verwendung von im VB-Code eingebetteten Binärcode (zB
> > Assemblerroutinen)
> >
> > Binärcode zB. als binäre Ressource in die Exe einbetten, dann zB. in ein
> > Array laden, Deklaration der Signatur nach Bedarf, Aufruf des Codes über
> > CallFunc mit der Startadresse des Codes als erstem Parameter.
>
> Bist Du sicher, dass dies zukunftssicher ist? Insbesondere hinsichtlich der
> Execution Protection, wie sie bereits mit dem unmittelbar vor der Tür
> stehenden XP SP2 zu erwarten ist?

Für die zu erwartende "execution protection" muß man dann vom Array auf
anderweitig allozierten Speicherplatz, der mit den entsprechenden
Ausführungsrechten ausgestattet ist, umsteigen. Prinzipiell ist die
Verwendung von eingebettetem Binärcode weiterhin möglich.

-- 
Ulrich Korndoerfer
VB tips, helpers, solutions -> http://www.proSource.de/Downloads/


Relevant Pages

  • Re: Overload assignment operator for an user defined type array with vector scripts
    ... with minimum change to the existing codes. ... Assigning integer or real numbers to vector-scripted array is perfect ... Rewriting the original vector-scripted array assignment ... are vector valued subscripts and are harder to handle. ...
    (comp.lang.fortran)
  • Re: passing a string to a dll
    ... An array is just ... He stores strings into an array; these strings represent valid codes. ... bool IsValidCode(string codeToCheck) ... Putting them in a DLL has effectly zero impact. ...
    (microsoft.public.vc.mfc)
  • Re: Embedding assembler in a language
    ... the type of a variant. ... For single operand codes, this is then used ... All this things can be decided at compile time. ... (probably every time an array element is accessed). ...
    (comp.lang.misc)
  • Re: Dynamic Array not response
    ... Dim TargetRng As Range ... After several attempts to run the codes below, ... last row of data only (ie only response to last row in this array ... Dim iNextRow As Long ...
    (microsoft.public.excel.programming)
  • Re: vlookup items in an array
    ... Just to show that a binary search is indeed much faster (but the array will hvae to be sorted) this code: ... Dim i As Long ... Dim lValue As Long ... new codes by looking them up in a separate worksheet. ...
    (microsoft.public.excel.programming)