[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Objective C - C++ interface
From: |
Scott Christley |
Subject: |
Re: Objective C - C++ interface |
Date: |
Sun, 24 May 98 15:29:34 -0700 |
Hi Rob,
Sorry I've taken so long to get this to you. I don't think that going with
CORBA is your best bet; the main reason being that I only know of one ORB
which supports ObjC and it's a commerical package. What would be better is
to write some C wrapper functions which I've illustrated in the attached
file; this example also has an ObjC class which essentially wraps the C++
class and allows you use it as if it was a normal ObjC class.
I've cc'ed the swarm support mailing list because there may be other people
interested in how to do this, and the example is small. Let me know if you
have any questions.
cheers
Scott
You wrote:
> Scott:
>
> At SwarmFest, you recommended that I try CORBA from MICOM to implement
> in interface between C++ and Objective C. When I found and downloaded
> this package, it only had support for C++. Is there an interface
> package that has support for Objective C as well? If not, do you have
> any suggestions for a good interface between the two languages.
>
> Rob Kewley
>
begin 664 objc++.tar.gz
M'XL("`6>:#4``V]B:F,K*RYT87(`[5I9;]M&$/9K^"L&,@)(address@hidden(:9#6
address@hidden,"AR)3*A2(&'#Q3I;^_,7J1$'79LR6FS'Q*87,[.+(_OV]E9
M)>-/WO'QV<$N`3W[_+P/address@hidden;RKSB7L`$&_6['<0;G-AX[MC-P#J"_TU%)
address@hidden'F9?DN;?>;C;>QVCVCD2\?V\>%=G,#>-3;\,S^$HXMCT8]-:__W[O
M7+W_7J?;P:N=?J]W`/:+CV0%OO/W?W9D`7S$%P]Y`CG+<DB*'/*`P<_W[FP>
M,;@X/@8O<K,,#8_.+.LPC+VH\!F\RW(address@hidden'IT'#LL(XM^B#:GH!
M/M\C-YW>address@hidden;`8^\EO4W>E,address@hidden,MS=;(PNOS%.TGS<;;#`(address@hidden
address@hidden/N3]U.6_^K.T%R?_D$VS9;H3VV9:G-L;-1MO%OCXX,,V'B9
address@hidden,[P$C]+65ZD,address@hidden:K\WP7W"5OY[_05_SL#F_B/\X!C^+\/
M</[_&.,WN\1VU``WASL&=V$4@>MY#-LF:3*#R_&GB]-E,:@P7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9?\.G)Y;NTM[B9M$;2RX-@
M40G>3/'*"?Z3"G&:Z`ZU:[Q/LJI_HL94=2',:7`;DEFW(EW\CH:@*F!0F0I7
M#XH;)KI#[9H:<.GG$?<K[4OORJST2/=T6>#=A+&address@hidden
MA_U0BK6ING/*K>E%#I6DX%M21[/*\WCJ,]CP0I7[\FA6O4RCD4]/'\[T`Z*F
MJLGRHRJ=GT3<]B2:>WF0,M>G0C5SXZ'U)IW!R02._M%'^%SE(?>C3\BY.N&?
M^VLS=3>0^J]?QRYB;-/_KE/JO^/0[W\ZMG-N]'\?4/address@hidden/7R
M`G6?K^M#^C9F+,X9+KAC4I`V56BUHJ"+NOQ0]D>UWS"OUVRUX*RNVG[0`7G1
M5^\O66=G\&<9-XS#'&8L#Q)address@hidden'CH7&TDR3E!6BZ/>HMA8\/#H4A
M+R41B<"\W#KA7GEZ>945=$=T?LU3+#19F6K*U"MCT837*S$.%44F*6-J>$V?
MX3`2CP_H<L[BWW(VASE+T%.+'O%=P%(J>U-G622NC8P<5BN<address@hidden
MY@,Y`=H]:ZD<LKK-7<LOA1/1B1+KEDIVA\()YJP+L;-*QS;address@hidden:S
M:X+R3'=53+HPU$ZR/%V.JGJV055MK0\L]O^G^KQK+.G_3BK`V];_O6Y9_^W;
address@hidden'STG4Y<KZPM#$%<KZST^?Y-7=9&&R1K
M5!>DT4:U&7UG:B+Y7Z;;.XBQO?ZG]_\'W0&O_W5LD__M!9S_?&-%+N!E7H1+
address@hidden:TB5];69\^JBK(XU37RH^H$E;2QZ?_SOCJ2IWS
MC.RZDN!M+--=86\I(=?ZC,address@hidden:E4(,>^'I6-0F<J=<&7"BB3O?_*SXT-
H#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#':$?P&5\N`U`%```/_*
`
end
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================
- Re: Objective C - C++ interface,
Scott Christley <=