Sounds good to me. Try this:
http://www.pascalgamedevelopment.com...fbb3922a#42877

The handle to your own application can be read from
system.MainInstance

This way you don't need to init SDL_Video or create a window with SDL - only in case it works, of course.