Re: C_func problems...

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

Patrick Barnes wrote:
> 
> On Thu, 25 Nov 2004 09:22:23 -0800, Bernie Ryan <guest at rapideuphoria.com>
> wrote:
> > BOOL bInitialOwner
> > 
> > BOOL should be C_INT
> 
> Why C_INT? What's wrong with C_CHAR?
> 
> -- 
> MrTrick
>
> -------------------------------------------------------------------------------------
> magnae clunes mihi placent, nec possum de hac re mentiri. 
> 
> 

Because if you ever use it in  a structure as C_CHAR windows 
will be passed the wrong size structure, so I suggest that
you always use C_INT, it is not absolutely necessasry in this case. 

Bernie

My files in archive:
w32engin.ew mixedlib.e eu_engin.e win32eru.ew

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