Re: Wrapping FastCGI - Function howto?

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

Jeremy Cowgar wrote:
> 
> Bernie Ryan wrote:
> > 
> > Jeremy:
> > 
> > pEnv should be just a pointer not a allocated location
> > 
> > pEnv = allocate(4)
> 
> Bernie,
> 
> I have the simple wrappings down with Euphoria, but how do I give it just a
> pointer?
> 
> --
Jeremy:

When you see a ** this means a POINTER to a 4-byte location in memory that
contains the POINTER that the function will use.

When you see a SINGLE * this means a POINTER that the function will use
directly.

Because I am not familiar with code you are wrapping I don't know where

you obtain the Env pointer to pass to your function.

But the reason a machine exception error is generaly occuring is because

you are not passing the correct parameter and you are pointing to a illegeal 

memory location when you call the function. 


 


Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

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

Search



Quick Links

User menu

Not signed in.

Misc Menu