Re: [Quickfix-developers] [Quickfix-users] (no subject)
Brought to you by:
orenmnero
From: Djalma R. d. S. F. <drs...@gm...> - 2007-06-22 15:06:05
|
Hi Eranga, Maybe, what you need to do is the installation of Visual C++ runtime DLLs. If you installed Visual Studio 2005 SP1 recently, make sure you have installed the correct package when you deploy your application, a binary compiled with SP1 depends on a slightly different VC runtime version, its abasence generates this silly error - application configuration is incorrect. Djalma On 6/22/07, Eranga Samararathna <pe...@ri...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: > http://www.quickfixengine.org/services.html > > > > > > > Hi, > > > > I want to run the quickfix 1.12.4 on windows . I took a fresh machine and > installed java 1.5 and msxml3 there. Then I ran a my program there to test > JNI. ( Pl look the code below ) . Then I am got the following error. > > > > C:\fix_test\test_JNI\bin>java -Djava.library.path=../lib JNITest > > Exception in thread "main" java.lang.UnsatisfiedLinkError: > C:\fix_test\test_JNI\ > > lib\quickfix_jni.dll: This application has failed to start because the > applicati > > on configuration is incorrect. Reinstalling the application may fix this > problem > > > > at java.lang.ClassLoader$NativeLibrary.load(Native > Method) > > at java.lang.ClassLoader.loadLibrary0(Unknown > Source) > > at java.lang.ClassLoader.loadLibrary(Unknown > Source) > > at java.lang.Runtime.loadLibrary0(Unknown Source) > > at java.lang.System.loadLibrary(Unknown Source) > > at JNITest.<clinit>(JNITest.java:8) > > > > My Djava.library.path was correct. All other classpaths were ok. I think > quickifix depends on some other .dll on windows plat form. I can't figure > out what are they. Because when I install the Visual Studio 2005 IDE. It > start working. I am wonder what is this hidden dependency. > > > > I build the quickfix using VS2005 . > > > > public class JNITest{ > > > > static{ > > System.loadLibrary("quickfix_jni"); > > } > > > > > > > > public static void main(String args[]) throws Exception{ > > > > System.out.println("Start the JNI Compatibility Test > Program...."); > > > > Message m = new Message(); > > SessionSettings settings = new SessionSettings(new > FileInputStream("../test.cfg")); > > MessageStoreFactory messageStoreFactory = new > FileStoreFactory(settings); > > LogFactory logFactory = new FileLogFactory(settings); > > MessageFactory messageFactory = new DefaultMessageFactory(); > > > > > > System.out.println("Successfully Loaded the JNI...."); > > } > > } > > > > Regards, > > > > Eranga > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > |