JAVA + 32 bit Borland DLL + gpib-32.dll

Hello,
I develop a Java application, which - thanks to the Java Native
Interface - communicates with a 32 bit DLL (I called gpib-jni.dll)
I wrote this DLL with Borland C++ under Windows 98.
This DLL contains .cpp and .h files that make a link between Java
classes and another library for GPIB use: borland_gpib-32.obj
Actually, National Instruments (manufacturer of GPIB products) delivers
a gpib-32.dll file to control GPIB boards.
I installed my GPIB board and the gpib-32.dll file has been installed in
C:\WINDOWS\SYSTEM directory.
When I run my program, the Send() and Get() commands of the GPIB driver
don't work.
Perhaps there is something to do, in order gpib-32.dll understand
borland_gpib-32.obj content ?
I trie
d to include gpib-32.dll directly in my 32 bit DLL (gpib-jni.dll)
, but gpib-jni failed when linking operation.
Thanks for help.
Stephane Davy
Software & Signal Processing Engineer
Observatory of Paris - DESPA
92190 MEUDON
France

Hi,
File>Properties
what IE security zone does your page map to?
Tools>Internet Options>Security tab, security zone... by default Enhanced Protected mode is turned off for the Trusted and Intranet zones...
If your java rt app requires the 32bit environment... (viz will not run within a x64 browser process)..
then you need to add a feature test to your page.
If(navigator.platform.indexOf('32')>-1){// show message that browser is using an incompatible platform)
Usually IE will show a warning asking to remove a site from EPM (64bit mode), if it detects that no x64 bit version of the Java RT is available (installed/enabled).
Post questions about html, css and scripting for website development to the IE Web Development forum... include with your questions a link to your website or a mashup.
Regards.
Rob^_^

Similar Messages

  • Unable to load gpib-32.dll when running the visual basic 2008 program

    I installed NI-488.2 into my PC, window 7 64 bit OS.
    In the program >> project> add reference>.NET, I successfully add the NI.4882  into my visual basic  program.
    By the way, this program worked well in another window 7 32 bit PC.
    But when I run the program at ildev(BDINDEX,.........), error comes up as "unable load DLL gpib-32.dll".
    So when I looked at c:\windows\system32, I can not fine gpib-32.dll.
    Doesn't  NI-488.2 driver install gpib-32.dll?
    How can I install gpib-32.dll?

    SeongCho wrote:
    Nyc, thank you for your reply.
    By the way, I think I did all the link explained.
    So I have no problem in  adding  NI488.2 to my program's reference using "add reference".
    The problem is GPIB statement like ildev() looks for "gpib-32.dll".
    But there was no gpib-32.dll installed in "c:\windows\system32" so error comes up with "unable to load gpib-32.dll".
    I did the same procedure in my another PC(window 7 32 bit OS,my current PC is window 7 64 bit OS), and in that PC I can see the gpib-32.dll in that directory and program run without problem.
    I do not know how gpib-32.dll was installed in my previous PC.
    Thanks
    Seong
    Have you looked at the example programs for .NET that install with NI-488.2?
    You need to start thinking in terms of .NET 

  • Standby.wrf error Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAF.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform

    Hi,
    I have created a single tile and getting below error in standby0.wrf file.
    As mentioned in doc, I made a windows 32 bit for standby VM and installed 32 bit staf followed by staf configurations.I installed all the critical updates for windows.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAF.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
    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 com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:306)
    at IdleVMTest.main(IdleVMTest.java:30)
    I am attaching my test log.
    please let me know how to fix it.
    Thanks,
    Suresh

    Rebecca,
    I appreciate your quick response.
    I am running the test from Primeclient. I am planning to add more tiles once tile0 runs fine. Client0 runs separately.Forgot to mention this in last update.
    I assume prime client generates all wrf files. when other VM's .wrf files are generated fine, will it be still primeclient side error??
    Primeclient is windows 2008 sp2 64bit. Initially I installed 32 bit java and ended up problem while starting the  VMmark2-STAX.bat. When i installed the 64bit java, problem vanished. I assume java version is correct.
    Similary initially i installed a cygwin 64 bit but i got error like "Error VMmarkRMQmgr unable to clear  queues". So uninstalled it and installed a cygwin 32 bit and the problem vanished.
    I am seeing the standby VM is relocated fine during the test. it is just it is not capturing the data in .wrf file. Standby VM configure section does not talk about java installation. is there anything else i am missing it?
    I would like to know whether  below error talks about standby VM because standby VM is 32 bit other side primeclient is 64 bit. below error says on a IA 32-bit platform.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAF.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
    Below image u can see java variables are set. Is there anything wrong??
    Thanks,
    Suresh

  • Illustrator CS6 64-bit dvaui.dll and msvcr100.dll crashing problem, any solution?

    First things first, trying to find a tech support Email address or phone number has been infuriating.  The "3-step support wizard" which results in "go to the forums" is also infuriating and insulting.
    I have a Windows 7 64-bit PC running CS6 64-bit (updated/current), and it's crashing at random (2-3 times per day).  I see events recorded in the event log showing dvaui.dll and msvcr100.dll as the source.  Other people have raised this as an issue, and all I see are guesses.  Does Adobe have a credible solution for this yet?
    I've tried running as a domain admin, which did not help.
    Illustrator CS6 32-bit seems to be working perfectly (4 days straight, no crashing).
    It seems to currently affect only one computer (5 others are fine).  It's not repeatable, and has no discernible cause.
    Also, format and reinstall is neither a solution nor an option.
    To be honest, I'm looking for Adobe to address this directly: do you know why this is happening, and how long until it is solved?  If an Adobe tech support will open a case, I have a file that the designer (I'm not the designer) was using during one of the crashes.  I don't know if the crashing will be related (to the file), but I have the file just in case.
    David.

    Hi Larry,
    Thank you for responding.
    > CS6 is current in that it is still available for purchase and in the CC but it is now two versions behind.
    I'm not quite sure what you are trying to say.  Can you be explicit, please?
    > As to your problem have you tried downloading the .dll files from Microsoft and reinstalling them?
    I have copied and re-registered the DLL files from a known-good machine (that is to say that the machine doesn't exhibit any of the symptoms as the above machine), which did not help.
    I'm really interested in having Adobe respond directly to this issue.  I know they are aware of it.
    It's clear that Adobe doesn't actually want to support this program, but people rely on it for their economic success.  Both my client and his employees need this program to function properly and reliably, and I think anyone would agree that it's reasonable to expect that a problem like this (that affects more than just us) be, at a minimum, addressed.  Adobe has my client's money, they had no problem accepting it.  With that acceptance comes a duty to be responsive.
    Thanks,
    David.

  • When I try to run NI's Sample VB programs I get the following error, Unable to find gpib-32.dll.

    Tried to reference gpib-32.dll but VB says unable to reference gpib-32.dll. Software: Win95, NI488.2 (ver 2.6) Hardware: GPIB-PCIIA

    NI-488.2 version 2.6 is written for DOS/WIN 16 operating systems. You may want to remove that driver and install NI-488.2 version 1.6 or 1.7 instead. Here is a link to the download site: http://digital.ni.com/softlib.nsf/websearch/E10418C4F6CFDCC186256BA600644D77?opendocument&node=132060_US
    Heather S.
    Applications Engineer
    National Instruments

  • Cannot load gpib-32.dll

    "I replaced the GPIB-32.dll file dated 1/26/98 with one dated 7/29/99 in order to fix the "cannot load gpib-32.dll" error. Now I can register it, but I get the error "c:\windows\gpib-32.dll was loaded but the DLLRegisterServer entry point was not found. DLLRegisterServer may not be exported, or a corrupt version of c:\windows\gpib-32.dll may be in memory. Consider using Pview to detect and remove it. When I attempt to run my application windows crashes, but returns after hitting enter."

    Chris,
    For information concerning language interfaces and GPIB go to the following path:
    ni.com>>resource library>>gpib>>programming>>language interfaces
    Best Regards,
    Chris D

  • Using gpib-32.dll in Labview 7.0

    Hi there,
    I am relatively new to Labview and I need some help trying to program an old HP3488A switch/control unit using the Call Library Function Node. I would like to convert the existing VB6 code, which uses gpib-32.dll, into Labview. What I have done in the VB code is to call the ibdev function to set up the HP instrument. I would like to do the same in Labview. How would I even go about setting up the .dll files as I am revamping the existing code (running on a Pentium II computer) and trying to create an identical code in Labview (running on a Pentium III computer). Also, after I have set up the .dll files (done any system configurations if necessary), how do I actually implement this file in Labview?
    I have tried calling the ibdev function in the properties of the Call Library Function. I created 6 parameters of return types with ranges of type long. Then I pass integers into the input of this node and when I tried running it I get an error exception within the external code as follows:
    "An exception occured within the external code called by a Call Library Node. This might have corrupted Labview's memory. Save any work to a new location and restart Labview. VI "switch.vi" was stopped at Call Library Function Node 0x1D7C of subVI "switch.vi"
    Can someone please help me? Thanks.

    I actually tried that before. As the HP3488A switch instrument is very old and came out before IEEE488.2 got introduced, it still uses IEEE 488.1, or HPIB commands. When I try using MAX or even my Agilent IO Control, it shows that there is an instrument connect to GPIB address 10, but neither programs can auto-identify the instrument using the *IDN? query. Even so, I tried typing ID? in both programs and I got no data back from the instrument. I'm not too sure as to what the problem is since I always get "\n" back from the instrument's reply. I even tried changing the termination character enable to TRUE and I still got nothing back.
    However, on the front local display of the switch, I can see arrow indicators moving between TALK and LISTEN whenever I perform a write or write/read command. But no data gets sent or received because I couldn't perform any write commands to change the switch. If anyone can tell me what the real problem is that would be great. But if not, then I will have to use the Call Library Node because I know that my VB6 code actually works on the HPIB instrument and I could simply use this gpib-32.dll file on Labview and perform the same instructions, which should allow me to talk to the switch. Can anyone tell me how to properly set up a Call Library Function Node as I have errors using the gpib-32.dll file (please see my previous message)?

  • IE 10 on Windows 7 - 64bit: Pointing to Java 32-bit or 64-bit

    Hello,
    I have a Windows 7 64-bit machine with IE10 currently installed.  I also have Java 32-bit and Java 64-bit installed on the machine, as both are necessary for an array of applications.
    I have an application that must be invoked with Java 32-bit.  When trying to open the application I am receiving a "cannot load 32bit dll on..."
    I realize this exception is because the application is trying to be opened using the Java 64-bit version and this will not work.
    Is there a way to set IE10 so it uses the 32-bit version of Java when trying to open this specific application, other than editing the registry settings on the machine?

    Hi,
    File>Properties
    what IE security zone does your page map to?
    Tools>Internet Options>Security tab, security zone... by default Enhanced Protected mode is turned off for the Trusted and Intranet zones...
    If your java rt app requires the 32bit environment... (viz will not run within a x64 browser process)..
    then you need to add a feature test to your page.
    If(navigator.platform.indexOf('32')>-1){// show message that browser is using an incompatible platform)
    Usually IE will show a warning asking to remove a site from EPM (64bit mode), if it detects that no x64 bit version of the Java RT is available (installed/enabled).
    Post questions about html, css and scripting for website development to the IE Web Development forum... include with your questions a link to your website or a mashup.
    Regards.
    Rob^_^

  • SP 2010 and Office 365 C2R owssupp.dll or interceptor.dll issues

    Hello,
    At my company we're having compatibility issues after upgrading our
    Windows 7 SP1 64-bit NL-NL laptops
    to Internet Explorer 11 and Office 365 ProPlus Click-to-Run
    32-bit NL-NL.
    Our
    initial notebook configuration had Internet Explorer 9,
    Office 2007 ProPlus and Lync Basic 2013 installed.
    The upgrade path exists of deleting Office 2007 and Lync Basic 2013, installing the Office 365
    Click-to-Run and letting Internet Explorer update via the Windows Updates
    The issues we experience happen between our
    SharePoint 2010 On Premise and the SharePoint Online environment.
    While we had no issues before, now, when trying to edit a document on SharePoint 2010 On Premise
    we get the message: "A Microsoft SharePoint Foundation compatible application could not be found to
    edit the document"
    Doing some digging around online a lot of topics point to the ‘owssupp.dll’ as a possible culprit
    but to no avail we tried a number of suggested solutions, listed below. Some of these solutions might propably work for the Office 2013
    MSI installation but none of them seem to apply to the Click-to-Run version.
    - Repair Office (Fast and Online)
    - Delete and reinstall Office
    - Switch in IE between 32 and 64 bit mode but this is
    not possible with Internet Explorer 11
    - Tried the Microsoft Hotfix KB
    2726997 but got the message that it
    does not apply to our system.
    - Check registry references if owssupp.dll points to Office 15
    - Manually re-register owssupp.dll
    - Replaced owssupp.dll by the Office 2007 version
    - Checked if all SharePoint add-ons in Internet Explorer were enabled        
    -> 'Sharepoint OpenDocuments Class' refers to interceptor.dll
    not owssupp.dll
    - Check/Install “Microsoft Sharepoint Foundation Support”..
    Click-to-Run doesn’t
    have that option
    - Create registry keys in:  HKEY_CLASSES_ROOT\Installer\Components\55EAFA0B8A4403B428FDE038B252C621
    What there should be: HKCR\Installer\Components\55EAFA0B8A4403B428FDE038B252C621\x86\1033
    What should be added: HKCR\Installer\Components\55EAFA0B8A4403B428FDE038B252C621\x86\1043
    But the 55EAFA0B8A4403B428FDE038B252C621-key
    doesn't exist with the Click-to-Run version and manually creating it doesn’t help
    - Put the site in the 'Intranet Zone'
    - Put the site in the 'Trusted Sites' list (prodsharepoint.kindengezin.be)
             -> HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet
    Settings\ZoneMapKey                    -> *.kindengezin.be
    (REG_SZ, Data: 1)
    - Check if our SharePoint 2010 On Premis environment is completely up-to-date
    - Create
    C:\Program Files (x86)\Microsoft Office\Office 15\ and placed the owsupp.dll in it; in case SharePoint would be looking for it in the wrong place;        -> Keep in mind that the folder structure with Office
    365 ProPlus Click-to-Run is different than the 'normal' Office 2013 as the owssupp.dll is now located in C:\Program Files\Microsoft Office 15\root\office15\owssupp.dll
    - Checked if our Firewall settings are up to date (IP-ranges and other settings)
    The test where I got it to
    work, but is not a solution in my personal opinion is: Open the Lync Basic 2013 setup and only check
    Support for Microsoft SharePoint Foundation
    In your Programs and Features list you now have 2 entries: Microsoft Lync Basic 2013 Microsoft Office
    365 ProPlus – nl-nl
    I do not trust this “solution” as I do not know the future consequences of this “solution” in terms
    of updates or functionality.

    Anyone? Have OWSSUPP.DLL issues with Office15 and IE11 as well - can't get the "Connect to Outlook" menu option on SharePoint calendars to show.

  • What are analogous shared libraries that can be called using a call library function to user32.dll and lvtoolbox.dll when using Linux and Mac?

    I am wondering if anyone is familiar with how to get similar information with a LV program using a Linux shared library as well as the corrolate Mac library to the Windows user32.dll and lvtoolbox.dll.  I specifically am trying to get system metrics such as screen resolution information and cursor information as well as being able to set mouse position.   I am trying to convert a LV Windows program to these other operating systems and I am unfamiliar with these platforms.
    Thanks for your time - I really appreciate it.

    There is no simple answer to that. On Linux you will likely have to call into X Server, which would be a pain to do, due to various versions and implementations of that. On the Mac there would be the difficulty that you can't call into the native ObjectiveC API but would need to find a Carbon API or something like that to do what you want.
    If you seriously want to do something like this for multiplatform, you should bite the bullet and start coding an intermediate shared library in C. This library would export a LabVIEW friendly C API and access whatever system API you need to have for the particular functions. But multiplatform programming on this level is a pain in the ass, no matter what.
    Message Edited by rolfk on 04-21-2010 08:26 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Call dll from my dll

    I Have a dll file for my attendance machine
    and every thing are ok when I call dll from my exe application
    I want to create my own dll which my dll connect to attendance dll and get data from it and then insert data to tables
    a second question
    is there a method for calling my dll through windows batch file or I must create an exe application calling from it

    Let me explain a bit what a VFP DLL is for:
    You can only build one type of DLL, an OLE COM Server DLL. It'll mainly contain OLEPUBLIC class definitions, which are then usable in other programming languages. In any programming language capable to make use of OLE COM Server classes.
    If your project is named mydll.pjx and a prg or vcx contains a class myclass, the final DLL will have the OLE class "mydll.myclass" in it.
    This is overhead, if you use this in VFP. If you want to modularize your application, then create several EXE or build as APP. You can DO some.prg IN some.APP or you can create an object o = NEWOBJECT("myclass","myclasslib.vcx","myapp.app")
    to refer to a class inside a vcx compiled and build together with other project files into an app file.
    But any separation you do complicates the code use. A DLL is only needed, if some other programming language needs to use your VFP code. And that other programming language has to be able to instanciate classes.
    You don't need this, even if other programming languages would be involved. You can compile an EXE and that can be run. If needed with parameters. That's typically much simpler and could even be used by DOS batch files either using the DOS start command
    or directly your.EXE as man DOS commands also are merely EXE files.
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH http://www.tmn-systemberatung.de

  • Access Denied   AcroIEHelper.dll  AcroPDF.dll  and pdfshell.dll

    I have bits and pieces of earlier versions of Adobe Reader on my computer, so before I downloaded the latest version, version 9, I tried to remove the earlier versions. I had to do it manually and seem to have removed all the bits and pieces recommended in the tech notes but I CANNOT REMOVE AcroIEHelper.dll AcroPDF.dll and pdfshell.dll from Program files\common files\Adobe\Acrobat\ActiveX I can see that other people have had this problem but there doesn't seem to be an obvious and foolproof way of doing it. (I tried the Microsoft Installer Cleanup Utility and nearly wrecked my computer - Word froze and disappeared altogether off my list of programs!)

    Could not delete pdfshell.dll, but this worked (in Win XP):
    1. Close all programs.
    2. Open a command prompt window: Start > Run. Enter cmd.
    3. Open Task Mgr.
    4. Select explorer.exe and End Process. Yes to Warning. Desktop goes away.
    5. In the command prompt window (remember your DOS commands) and go to the directory and delete the file. Apparently this works because explorer.exe is not running.
    6. Restart Explorer: In the Task Mgr., File > New Task. Type explor.exe.

  • The applicatio​n has failed to start dll bcaz libmex.dll was not found. Re-install​ing the applicatio​n may fix this problem

    Hi ,
      I am new to Labview & Matlab related Software. I am using LabView 8.20 and Matlab 6.5.1.199709 . I generated simple .dll(for adding 2 numbers) file with the help of Matlab and trying to use that dll file in Labview using "Call Library Function Node" control, then I am getting the following error.
    the application has failed to start dll because libmex.dll was not found. Re-installing the application may fix this problem
    Could any one help on this?
    Thanks & Rgds
    naveen

    Hello Naveen,
    The libmex.dll is installed by Matlab. It should ideally be located as \bin\win32. Check to make sure that this DLL is there.
    Also add the path to the DLLs to "Path" system variable (On XP: Start>>Control Panel>>System>>Advanced and click Environment Variables)
    Hope this helps,
    Chetan K
    AE-NIC

  • How to set Java 64-bit as the default?

    Hey everyone, I need to use Java 64-bit in Mac OS X Lion and I thought it defaulted to using the 64-bit JDK until I ran Minecraft which stated I was running the 32-bit JDK and if I deselect the 32-bit entry in Java Preferences it deselects the 64-bit entry as well. Does anyone know of a way to make OS X default to the 64-bit version, I also make use of the 64-bit JDK on Windows to ensure my Java applications in NetBeans run correctly on either flavour.
    I did try using the OpenJDK 7 and downloaded the 64-bit runtime and installed it correctly and confirmed it was running but when running the Minecraft.app I was greeted with a message saying no compatible JDK 1.5+ was installed and when using the Terminal, it was failing to logon correctly, but was working fine in the standard JDK but like I said, I'm stuck with 32-bit in that case.
    Regards, Wobby.

    Does minecraft support 64-bit Java? 
    There isn't really a default java, but you can set the order for your preferred java.  Go to the Java Preferences (/Applications/Utilities/Java Preferences) and on the General tab just make sure the 64-bit java is first (you can click and drag them to change the order).
    You might also try disabling the 32-bit java by unchecking the "ON" check box next to it and see if Minecraft will run and with which Java (if shouldn't be able to launch the 32-bit one if it is off).
    Good luck!

  • "Calling functions that are in a class based DLL (MFC extention DLL)"

    "Calling functions that are in a class based DLL (MFC extention DLL)"
    "Calling functions that are in a class based DLL (MFC extention DLL)
    I have a DLL written in VC++ using MFC exteintion DLL.
    The functions are used to extract information from a hardware card.
    eg.:
    class AFX_EXT_CLASS WSDevice : public cAsyncSocket
    This is a class in a DLL. There are a number of functions in this DLL that we need to call from Labview 5.0
    How do we call these functions?
    Normally (in VC++ /C++) we ceate a instance of this class like WSDeviceObj and use the function call :
    WSDeviceObj.fucntion name
    Kindly Help.
    Satish Narayana"

    You can create a wrapper dll from which you can call your dlls functions.
    Guidelines on how to create a dll that can communicate with LabVIEW are provided in the document "Using External Code in LabVIEW", which should be included with LabVIEW. You can download the document also from www.ni.com at:
    http://digital.ni.com/manuals.nsf/web_productcurre​nt/4F1447F7CD83D6D88625690D00637CED?OpenDocument
    Regards;
    Vargas
    www.vartortech.com

Maybe you are looking for

  • Viewing actual data in a .dbf file

    I'm completely new at Oracle, and so I'm not sure if I know exactly how to explain my situation, but, here it is. I am trying to import a .dmp file into Oracle. I have run the imp command and have the resultant .dbf datafile, and I have added it into

  • Using My Phone In Mexico

    I have the Samsung Galaxy S III 16G and am going to Mexico in a couple of weeks. Just curious how much it would cost per MB or GB. For example, if I wanted to JUST upload a picture on Instagram and do nothing else how much would that cost with roamin

  • Is the Remote Object always a singleton?

    Hi, Using .Net Remoting we can export a Remote Objects in three different ways: 1. Singleton: Same instance of a Server-side object is used by all the clients for all the requests. 2. SingleCall: Whenever a new call is received, a new instance of the

  • More than 24h and my order stucks on "Processing Order"

    Hi, I´m worried about my order (removed per forum guidelines), it doesn't shipped yet (according to the site) and i need it by, at most saturday, because on sunday the person, who will bring the package, will travel back to my country.  Could you ple

  • Every image I have edited since upgrading to Lightroom 5 has been corrupted.

    Every image I have edited since upgrading to Lightroom 5 has been corrupted. First I was shooting in RAW and there was an issuw with my operating system. I upgraded to Maverick and it was supposedly fixed. Then there was an issue because LR didn't wo