IDL2VB v0.80
============

This version of the IDL2VB compiler is distributed in the hope
that it will be useful, but WITHOUT ANY WARRANTY. You can redistribute
it but do not modify or decompile the java class files.
The sources are my private property.

For the latest version of VBOrb and the IDL2VB compiler see
http://home.t-online.de/home/Martin.Both/vborb.html

Directory structure
-------------------
vb/                     Root directory
  LIESMICH.TXT          This file in my native german language
  README.TXT            This file
  IDL2VB.jar            Java archive containing the compiler
  idl2vb.bat            Example of a batch file used to start compiling

Start Compiling
---------------
If you are using JDK 1.2 and Windows you could do something
like following to start compiling.
Open the example batch file idl2vb.bat by an editor. Customize
contents of idl2vb.bat to your directory structure and call
	idl2vb
or include IDL2VB.jar in your CLASSPATH and call
	java mboth.idl2vb.IDL2VB


If you are using JDK 1.1 and UNIX-ksh you could write something
like that:
	# IDL2VB is the directory where IDL2VB.jar can be found
	IDL2VB=/home/martin/idl2vb
	export CLASSPATH=${IDL2VB}/:${CLASSPATH}
After that call
	java mboth.idl2vb.IDL2VB
or write your own batch file.


Use of IDL2VB (Very brief description)
======================================

usage: java mboth.idl2vb.IDL2VB [-VDIENBCS] [file ...]
 -B<path>       Path of VB output
 -C<prefix>     Default vbClsPrefix (rather than c_)
 -X             Create exposed VB classes suitable to ActiveX
 -M<prefix>     Default vbModPrefix (rather than m_)
 -S, --skeleton Write additional server skeleton examples
 -N             Preprocess and compile but no VB output
 -E             Preprocess file(s) to standard output, no compile, no VB output
 -D<macro...>   Define a preprocessor macro
 -I<path(s)>    Add search path(s) for include files
 -V, --version  Display version number


Example to generate grid demo client VB classes
-----------------------------------------------
idl2vb -B../demo/grid ../demo/grid/grid.idl
or
java mboth.idl2vb.IDL2VB -B../demo/grid ../demo/grid/grid.idl


Example to generate grid demo server VB classes
-----------------------------------------------
idl2vb -S -B../demo/grid_server ../demo/grid/grid.idl

It is possible to use the c-preprocessor standalone
Example to precompile hello.c
-----------------------------
idl2vb -E -D__GNUC__=2 -D__STDC__=1 -D__GNUC_MINOR__=91 \
	-I/usr/include:/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/include \
	hello.c
It is like gcc -E -P hello.c


Please send BUG Reports to
Martin.Both@t-online.de
