Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Repost. Pin
john56326-May-10 21:09
john56326-May-10 21:09 
GeneralRe: Repost. Pin
CPallini6-May-10 21:15
mveCPallini6-May-10 21:15 
GeneralRe: Repost. Pin
john56326-May-10 21:27
john56326-May-10 21:27 
GeneralRe: Repost. Pin
Richard MacCutchan6-May-10 21:36
mveRichard MacCutchan6-May-10 21:36 
GeneralRe: Repost. Pin
CPallini6-May-10 21:36
mveCPallini6-May-10 21:36 
GeneralRe: Repost. Pin
Emilio Garavaglia6-May-10 21:35
Emilio Garavaglia6-May-10 21:35 
AnswerRe: do it like this. Pin
wangningyu6-May-10 21:58
wangningyu6-May-10 21:58 
AnswerRe: Geo Location Using www.ip2location.com C Library Module (not free) Pin
Software_Developer7-May-10 0:25
Software_Developer7-May-10 0:25 
Download - C Library Module and link it to your app.


IP2Location C Library

http://www.ip2location.com/c.aspx



Developers can use the API to query all IP2Location™ binary databases for applications written in C
to find the country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type,
area code and weather that any IP address or hostname originates from.



Sample Source Codes

#include <IP2Location.h>


int main()
{
	IP2Location *IP2LocationObj = IP2Location_open("../data/IP-COUNTRY-SAMPLE.BIN");
	IP2LocationRecord *record = IP2Location_get_all(IP2LocationObj, "161.11.12.13");
	printf("%s %s %s %s %s %f %f %s %s %s %s\n,
	   record->country_short,
	   record->country_long,
	   record->region,
	   record->city,
	   record->isp,
	   record->latitude,
	   record->longitude,
	   record->domain,
	   record->zipcode,
	   record->timezone,
	   record->netspeed,
	   record->iddcode,
	   record->areacode,
	   record->weatherstationcode,
	   record->weatherstationname);
	IP2Location_free_record(record);
	IP2Location_close(IP2LocationObj); 

return 0;
}

QuestionLinking error when I try to link MFC Static library to my application Pin
manoharbalu6-May-10 19:13
manoharbalu6-May-10 19:13 
AnswerRe: Linking error when I try to link MFC Static library to my application Pin
Richard MacCutchan6-May-10 21:40
mveRichard MacCutchan6-May-10 21:40 
GeneralRe: Linking error when I try to link MFC Static library to my application Pin
manoharbalu6-May-10 21:53
manoharbalu6-May-10 21:53 
GeneralRe: Linking error when I try to link MFC Static library to my application Pin
Richard MacCutchan6-May-10 22:46
mveRichard MacCutchan6-May-10 22:46 
GeneralRe: Linking error when I try to link MFC Static library to my application Pin
manoharbalu6-May-10 23:28
manoharbalu6-May-10 23:28 
GeneralRe: Linking error when I try to link MFC Static library to my application Pin
Richard MacCutchan6-May-10 23:54
mveRichard MacCutchan6-May-10 23:54 
QuestionCRT_DEBUGGER_HOOK Pin
Fareed Rizkalla6-May-10 13:27
Fareed Rizkalla6-May-10 13:27 
AnswerRe: CRT_DEBUGGER_HOOK Pin
«_Superman_»6-May-10 15:48
professional«_Superman_»6-May-10 15:48 
QuestionValue passed to parameter, procedure modifies value and returns true! Pin
Fareed Rizkalla6-May-10 9:56
Fareed Rizkalla6-May-10 9:56 
AnswerRe: Value passed to parameter, procedure modifies value and returns true! Pin
Richard MacCutchan6-May-10 10:05
mveRichard MacCutchan6-May-10 10:05 
AnswerRe: Value passed to parameter, procedure modifies value and returns true! Pin
«_Superman_»6-May-10 15:46
professional«_Superman_»6-May-10 15:46 
GeneralRe: Value passed to parameter, procedure modifies value and returns true! Pin
Fareed Rizkalla6-May-10 16:24
Fareed Rizkalla6-May-10 16:24 
GeneralRe: Value passed to parameter, procedure modifies value and returns true! Pin
«_Superman_»6-May-10 18:11
professional«_Superman_»6-May-10 18:11 
Questionstandard behavior for Alt key to show/hide Menu bar Pin
Software20076-May-10 2:32
Software20076-May-10 2:32 
QuestionRe: standard behavior for Alt key to show/hide Menu bar Pin
David Crow6-May-10 2:52
David Crow6-May-10 2:52 
AnswerRe: standard behavior for Alt key to show/hide Menu bar Pin
Software20076-May-10 3:16
Software20076-May-10 3:16 
GeneralRe: standard behavior for Alt key to show/hide Menu bar Pin
David Crow6-May-10 3:53
David Crow6-May-10 3:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.