Re: Euphoria DLLs

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

--=======4AA91555=======

At 01:49 AM 4/21/03 -0400, Rob Craig wrote:
> >>Things are guaranteed to work if 31-bit integers are
> >>passed. If a 32-bit integer is passed in from C,
> >>things might still work (all the time),
> >>depending on what you do with that value.
> >
> >
> > The 32 bit values that are passed in from the main
> > program [1] to my DLL are memory addresses, that the
> > DLL code uses for peek()ing and poke()ing.
> >

<snip>

>>>It depends on how many people need this.
>>>So far I haven't seen many people wanting to call
>>>Euphoria .dll's from C.
<snip>

         I started on a potentially commercial project that requires this 
and got stalled by the same thing.  A calling program( language unknown ) 
is required to pass a pointer to a buffer that it provides to receive an 
error message.  Sometimes it works; sometimes it doesn't and says "A 
machine exception occurred ...".  I was wondering if this could be an issue 
with the page being swapped out at the time but this is not an interrupt 
service routine.  By the way, the program I tested my DLL with is written 
in Euphoria.

         Rob, could you come up with an example of this that works?

                 Thanks,

                 Bob

--=======4AA91555=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert;
x-avg-checked=avg-ok-64D7360B
Content-Disposition: inline


---

--=======4AA91555=======--

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

Search



Quick Links

User menu

Not signed in.

Misc Menu