Re: VC8 GDI+ dll in VC6
- From: "Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@xxxxxxxxxxxxxxx>
- Date: Thu, 23 Mar 2006 06:40:53 -0800
Asfar wrote:
Hi,
Can I write a VC8 dll which used GDI+ and then use this dll in VC6.
I will be using GDI+ to basically load a image in memory and annotate
it with some text and save the image.
Any pointers on how I can do this?
You can, as long as you expose a pure C (or COM) interface to your VC8 DLL.
If you expose functions that have MFC, ATL or STL types in the interface,
you won't be able to call those functions from VC6. If you expose functions
that have GDI+ types in their interface, it _might_ work, depending on
whether VC6 and VC8 can both compile the exact same version of GDI+ and
whether you have all the options for the two compilers set in a compatible
way.
In your case, if all you want to do is load, annotate and save an image,
your exported function probably needs little more than a path, so it should
be doable.
-cd
.
- References:
- VC8 GDI+ dll in VC6
- From: Asfar
- VC8 GDI+ dll in VC6
- Prev by Date: VC8 GDI+ dll in VC6
- Next by Date: Re: Debug Assertion Failed! msvcr80d.dll!__loctotime64_t Expression: (((long)(yr-1900) >= _BASE_YEAR) && ((long)(yr - 1900) <=
- Previous by thread: VC8 GDI+ dll in VC6
- Next by thread: Re: VC8 GDI+ dll in VC6
- Index(es):
Relevant Pages
|