img-lib and Vista
-
- Posts: 327
- Joined: Wed 04 Apr 2018, 06:36
img-lib and Vista
Things are going fine with my multi-win version of Richard's img-lib, which is a great relief. However I want to use the program on a computer which is still running Vista and img-lib crashes. I suspect that GDIPLUS.dll is the problem, but I've copied the file from Win10 to the Vista computer but without success. Any ideas and suggestions gratefully received.
Re: img-lib and Vista
Hi Kendall,
I'd be surprised if that's it: I've been using the gdiplib (which calls GDIPLUS.DLL) for at least 14 years, including on a Vista machine, without problems.
Richard's standard version of IMGLIB loads and uses GDIPLUS - does that work for you? If so, that would suggest that the problem lies in something you've done in the "multiwin" bit! If not, there may be a Vista incompatibility in the standard IMGLIB, but a quick glance doesn't reveal anything obvious (to me, which isn't saying much!). Can you identify what does and does not work? for example, can you load the library (without actually plotting a picture), or does that crash it?
Best wishes,
D
I'd be surprised if that's it: I've been using the gdiplib (which calls GDIPLUS.DLL) for at least 14 years, including on a Vista machine, without problems.
Richard's standard version of IMGLIB loads and uses GDIPLUS - does that work for you? If so, that would suggest that the problem lies in something you've done in the "multiwin" bit! If not, there may be a Vista incompatibility in the standard IMGLIB, but a quick glance doesn't reveal anything obvious (to me, which isn't saying much!). Can you identify what does and does not work? for example, can you load the library (without actually plotting a picture), or does that crash it?
Best wishes,
D
-
- Posts: 327
- Joined: Wed 04 Apr 2018, 06:36
Re: img-lib and Vista
No, the problem lies in DEFPROC_imgInit where the line
SYS"GetProcAddress",L@imglib%,"GdipDrawImageFX"TO`GdipDrawImageFX`
sets `GdipDrawImageFX` to zero. As far as I have checked, the other variables are set to "sensible" values and it is just that one which isn't recognised. That is why I wonder whether GDIPLUS.DLL is the problem - but it's interesting that you have been using imgLib with Vista. (Incidentally, it makes no difference whether I am using my modified multi-win version of imgLib or the straight-out-of-the-box version supplied by Richard. Both fail to recognise `GdipDrawImageFX`.)
It's possible that the version of GDIPLUS.DLL has been corrupted somehow - though it is only a couple of months ago that I had an SDD drive fitted to that computer, which called for a complete re-install of Windows.
SYS"GetProcAddress",L@imglib%,"GdipDrawImageFX"TO`GdipDrawImageFX`
sets `GdipDrawImageFX` to zero. As far as I have checked, the other variables are set to "sensible" values and it is just that one which isn't recognised. That is why I wonder whether GDIPLUS.DLL is the problem - but it's interesting that you have been using imgLib with Vista. (Incidentally, it makes no difference whether I am using my modified multi-win version of imgLib or the straight-out-of-the-box version supplied by Richard. Both fail to recognise `GdipDrawImageFX`.)
It's possible that the version of GDIPLUS.DLL has been corrupted somehow - though it is only a couple of months ago that I had an SDD drive fitted to that computer, which called for a complete re-install of Windows.
-
- Posts: 327
- Joined: Wed 04 Apr 2018, 06:36
Re: img-lib and Vista
Even more grrrrs! I downloaded the gdiplus.dll and placed it in the Windows\System32 directory. However the site from which I downloaded instructed that I should then go to the command line and enter regsvr32 gdiplus.dll to register the .dll with the system. However I get the message, "gdiplus.dll is present but entry point .... cannot be found".
Very annoying.
Very annoying.