Here's what I'm trying to compile: http://pastebin.com/f7f6bceab Getting an error at: Public Declare Sub RtlMoveMemory Lib "kernel32" (Dest As Any, Src As Any, ByVal L As Long) Could someone else try and see what the problem is? I really want to get this compiled into a .dll