chrislim2888 / IP2Location-C-Library

IP2Location C library enables the user to find the country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather station code, weather station name, mobile, usage types, etc that any IP address or hostname originates from.
https://www.ip2location.com
MIT License
61 stars 30 forks source link

Shared-memory name #44

Closed gvanem closed 3 years ago

gvanem commented 3 years ago

The shared-memory object under Windows is a bit strangely named:

\Sessions\1\BaseNamedObjects\/IP2location_Shm

since IP2Location.h has a #define IP2LOCATION_SHM "/IP2location_Shm".

Maybe it would be best to give CreateFileMapping() a suitable name depending on if UNICODE is defined etc?

ip2location commented 3 years ago

Can you create a pull request for this change?

gvanem commented 3 years ago

The PR was merged. Hence closing.