ExifTool Forum

ExifTool => Developers => Topic started by: wyhcl00 on June 05, 2018, 02:16:31 AM

Title: How to use exiftool in vs~~~~~
Post by: wyhcl00 on June 05, 2018, 02:16:31 AM
 :)hello,I want to write a program that gets exif information in vs(2017) using c++
How to use exiftool in vs?
Should I use C++ ExifTool?
in Cygwin, when i input make,The command line shows that 'memmem' has not been declared in this scope~~~
Title: Re: How to use exiftool in vs~~~~~
Post by: Phil Harvey on June 05, 2018, 07:06:20 AM
C++ ExifTool should be good for you to use.

memmem is a gnu extension, but it has existed in FreeBSD since version 6.0.   If you don't have it available you could change the memmem call to this:

pt = strstr(pt, "{ready", end-pt);

- Phil
Title: Re: How to use exiftool in vs~~~~~
Post by: wyhcl00 on June 05, 2018, 10:15:11 AM
thanks,
now I want to get EXIF in my visual studio2017 c++ project. I mean, get GPSAltitude and GimbalRollDegree on the vs console.
Can I use C++ ExifTool?
I added exiftool's .h and.h and example3.cpp files to my vs project, as if it didn't run directly.
Title: Re: How to use exiftool in vs~~~~~
Post by: Phil Harvey on June 05, 2018, 10:40:00 AM
I haven't tried to compile this with visual studio c++.

- Phil