Re: newbie getting started
willie klein <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <[email protected]> |
Hi All;
Thanks for the help, I'm much further along now. :)
I've compiled my classes and see somewhat how to use them, but I'm
getting a compile error when I try to read a record from the data base.
My code:
try{
ICometFiles cf = new ICometFiles(CometFiles.CLSID);
cf.Initialize("ClientID", -1, 50, 50);
is = cf.getIsConnected();
cf.Open(10, "WWC1A", "WKK");
cf.Read(10, "001002");
the compiler complains:
CFAM/HelloDllStub.java [31:1] Read(int,org.jawin.Variant) in
CFAM.ICometFiles cannot be applied to (int,java.lang.String)
I'm not sure what the difference is between a org.jawin.Variant and a
String would be. This is a record key for the database.
Thanks
willie