I have a very simple js file:
function geoip_country_code() { return 'US'; }
function geoip_country_name() { return 'United States'; }
function geoip_city() { return 'New York'; }
function geoip_region() { return '06'; }
function geoip_region_name() { return 'xxx'; }
function geoip_latitude() { return '55'; }
function geoip_longitude() { return '99'; }
function geoip_postal_code() { return ''; }
function geoip_area_code() { return ''; }
function geoip_metro_code() { return ''; }
I would like to call geoip_country_code from a win32 code. Is it even possible?
You have not specified a language but this is possible with COM;
MSScriptControl.ScriptControlhttp://support.microsoft.com/kb/229669