Thread1..

I have it declared the same way..
Code:
Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)
And for some reason it closes the IDE down - No error msg, no nothing...

Dunno why.. at a later stage i will look at it again and try it again..

Gremmy...