Re: Need a jump opcode generator.



// vSendTo points to sendto function in winsuck 2 ;)

byte( pointer(vSendTo)^ ) := $FF;

Ok, just tested it.

The statement above causes the application to crash.

Me wonders why and investigates...

Also tried:

byte( vSendTo^ ) := $FF;

Oh I see what the problem is...

I did set access rights for the "Stub"

But forget to set access/readwrite rights for the "winsock 2" part.

No problem.

Bye,
Skybuck.


.