[omniORB] How do I call ORB_init in Windows

Richard Hardgrave hardgrav@ttd.teradyne.com
Fri, 20 Jul 2001 11:05:59 -0500 (CDT)


Not sure about the windows environment, but it should
be able to accept any decared variables of the right
type - int arg, char **argv.
In a UNIX environment, until I need to do otherwise
(like pass the -ORBtraceLevel string),
I simply set arg =3D 0 and argv =3D NULL. This works for
me.

Good luck,

Richard

> From owner-omniorb-list@uk.research.att.com Fri Jul 20 01:00 CDT 2001
> MIME-Version: 1.0
> Date: Fri, 20 Jul 2001 13:45:48 +0800 (CST)
> From: "zhangzq71" <zhangzq71@163.com>
> To: omniorb-list@uk.research.att.com
> Subject: [omniORB] How do I call ORB_init in Windows
> X-Priority: 3
> X-Originating-IP: [61.144.148.6]
> X-Loop: omniorb-list@uk.research.att.com
>=20
> hi, evreybody, how do I call ORB_init in WinMain, it does not has the =
two arguments-argc,argv as "main", so=20
what do I pass to ORB_init?
>=20
> email:zhangzq71@163.com
>=20
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> http://sms.163.com--=CD=F8=D2=D7=B6=CC=D0=C5
>=20
> =CE=DE=C2=DB=C4=E3=C9=ED=D4=DA=BA=CE=B4=A6=A3=AC=D2=B2=B2=BB=B9=DC=D2=C6=
=B6=AF=BB=F2=CA=C7=C1=AA=CD=A8=A3=AC=CD=F8=D2=D7=B6=CC=D0=C5=B6=BC=C4=DC=D2=
=BB=CD=F8=B4=F2=BE=A1=A3=A1
>=20
> =D1=A1=D4=F1=CD=F8=D2=D7=B6=CC=D0=C5=A3=AC=D0=C4=D3=EB=D0=C4=D6=AE=BC=E4=
=BD=AB=B2=BB=D4=D9=D3=D0=BE=E0=C0=EB=A3=A1
>=20
>=20