04-02-2013 08:45 AM
Hi,
in which library the function NISysCfgInitializeSession is? I was trying to call it (via JNative in java) from nisyscfg.dll but I receive the error function not found.
cheers
04-03-2013 08:12 AM
Hi gerardoglez,
You must be able to find it by installing NI System Configuration runtime.
http://joule.ni.com/nidu/cds/view/p/id/2614/lang/fr
Best Regards
Sabri JATLAOUI
Applications Engineer
National Instruments France
04-03-2013 09:15 AM
I have already installed the runtime library, in the mean time, I was able to use the function making a copy of the lybrary to the lib folder in my project.
Something in parsing the string "C:\\Program File\\National Instruments\\...." failed, bu I am still loking for a solution...
best regards,
Gerardo
04-04-2013 08:33 AM
Hi Gerardo,
I don't understand, did you succed to call NISysCfgInitializeSession?
Best regards.
04-04-2013 08:46 AM
Yes I did have success using it. However I have used a brute force approach, as I was unable to read it from the original folder NI Runtime folder, I have copied it to my source folder and it works. It seems to be a bug of the JNative library.