You should be using VirtualQuery instead of IsBadReadPtr/IsBadWritePtr (which you aren't even using in the first place). You also need to convert the Text property (String^) to the int data type.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum