'System.DllNotFoundException' means that it can't find FreeImage.dll.
Try putting into the WINDOWS/SYSTEM32 directory. If that doesn't
work, try putting it in the /BIN directory of your application.
- Kevin
--- "bluescreenweasel" <peteraddington@...> wrote:
>
> Hi There,
>
> I just moved over to Vista X64 edition. I have been developing
> utilities fine on Vista 32bit for some time now. I realise Freeimage
> is a 32bit dll, but i wanted to see if i can run this in 32bit mode.
> I have made sure the AIL examples were set to compile to X86 rather
> than any CPU (defaults to the x64 framework i think) but i am still
> getting exceptions related to the freeimage dll.
>
> In the AIl test example i get -
>
> A first chance exception of type 'System.DllNotFoundException'
> occurred in AdvImgLib_NET.dll
>
> and an unable to load freeimage dll when i quit debugging. Ive check
> the task manager and it has a *32 after the process so i know its
> running in 32bit mode.
>
> I have the freeimage3.dll in system32 so im not sure. Any pointers on
> what im doing wrong?
>