Oxygen Basic

Programming => Bugs & Feature Requests => Topic started by: Peter on April 20, 2013, 04:32:59 AM

Title: More Bug Fun
Post by: Peter on April 20, 2013, 04:32:59 AM
Deleted
Title: Re: More Bug Fun
Post by: Charles Pegge 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

Title: Re: More Bug Fun
Post by: Charles Pegge 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
Title: Re: More Bug Fun
Post by: Emil_halim 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
Title: Re: More Bug Fun
Post by: JRS 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.
Title: Re: More Bug Fun
Post by: Charles Pegge 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.