Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion CAtlREMatchContext and special characters
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
28.12.2004.2.2.michaelj@s pamgourmet.com  
View profile  
 More options Dec 28 2004, 3:19 pm
Newsgroups: microsoft.public.vc.atl
From: mixedpickles (28.12.2004.2.2.micha...@spamgourmet.com)
Date: Tue, 28 Dec 2004 12:19:07 -0800
Local: Tues, Dec 28 2004 3:19 pm
Subject: Re: CAtlREMatchContext and special characters
Hi,

I was running in the same problem with german umlauts.

The algorithm seems to be buggy. To word around that, copy the file

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlrx.h

to your project path and make the following changes and include it in your cpp:

Line 637

<!new                unsigned char* usz = (unsigned char *) sz;
<!new                size_t u = (size_t) *usz;
!>old                size_t u = (size_t) *sz;

and Line 1181

<! new                               unsigned char uchStart = chStart;
<! new                               unsigned char uchEnd = chEnd;
<! new                               for (int i=uchStart; i<=uchEnd; i++)
!> old                               for (int i=chStart; i<=chEnd; i++)
                                        pBits[i >> 3] |= 1 << (i & 0x7);

With these changes everthing should work fine.

Good luck!
Michael

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google