Thanks for the help! It was pretty much like I had figured out, although I couldn't get my app accept the subroutine, cause I called the DLL wrong.
Thanks again :-)