Sign In
New User? Sign Up
exiv2
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can search the group for older messages.

Messages

  Messages Help
Advanced
Need help to get started with MSVC++ 2005 (windows Forms Application   Message List  
Reply | Forward Message #1485 of 1513 |
Re: Need help to get started with MSVC++ 2005 (windows Forms Application)

Happy New Year to the exiv2 enthusiasts (and unhappy Windows form users)

I've never used Windows forms. The MSVC environment builds native exiv2
libraries (both
static and dynamic). I'm wondering if we need to build a managed code version
to link
with Windows Forms. Some time ago, Andreas Grimme (not Andreas Huggel) posted a
.Net wrapper for exiv2 written in C#. I have successfully built that and
perhaps that's
what's needed here.

Anyway, several suggestions:
1) Maybe somebody can comment on linking native code with Windows forms.
2) Does the C# wrapper help?
3) Send me your windows form code (and build environment) and I'll investigate.

Robin



--- In exiv2@..., "Etienne D. Falcon" <etiennefalcon@...> wrote:
>
>
> Hello everyone,
>
> I'm trying to add GPS informations in jpeg files.
> I simply can't seem to link EXIV2 proprely. I'm pretty new to MSVC,
> and yes I know portable code is better and all, but my boss doesn't
> really care. Since he's the one with the paychecks, I do what he ask.
>
> First of all is it possible to get EXIV2 working with Windows Forms
> Application? (CLR)
> Then what's the easiest way? including wich library? is it easier
> using exivsimple?
>
> right now what I'm getting about 55 error like this one:
> error LNK2028: unresolved token (0A00000E) "public: virtual void
> __clrcall Exiv2::Image::clearMetadata(void)"
> (?clearMetadata@Image@Exiv2@@$$FUAMXXZ) referenced in function "void
> __clrcall `dynamic initializer for 'const
> Exiv2::Image::`vftable'''(void)"
> (???__E??_7Image@Exiv2@@6B@@@YMXXZ@?A0x5fd43514@@$$FYMXXZ)
>
> then about 55 more of that kind:
> error LNK2019: unresolved external symbol "public: struct
> std::pair<unsigned char *,long> __clrcall
> Exiv2::DataBuf::release(void)"
> (?release@DataBuf@Exiv2@@$$FQAM?AU?$pair@PAEJ@std@@XZ) referenced in
> function "public: __clrcall Exiv2::DataBuf::operator struct
> Exiv2::DataBufRef(void)" (??BDataBuf@Exiv2@@$$FQAM?AUDataBufRef@1@XZ)
>
> Is there an easy fix?
>
>
> thanx for your help
>
> Falcon
>




Sat Jan 3, 2009 2:57 am

robinwmills
Offline Offline
Send Email Send Email

Forward
Message #1485 of 1513 |
Expand Messages Author Sort by Date

Hello everyone, I'm trying to add GPS informations in jpeg files. I simply can't seem to link EXIV2 proprely. I'm pretty new to MSVC, and yes I know portable...
Etienne D. Falcon
etiennefalcon
Offline Send Email
Mar 7, 2007
5:48 pm

... Hi, I am using MSVC++ 2008 and having the same problems, even exiv2simple dll doesn't work. Is there any way to fix these linker errors? The interesting...
roodster12
Offline Send Email
Mar 21, 2008
12:31 am

I can compile and run the exiv examples, but I've been trying to get exiv to work in a simple Windows Forms Application, but I'm getting the same errors: ...
marijn.kampf
Offline Send Email
Dec 31, 2008
7:11 pm

Happy New Year to the exiv2 enthusiasts (and unhappy Windows form users) I've never used Windows forms. The MSVC environment builds native exiv2 libraries...
Robin Mills
robinwmills
Offline Send Email
Jan 3, 2009
2:57 am

For other users who have the same or similar problems. Here is how ... I think I've fixed this. Here's what I think is wrong (nothing serious - however all...
marijn.kampf
Offline Send Email
Jan 10, 2009
8:23 pm
Advanced

Copyright © 2009 Yahoo! UK. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help