Hi James,
1. idlc -I<sdk>/idl mytypes.idl -> the idlc generates a mytypes.urd
2. normally we have several idl files and merge them together in for
example allmytypes.rdb under the root key /UCR. The UCR key is a
historical relict (i will change that compatible for the future) because
we have had only one rdb file in the past and this key was used to
organize the internal structure of the rdb file. Use:
regmerge allmytypes.rdb /UCR mytypes.ucr
3. with the rdb file you can now generate C++ header files for all your
types or you can directly generate Java class files
C++
cppumaker -BUCR -Tmy.private.Type allmytypes.rdb
-X<officeprogrampath>/types.rdb -O<outputpath>
Java
javamaker -BUCR -Tmy.private.Type allmytypes.rdb
-X<officeprogrampath>/types.rdb -O<outputpath>
or
javamaker -BUCR allmytypes.rdb -X<officeprogrampath>/types.rdb
-O<outputpath>
The second one generates class files for all types iin allmytypes.rdb
Juergen
James Black wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am hoping that someone could send me a sample of creating source from
the .idl file, as it appears that there are a few steps to do this task.
Thanx.
- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCubfbikQgpVn8xrARAl1fAJ4/9P12Vfl/KXr+Oo9e7ACxeZCncACePFcN
fKZqKcl1h+/jd7NboqWfeSE=
=Kzgk
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]