RE: HELP WANTED!

new topic     » topic index » view thread      » older message » newer message

In Eu 2.4, the call_back function provides a way to declare your routine 
so that it works with cdecl.  I've not found any issues working with 
cdecl libs using 2.4.

-- Brian

Derek Parnell wrote:
> 
> On Mon, 28 Apr 2003 17:49:54 -0400, <euman at bellsouth.net> wrote:
> 
> >
> > Hello and Thanks for taking time to respond.
> >
> > Attached is the zip file which include the C headers + examples and
> > the documentation as supplied with my copy of the Cab-SDK.
> >
> > I tried Elliott's usefull info but Eucab.ew is still broken.
> > Thanks Elliott for opening my eyes to read the 2.4 doco for the new
> > Euphoria. I never thought we had a change to use cdecl dll's, I must
> > re-read the entire doco again.
> >
> > Derek I notice the behavior you mentioned where allocation takes place
> > twice then free then readfile, I cant explain why the .dll is doing 
> > this.
> > I believe mic say'd he had parts working thru some major asm trickery
> > but most of that stuff is over my head.
> >
> > Thanks again,
> > Euman
> 
> I think I see a problem. It seems that the callback routines must also 
> be 
> _cdecl. But I don't think that we can specify that in Euphoria.
> 
> You might have to write a DLL that converts the _cdecl calls to ones 
> that 
> Eu can cope with.
> 
> -- 
> 
> cheers,
> Derek Parnell
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu