Jose,

Unless you may find more information, yes I prefer we revert this change.

Ron

--------------------------------------------------
From: "Jose F. Gimenez" <jfgime...@wanadoo.es>
Sent: Monday, June 15, 2009 7:59 AM
To: "xHarbour-Developers List" <xharbour-developers@lists.sourceforge.net>
Subject: Re: [xHarbour-developers] Changelog 2009-06-15 13:10 UTC+0100 
JoseF.Gimenez <jfgimenez/at/wanadoo.es>

> Ron,
>
>> Many thanks Jose, but this is incorrect - MultiByteToWideChar() does
>> support empty strings, and does return the length INCLUDING the
>> termination.
>
> Yes, you're right. I had this modification here for some months, but I'm 
> not
> 100% sure why. I remember something about a problem of a Xailer's user
> sending an empty string to MS Access, which was solved so, but I cannot 
> find
> that example to test again.
>
> ITOH, this change doesn't make anything to fail, IMO, while it only causes
> that hb_oleAnsiToSysString() returns an empty BSTR instead a NULL pointer
> when it receives a NULL or MultiByteToWideChar() fails for any reason. 
> Every
> piece of code that was working before is also working now. However, if you
> want I may revert that change.
>
> Regards,
>
> Jose F. Gimenez
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
> 

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to