Español
C ++ Foro

Hecho: Inline-Asm via Inline-C++

 
Cuestión:
Como sieht entonces mi ASM-Rutina de, el Yo a Profano tiempo2ccp einbinde , si yo ellos como Inline nutzen möchte para Borland 5.5 ?

So rufe Yo esta en : z&=Call(xpia_getprocaddressm(xpia_hmodule&,rgb_farbe),b#,c#,groesse&)

Gracias.

mfg
 
08.04.2009  
 




Sebastian
König
¡Hola Peter,

Yo el Cuestión veces en una eigenen Contribución movido.

Peter Bierbachh
Cuestión:
Como sieht entonces mi ASM-Rutina de, el Yo a Profano tiempo2ccp einbinde , si yo ellos como Inline nutzen möchte para Borland 5.5 ?

So rufe Yo esta en : z&=Call(xpia_getprocaddressm(xpia_hmodule&,rgb_farbe),b#,c#,groesse&)
(...)


Der Rahmen wäre prinzipiell:
P2CPP <INLINE_CPP>
__asm

{

    // Ensamblador-Code hier

}

P2CPP: </INLINE_CPP>

Aunque glaube Yo kaum, dass Usted el código así simplemente komplett tomar kannst, porque Inline-Asm en C++ es en el Regel para kurze Abschnitte, el direkt a el Punto en el Code, a el ellos posición, eingebunden voluntad, pensamiento. Das Definieren de Características, el Usted entonces de otro Punto con Call() aufrufen kannst, va bastante sicher no. Ohne lo ahora getestet a haben vermute Yo auch, dass No el volle Anzahl de Makros usw. disponible haben wirst.

Fazit: Usted puede veces con el oben beschriebenen Schablone experimentieren, aber para größere ASM-Codes es XPIA bastante sicher el bequemere Alternative.

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
08.04.2009  
 



Das Yo me fast pensamiento.
XPIA restos el Solución längere Call-Características.

mfg
 
08.04.2009  
 



Respuesta


Título del Tema, max. 100 Signo.
 

Systemprofile:

Kein Systemprofil creado. [anlegen]

XProfan:

 Contribución  Font  Smilies  ▼ 

Bitte registro en una Contribución a verfassen.
 

Tema opciones

5.440 Views

Untitledvor 0 min.
funkheld22.05.2016
iF20.02.2011

Themeninformationen

Dieses Thema ha 2 subscriber:

unbekannt (2x)
Sebastian König (1x)


Admins  |  AGB  |  Applications  |  Autores  |  Chat  |  Política de Privacidad  |  Descargar  |  Entrance  |  Ayuda  |  Merchantportal  |  Pie de imprenta  |  Mart  |  Interfaces  |  SDK  |  Services  |  Juegos  |  Búsqueda  |  Support

Ein Projekt aller XProfan, el lo son!


Mi XProfan
Privado Noticias
Eigenes Ablageforum
Temas-Merkliste
Eigene Beiträge
Eigene Temas
Zwischenablage
Cancelar
 Deutsch English Français Español Italia
Traducciones

Política de Privacidad


Wir uso Cookies sólo como Session-Cookies wegen el technischen Notwendigkeit y en uns hay no Cookies de Drittanbietern.

Wenn du hier en unsere Webseite klickst oder navigierst, stimmst du unserer Erfassung de Informationen en unseren Cookies en XProfan.Net a.

Weitere Informationen a unseren Cookies y dazu, como du el Kontrolle darüber behältst, findest du en unserer nachfolgenden Datenschutzerklärung.


einverstandenDatenschutzerklärung
Yo möchte no Cookie