Author Topic: More Bug Fun  (Read 2796 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
More Bug Fun
« on: April 20, 2013, 04:32:59 AM »
Deleted
« Last Edit: May 07, 2015, 11:06:26 AM by Peter »

Charles Pegge

  • Guest
Re: More Bug Fun
« Reply #1 on: April 21, 2013, 01:26:36 AM »
Hi Peter,

@16 may the problem. Try the automatic name demangler

extern lib "FreeImage.dll"
! alias _FreeImage_Rescale@16
end extern

FreeImage_rescale 0,0,0,0

print &FreeImage_Rescale



Charles Pegge

  • Guest
Re: More Bug Fun
« Reply #2 on: April 21, 2013, 04:02:16 AM »
Peter,

Where did you get this freeimage from. It is tiny! It does not have rescale. But your test works with the standard one.


X

Emil_halim

  • Guest
Re: More Bug Fun
« Reply #3 on: April 21, 2013, 07:52:55 AM »
Hi Peter,

Quote
That's your source code!  You didn't try it ! isn't it?
ProjectsB/FreeImage

it works well with me.

Charles
Quote
It is tiny! It does not have rescale.

so what is this line , found it in ProjectsB/FreeImage
Code: [Select]
! alias _FreeImage_Rescale@16
« Last Edit: April 21, 2013, 07:58:04 AM by Emil_halim »

JRS

  • Guest
Re: More Bug Fun
« Reply #4 on: April 21, 2013, 08:05:35 AM »
The DLL I dumped all the functions names from was a combined library with the approved plug-ins supported. I'm sure are versions out there with the core FreeImage set and you have to load the plug-ins separately. The DLL I used is only a couple megs so I wouldn't rate it as MS style huge.

Charles Pegge

  • Guest
Re: More Bug Fun
« Reply #5 on: April 21, 2013, 01:31:19 PM »
Peter's FreeImage.dll version was only 600K and, as you can see, the (attached) dump did not list Rescale. The 2 meg version has it.