🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #991

Re: CW7.2 and jnilib and C++ Exception woes

#991
From: Leon
Date: Mon, 06 May 2002 19:20
61 lines
3300 bytes
How did you initialize MSL in your MacOSX jnilib?


--
Remove the underscores to reply to me.
l_e_o_n @ c_h_a_r_a_c_t_e_r_m_o_t_i_o_n . c_o_m


"Kent Brockman" <Kent.Brockman@channelsix.news> wrote in message
news:3CD640DC.5040109@channelsix.news...
> Leon, Ron,
>
> My CW Pro 6.2 cannot deal with mack-o. But I did a little work to see
> how far I could get on MacOS X by using carbon. I first started with a
> PPC library and I had to make the alterations as I described earlier to
> intitiale MSL. Without the extra intialization the application would
> crash. My test library succesfully catches the exception. It works with
> the CW app and it works with JBindery.
>
> Creating a carbon version of the library was easy enough, but much to my
> supprise does CW not provide a carbon version of their application that
> runs my java classes.
>
> So I have a question too. Does CW Pro 8 provide a carbon version of the
> application that makes my classes a clickable app?
>
> Eddy Walet
> PTH
>
> NOTE Since the printf would create a
>       SIOUX window, that is starved from
>       events and thus freezing my app,
>       I did some extra work. I wrote a
>       function in C++ called "systemprintln".
>       It takes the same parameters as printf,
>       but writes to the java System.out
>       stream through the println method.
>       Just wanted to share this to show
>       how far you can get with JNI.
>
> Leon wrote:
>
> > Here is the HelloWorld example that I modified to demonstrate my
problem.
> > The project contains a target called HelloWorld_MACH that I added to
produce
> > libHelloWorld.jnilib for MacOSX.  Perhaps I goofed on the settings,
that's
> > why it's causing exceptions to crash.
>
>
> --
> =============================
> This mail-address is not valid. It is used to prevent my own address
> from being harvested by a bot.
> If you want to contact me you can use:
> brockman-AT-xs4all-DOT-nl
> Sorry for any inconvenience this may give.
> Kent Brockman is not my real name.
> =============================
>
Technical Details
Message-ID: <gIAB8.15667$TW.539468@news1.telusplanet.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!newsfeed.telusplanet.net!news1.telusplanet.net.POSTED!53ab2750!not-for-mail
References: <S2Yz8.3742$5X6.106437@news0.telusplanet.net> <CMBA8.10484$5X6.299348@news0.telusplanet.net> <3CD640DC.5040109@channelsix.news>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,8001f03ae149be7a
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,8001f03ae149be7a
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2002-05-06 12:20:44 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!newsfeed.telusplanet.net!news1.telusplanet.net.POSTED!53ab2750!not-for-mail
From: "Leon" <leon@nowhere.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
References: <S2Yz8.3742$5X6.106437@news0.telusplanet.net> <CMBA8.10484$5X6.299348@news0.telusplanet.net> <3CD640DC.5040109@channelsix.news>
Subject: Re: CW7.2 and jnilib and C++ Exception woes
Lines: 63
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <gIAB8.15667$TW.539468@news1.telusplanet.net>
Date: Mon, 06 May 2002 19:20:44 GMT
NNTP-Posting-Host: 209.53.254.186
X-Trace: news1.telusplanet.net 1020712844 209.53.254.186 (Mon, 06 May 2002 13:20:44 MDT)
NNTP-Posting-Date: Mon, 06 May 2002 13:20:44 MDT