Application Error (JVM crashes and hangs)
Miroslav Tichy <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hi, this is my problem:-) When I call any method of the stub of the COM object (not only the business logic), I recieve acceptable result, but when leaving the main method (more precisely private void exit() on Thread when destroying the JVM), error window with message: "the instruction at xxx referenced memory at xxx. The memory could not be read" pops up and the thread hangs. Here is the code...(nothing surprising I guess....) .... Ole32.CoInitialize(); //generated stub for COM object writen in MS Fox and accessing Clipper DBF file through the ODBC Inetwrs net = new Inetwrs(netwrs.CLSID); //here I call method which writes something to the DB and it really does it...!!!!!! Object o = net.zapis(); Ole32.CoUninitialize(); ... I tried combinations of jvm 1.3.1_15, 1.4.1_01,03, 1.5.0_01 and jawin 1.0.19 and 2.0A all with the same result.. Any ideas? thx very much, Mirek