[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] TortoiseIDiff optionally using FreeImage.dll for image loading

From: Daniel Atallah <daniel.atallah_at_gmail.com>
Date: 2006-09-27 23:26:46 CEST

On 9/27/06, Norbert Unterberg <nunterberg@gmail.com> wrote:
> I don't understand this one. Without knowing about that DLL and the
> complete patch, I think this can not be correct. You are declaring
> function pointers for a dynamically loaded DLL. The DLL stays the same
> no matter if you compile TSVN with _UNICODE setting or not. So the
> function prototype must always be either char* or wchar_t*, no matter
> what the UNICODE setting is. It only depends on the setting that was
> active when the FreeImage.DLL was created.

It looks like FreeImage.dll exposes both a unicode and ansi version.
Which one is actually used by TIDiff is determined by whether or not
_UNICODE is set. Of course you probably can't build TIDiff w/o
_UNICODE set.

-D

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Sep 27 23:26:52 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.