Answer Questions
Doug Mitcham Crash in Serialization + Multiple Threads
I encounter NullPointerExceptions when I use Java-Serialization in multiple threads (.NET v1.1.4322, vjslib 1.0.5000.0). Here my test program: package SerializationCrash; import java.io.*; public class Program { public static class Transfer implements java.io.Serializable { public int _a; public String _b; public double _c; public Transfer() {} public Transfer(int a, String b, doubl ...Show All
Dazzl Is it possible to uninstall J 1.1 from Windows XP without having to uninstall everything?
I downloaded J 1.1 without realizing it was a programming download. I am NOT an experienced computer person! All of my system information has been taken over, somehow. Please Help and Thank You. I don't even have e-mail access anymore, my memory is gone. I am a bit surprised that these two programs have become uninstallable. FYI .Net 1.1 is built into Windows XP SP2 which you may be running anyway. The ...Show All
1modris2 GNU Classpath "95% and counting" 0.19 released
The full announcement is available here: http://www.gnu.org/software/classpath/announce/20051102.html Am posting this announcement here as a way of suggesting that the J# team could consider adopting a community developed Java class library as a quicker means to get to at least Java 1.4 compatibility. On the IKVM.NET home page (a similar technology to J#) one will see that that open source project is leveraging the GNU Classpath libraries. I use ...Show All
Pratish Cannot find type 'javax.swing.JEditorPane'
Hi all, I have added a reference to VJSSupUILib.dll to my Visual J# project, but it cannot find the type javax.swing.JEditorPane. It can successfully find the others such as: javax.swing. JButton javax.swing. JOptionPane javax.swing. JScrollPane etc. How can I add this missing type to my project Is it stored in a different DLL perhaps Thanks in advance! Adam ...Show All
PUYBARET Creating documentation for our project
Hi; Any suggestions on how we build up our documentation for our API nDoc does not handle VS 2005 and does not understand java style comments. thanks - dave Oops, i must be sleeping while writing above post. You have already tried nDoc and i have pointed you to same tool :(.Please apologize me. Let us find out if there is any tool available which understands J# doc files format. We will get back to you soon. Thanks. Hi, Reall ...Show All
BuffyBot javax.* support
Hi, I was wondering if anyone has started on some libraries which provide support for things like javax.vecmath and the java 3d API. I do not care if they are just wrappers around other libraries (DirectX or .Math or ). Just if they are available before I start writing my own. Thanks, Blair P.S. No GPL'ed libraries please. Thanks. I am converting a chemical structure visualizer from it's java version to j# or C ...Show All
error1408 COM object that has been separated from its underlying RCW cannot be used exception within threads
Hi, We are having code in which we start a new thread and set it as STA. This new thread initializes IHTMLWindow2 object and then starts another thread. But, in that second thread if we try to access the IHTMLWindow2 which is initialized in the first thread we are getting this exception "COM object that has been separated from its underlying RCW cannot be used". If we do not set the first thread to STA, we coudn't access the windows ...Show All
TomM unhiding the parent form
Ok, so i have a j# application form that is started with: Application.Run( new form_splash()); I'm trying to open up a new window with the following code in a click event on a button. form_main window = new form_main(); Hide(); //hide splash window window.Show(); //shift show and activate new window window.Activate(); what can I do from the new form to shift focus back to, and un-hide the splash page The main problem I guess is that I ...Show All
ampijanka 100% CPU usage !!
hellow to all .. i am runing visual j++ 6.0 on my centrino 1.6 and 512RAM ... and i am amesd that the j++ take 100 CPU usage and i can't even use it the laptop is so slow and i can not function at all !! not just on my laptop , my friends tould me the same ! i am runing windows xp sp2 .. hellppp !!! Are you trying to run\compile any program on your machine If you restart your machine and just run Visual J++, are you able to reprodu ...Show All
VisualStudio Rocks! java.lang.Math.hypot J# equivalent?
I'm a total newbie to J#, I'm a C# and VB.NET programmer. I know a bit about Java, but not at a professional level, and I need to convert a Java program to J#. The part that I'm stuck on is I need to find a J# equivalent method of: java.lang.Math.hypot Any ideas Also, I need to have the same exact results, not a result that is "close enough and will suffice." Thanks:) java.lang.Math.hypot(x, y) is identical wi ...Show All
Mike UK Problem with C++/CLI and J# interaction bug
I'm having a problem with C++/CLI and J#. I am writing a class library in C++/CLI and want to use it from J#. I narrowed down my code and wrote a repro: a.cpp: #using <mscorlib.dll> #include <stdio.h> using namespace System; namespace AA { public ref class A { public : unsigned long Print() { printf( "Hello\n" ); return 0; } }; } b.jsl: import System.*; import AA.*; public class Test { public static void main( Stri ...Show All
Jain2005 java (J2EE 1.4) convert to J#
Hi, I want to convert my application in java (J2EE 1.4) to J# with minimum changes. Where can I get the script Thank's Alexei (I have tryed JLCA 2.0, 3.0 and it gives me about 100,000 errors becouse it convert to C#. I don't have a time for working on errors. I read that Java can be converted to J# with minimum errors.) Hi, I got 11500 errors in my applications... Thank's Alexei Generally my experience doing this always leads m ...Show All
cakalfurkan44 Can Java and J# communicate with each other.
Hi, New to J# (and java) so please bear with me! I've converted some Sun java code into a J# project, to allow me to use the logic from within existing C# code. The converted code is a rather complex API for sending / recieving data via a Socket (as a client). The conversion has gone extremly smoothly, I've only had to change (comment out) 2 lines of code, which relate to setting the send/recieve buffer sizes on the java.net.Socket. My ...Show All
hpreece Cannot find type 'javax.swing.JEditorPane'
Hi all, I have added a reference to VJSSupUILib.dll to my Visual J# project, but it cannot find the type javax.swing.JEditorPane. It can successfully find the others such as: javax.swing. JButton javax.swing. JOptionPane javax.swing. JScrollPane etc. How can I add this missing type to my project Is it stored in a different DLL perhaps Thanks in advance! Adam I ...Show All
Brent tele-man converting vj++ com.ms.com.Variant class to vj# equivalent
we have a sample code in out vj++ project which we are trying to convert to vj# as bleow, IHTMLElement ie=(IHTMLElement)actionElement.getPeer(); mshtml.IHTMLElement3 iet=(mshtml.IHTMLElement3)ie; boolean b1=iet.FireEvent("onchange",new Variant("onchange")); // the above line gives compiler error DClickActionPerformer.java(115): Actual parameter for 'byref System.Object' must be assignable not sure how we can convert to vj# like what wil ...Show All
