[Jprogramming] passing unicode argument to dll

Oleg Kobchenko olegykj at yahoo.com
Tue Sep 25 04:52:01 HKT 2007


Moreover, wouldn't the ambivalent solitary * serve
the purpose?

--- Eric Iverson <eiverson at sympatico.ca> wrote:

> The general cd approach is to be restrictive and dogmatic about declaration 
> and parameter agreement. The consequences of allowing an incorrect call are 
> serious (crashes or memory corruption). My immediate reaction is against 
> suggestions for figuring out what the declaration should have been.
> 
> ----- Original Message ----- 
> From: "bill lam" <bbill.lam at gmail.com>
> To: "Programming forum" <programming at jsoftware.com>
> Sent: Sunday, September 23, 2007 9:36 PM
> Subject: Re: [Jprogramming] passing unicode argument to dll
> 
> 
> > Hi Eric,
> > Not related to Kairit's original problem, but would you consider that *w 
> > is redundant because the J interpretation knows whether the data is 
> > utf8/utf16 and can choose between effect of *c/*w accordingly during 
> > actual calling dll.
> >
> > Eric Iverson wrote:
> >> If the data is utf8 then you want *c declarations. If the data is utf16 
> >> then you want *w declarations.
> >
> > -- 
> > regards,
> > bill
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm 
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 



      ____________________________________________________________________________________
Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.
http://tv.yahoo.com/ 



More information about the Programming mailing list