hier hab ich eine function in delphi geschrieben... Die function ist in einer .dll
// function MovetoPos(PosX, PosY : Real): Real ;stdcall => Real = Float
function MovetoPos(PosX, PosY : Integer): Integer ;stdcall;
begin
asm
mov eax, PosX
mov edx, PosX
mov ecx, eax // X zu ecx
mov ecx, edx // Y zu ecx
mov ecx, 0 // Z zu ecx
end;
end;
exports
MovetoPos;
was mache ich damit? Wie an die Position setzen, wo das richtige ecx die Position bestimmt?