Generated Code returns Void instead of Object

David <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <LISTSERV%[email protected]>
Hi,

I'm a beginner with COM, and with Jawin, so please bear with me.

I have downloaded everything and used the browser to create java stubs for
me.

However, the documentation for the product I'm using (ClearImage)
indicates the following:

------------------------------------------------------------
Description
Create new CiBarcodeBasic object

Returns
A CiBarcodeBasic object.

Syntax
object.CreateBarcodeBasic

The CreateBarcodeBasic Method syntax has these parts:
Part Description
object An expression evaluating to an object of type CiServer.
--------------------------------------------------------------

However, the code that is generated has a return type of void ie
    public void CreateBarcodeBasic() throws COMException
    {

  invokeN("CreateBarcodeBasic", new Object[] {});

    }

How do I get the CiBarcodeBasic object that the method creates???

thanks!!

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.