Seite 3 von 3

Re: oop Plugin

Verfasst: 08.05.2006 22:25
von fsw
fsw hat geschrieben: Das ist ein interessantes Programm. :allright:
Allerdings habe ich mich an dieses Topic erinnert:

http://www.purebasic.fr/english/viewtopic.php?t=19737

wo Fred sagt das es nicht immer 100%ig funktioniert.


Any thoughts :?

Verfasst: 08.05.2006 22:47
von edel
Stimmt. Sobald man mit Strings arbeitet (z.b. string1+string2)
wird Ebp ueberschrieben, da Ebp zum kopieren? benutzt wird.
Mit ein bisschen Asm sollte das aber zu regeln sein .

Verfasst: 10.05.2006 10:06
von Hellhound66
Schauen wir mal, ob es in der Final immer noch läuft. Ansonsten musst du echt Interfaces nehmen.

Verfasst: 10.05.2006 17:04
von MVXA
Habe was zum Thema OOP und This gefunden:
Native C++ method call (also known as thiscall)
Function parameters are passed on the stack, pushed right to left, the "this" pointer is passed in the ecx register, and the callee cleans the stack.
Muss Fred sich nicht daran halten :? ?

Verfasst: 10.05.2006 22:58
von Hellhound66
Das macht er sicherlich, wenn du eine Methode eines Interfaces aufrufst.
Edel arbeitet aber (noch) nicht mit Interfaces.