So I tried the source place, looked into urlmon, and came up with this code.
rem Setup
set window on : set window title "DLL Test"
sync on : sync rate 0
rem Load Dll
load dll "urlmon",1
rem Check For Valid Url
result = CALL DLL(1,"IsValidURL", 0, "http://www.google.com", 0)
print result
rem Run Empty Loop
while escapekey() = 0
rem Refresh
sync
endwhile
rem Remove dll from memory
delete dll 1
It runs and the dll returns a 1. When I replace google with some website that doesn't exist, it still returns a one... I'm looking at the return type and I'm thinking that might be why. Any ideas? Heres the function I'm Using:
http://source.winehq.org/source/dlls/urlmon/urlmon_main.c
Scroll down about half way and you'll see info on the function.
I'm pretty sure the function is supposed to identify if its a valid url, but now that I think about it, I may have just assumed this..