Hi James,

It looks like it crashes at UpgradeScriptInfoToTextEncoding.  When I step 
through makeNewLCPTranscoder(), the first line it allows me to stop at is 
the first "if(status == noErr)", and it crashes before I can even get there.

I've tried getting it to be NULL if nothing was found like you mentioned, 
but then it still crashed.

So, if it is the unicode converter, how do I know if my Mac has a one 
installed?  And if there is where/how do I get one to install it?
If not, what else can I do?

Also, thanks for the help on the "Classic" vs. "Carbon" issue.  Would it 
make a difference if I built it as a Carbon release?  From what I 
understand, since I'm on OS 8.6, it won't, or at least until it goes to an 
OS 9.x or OS X.  But I did have to download the Carbon SDK from apple, and 
use the CarbonLib to build the Classic target.  Did I mess something up 
doing that?

-Eric


At 10:37 AM 5/17/2001 -0700, James Berry wrote:
>Hi Eric,
>
>Presumably there's an error coming up during the call
>MacOSUnicodeConverter::makeNewLCPTranscoder().  I'd step through this in the
>debugger to see what occurs.
>
>I suspect that the problem is that there's no unicode converter installed on
>your 8.6 system (my recollection is that the unicode converter ought to be
>there, but maybe it's just an optional install). If that is the case, you'll
>see that you crash apparently in calling one of the unicode converter calls.
>If you check the function pointer [something like: if
>(CreateTextToUnicodeInfoByEncoding != 0)] in such a case you'll quickly see
>what is wrong.
>
>Please let me know what you find. If nothing else, the routine
>XMLPlatformUtils::makeTransService in MacOSPlatformUtils.cpp should probably
>be changed to check for the existence of the unicode converter, and return
>NULL otherwise.
>
>-jdb
>
>
>
>On 5/16/01 1:22 PM, "Eric Deines" <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> >
> > I'm trying to build/use Xerces on Mac OS 8.6, but I've ran into a couple of
> > problems:
> >
> > First of all, I see there are two different types of builds, Classic and
> > Carbon.  What is the difference between each? (Yes, I am a Windows
> > programmer new to Mac, no laughing....)
> >
> > Second, I did manage to get the Classic target to build with no problem
> > (I'm hoping this is the correct one I need).  I've created a program that
> > uses Xerces to parse my XML file, but when I try to run it I get an
> > "Illegal instruction exception".  I've been able to trace it to the
> > following line in XMLPlatformUtils::Initialize() :
> >
> > XMLLCPTranscoder* defXCode =
> > XMLPlatformUtils::fgTransService->makeNewLCPTranscoder();
> >
> > Has anyone ever had this problem or have any suggestions on what is going
> > wrong?  Any help would be greatly appreciated.
> >
> > Thanks in advance,
> > Eric
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>--
>/**********************************
>  James D. Berry
>  mailto:[EMAIL PROTECTED]
>  vox:503.265.1213 fax:503.222.3020
>  **********************************/
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

_____________________________
Eric Deines
Application Engineer
Noonetime - Realized Energy
phone: 303-291-0230
cell: 303-434-7775
fax: 509-461-3172
[EMAIL PROTECTED]
http://www.noonetime.com
_____________________________


NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to