Re: What is the problem with GetPrivateProfileString?
- From: "Bob Butler" <tiredofit@xxxxxxxxxx>
- Date: Wed, 2 Nov 2005 04:55:42 -0800
"Steve Richfie1d" <Steve@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3sr7v3FplhjgU1@xxxxxxxxxxxxxx
>> I'd also use Err.Raise instead of Error since Error is there
>> only for backward compatibility (from the time when MS cared about
>> that sort of thing!)
>
> There ARE some subtle differences that probably would be no problem
> here. There are some undesirable side effects on the Err object from
> some uses of the Err object that don't occur with the Error function
> and statement, which has made some really subtle past bugs in my error
> handler. The safest way seems to be to use Error unless you can't, in
> which case fall back onto Err and hope that the side effects don't
> hurt you.
Can you elaborate and/or provide an example of something that behaves
differently?
--
Reply to the group so all can participate
VB.Net: "Fool me once..."
.
- References:
- What is the problem with GetPrivateProfileString?
- From: Steve Richfie1d
- Re: What is the problem with GetPrivateProfileString?
- From: Bob Butler
- Re: What is the problem with GetPrivateProfileString?
- From: Steve Richfie1d
- Re: What is the problem with GetPrivateProfileString?
- From: Bob Butler
- Re: What is the problem with GetPrivateProfileString?
- From: Steve Richfie1d
- What is the problem with GetPrivateProfileString?
- Prev by Date: Re: What is the problem with GetPrivateProfileString?
- Next by Date: Re: What is the problem with GetPrivateProfileString?
- Previous by thread: Re: What is the problem with GetPrivateProfileString?
- Next by thread: Re: What is the problem with GetPrivateProfileString?
- Index(es):