VBAIInterf​aceC.dll could not be found on 64-bit machine

I'm currently trying to run a vbai program with .net like in the DotNET examples included in the "API Examples" map. I added the NationalInstruments.VBAI.2008 to my References in visual studio 2008 and the program runs fine on my Windows XP SP3 32bit system. When I run the program on a Windows 7 32bit machine it also runs but when I test it on a Windows 7 64bit the program crashes as soon as I try to run this line of code:
VBAIEngine engine =newVBAIEngine("Engine"string.Empty, false);
I get the error:
System.DllNotFoundException: Can't load DLL VBAIInterfaceC.dll.
Is this is a 64 bit problem cause when I look up the dll file I find it on 32bit machines in the folder C:\Windows\System32 and in the 64bit machine it is in the C:\Windows\SysWOW64 folder.
Do I use the wrong DLL files or is there something else I should consider using 64bit?
Thank you in advance for any help.
Solved!
Go to Solution.

You must configure your 64-bit MSVC project to run in 32-bit mode so it will find the 32-bit dll in the 32-bit Windows\SysWOW64 directory. You should be able to go to Build>>Configuration Manager... and set the Platform to x86. The directions may be slightly different for different versions of MSVC, so these are the directions for MSVC 2010. I found this here:
http://julester.hubpages.com/hub/How-to-run-a-Visu​al-Studio-2010-application-as-32-but-on-a-64-bit-m​...
Hope this helps,
Brad

Similar Messages

  • The user function manager DLL (ufmanager.dll) could not be found.

    Hi Everyone,
    I just spent two horrible days getting a Windows 2003 server to run our .net 2008 asp Crystal report.  It was all because of the unknown.rpt error.  The final answer was to give the NETWORK SERVICE account full control to the C:\ and then remove that permission. 
    Now, I'm up to my next challenge:
    Error in File C:\WINDOWS\TEMP\CrystalReport {2A76C903-674A-4A7B-AA04-44FC7E206C3F}.rpt:
    The user function manager DLL (ufmanager.dll) could not be found.
    That dll is there on the server.  What should I do?
    Please help!!!!
    Thanks,
    Ed

    Ok, here is where the fun begins as the issue you are getting is not something I've run into before. A few clarifications and suggestions re. troubleshooting.
    I used the latest runtime.msi
    - confirm this was CRRedist2008_x86.msi (just want to be sure)
    pdf about the unknown.rpt.
    - do you have a link or name of the pdf?
    To troubleshoot let's do this:
    1) Download the depends utility. I want to see if there is a missing dependency. depends is here:
    http://www.dependencywalker.com/
    open the ufmanager.dll in depends and see what it reports.
    2) Run Process Monitor utility. ProcMon can be downloaded from here:
    http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx
    Make sure you filter ProcMon for your process as this will shrink the log file. Then look for ufmanager.dll and see where the app is trying to load it from.
    3) Check this registry entry:
    HKLM\software\business objects\10.5\crystal reports
    See that CommonFiles is pointing to c:\program files\business objects\common\2.8\bin.
    4) Copy the ufmanager.dll from c:\program files\business objects\common\2.8\bin to your app directory (this is just a test as I want to see if we can load the dll from anywhere...)
    Ludek

  • Mesa. dll could not be found

    CVI 7.1で開発したソフト(XPでは正常に動作しているもの)をWindows7にインストールしたところ
    ”Mesa. dll could not be found"ようなエラーメッセージが表示された。
    3台のPC(ホーム、プロフェッショナル×2)で試したところ
    1台(プロフェッショナル)ではエラーも発生することなく動作した。
    Windows7で確実に動作する方法があればご指導お願いします。

    おそらくこの技術データベースが役立つかと思われます。
     Error Mesa.dll Could Not Be Found
    http://digital.ni.com/public.nsf/allkb/A133790F5A8DC1A586256F9C006D29E8
    リンク先からランタイムエンジンをダウンロードしてインストールすることで改善しないでしょうか。
    ちなみにランタイムエンジンはWindows 7を正式サポートしていないようです。動作しなくてもサポート外である可能性が高いです。
    よろしくお願いします。

  • The DLL could not be found error

    I have upgraded the IMAQdx on Real-Time Desktop target from 3.7 to 3.8 version. After that all imax functions in LabVIEW and MAX return same IMAXdx error "The DLL could not be found". Does anybody know what happens and how to fix this problem? I have tried uninstall the IMAQdx and then insall it again. This does not help.
    Sergey

    Yes, it is activated on my laptop that I use to upload software to real-time target (real-time desktop on NI 8354). Unfortunately I cannot find the procedure to activate IMAQdx on real-time. It works fine before IMAQdx upgrade and I cannot remember any additional actions I have performed when I have install it first time.
    Sergey.

  • 'Mesa.dll could not be found' received from CVI 2010 installati​on

    When I launch an executable that was installed from a distribution kit created with CVI 2010 (360), I get the message 'Mesa.dll could not be found'. But I can see that the file was installed at C:\Program Files\National Instruments\Shared\Mesa.  If I replace this file with an older mesa.dll from a previous version of CVI, my newly installed executable launches correctly.
    Solved!
    Go to Solution.

    I found exactly the same problem in a project where I include only "Standard Run-Time" item, so I read your suggestion:
    Install the full CVI runtime             ->              I don't like having to install unnecessary components
    leave out the ActiveX module         ->              not included
    install the VS C++ runtime on the deployment machine           ->            I downloaded and installed this package, and this fixes the issue, but the user has to launch another additional installer.
    Could you attach to this discussion the right Merge Module (*.msm file) that I can add to my Distribution Kit? (as done for this old issue)
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • When opening I tunes message came up saying I tunes failed to start because MSVCR80.dll could not be found  Reinstalling the application could fix this problem   What do I do now?

    When opening I tunes - message came up saying I tunes failed to start because MSVCR80.dll could not be found - reinstalling this application could fix this prolem.  What can I do to fix - do not want to lose all my music

    Hello MMsole,
    The following article provides steps that can help get iTunes back up and running.
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    Allen

  • Vs2013 entityframework.dll could not be found

    I updated VS2013 to VS2013 Update 4, and Entity Framework broke.  My error message is the same as others I've seen with the same problem but NONE of the suggested fixes work:
    Error 2
    Compiling transformation: Metadata file 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\NuGet Packages\..\IDE\EntityFramework.dll' could not be found
    d:\users\allen\documents\visual studio 2013\Projects\WebApplication8\WebApplication8\Models\Model1.tt
    1 1
    WebApplication8
    I'm running Win 7 Pro. I have VS2012 current and runnning and NO PROBLEMS with Entity Framework. Notice that it's seeking the dll on C.  I've made every attempt to install this on D, as C is a rather smallish SSD.  Somehow, the system variables
    have been set to C and no matter how many times I reset the registry, uninstall and reinstall both VS2013 and EF6.1.3. I've used Nuget and it does install the dll in the project location but on BUILD it errors out.
    I'd appreciate any suggestions on how to move forward. 
    BTW: the current system variable VS120COMNTOOLS is being set to C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\NuGet Packages\  
    which DOES NOT EXIST! This little section of the above error message "Packages\..\IDE\Entity" may be where the wheels fall off. No matter where I put a valid dll, I can't get the "Packages\..\IDE\Entity"
    the ".." figured out.
    Thanks.
    Allen

    Hello Allen,
    May I know some more details about what you have tried?
    Have you tried to use /force when uninstall Visual Studio and have you refered to the following article:
    https://support.microsoft.com/en-us/kb/2771441?wa=wsignin1.0
    It is for Visual Studio 2012 but Visual Studio 2013 can still use the article. As it has mentioned, just remove Visual Studio from control panel will not clear all settings due to those shared components. So if you want to completely remove VS and change
    the path, you need to remove those shared components.
    What's more, have you ever tried the solution from the following thread:
    http://stackoverflow.com/questions/10950638/the-referenced-component-entityframework-could-not-be-found
    "Allow NuGet to download missing packages during build" may help you download content to the location it required. Maybe it will helps on this issue.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Preview Error: "no endpoint listening at net.pipe ... incorrect address or SOAP action ... could not be found on your local machine"

    Hi
    I am developing SSRS reports, suddenly now I am getting this error when I try to preview a report in the VS 2010 shell:
    "This is a designer preview error, "There was no endpoint listening at  net.pipe://localhost/PreviewProcessngServcie11108/ReportProcessng that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerExcelption,
    if present, for more details. The pipe endpoint 'net.pipe://localhost/PreviewProcessing11108/ReportProcessing' could not be found on your local machine"
    The error has come out of the blue, reports which I used to be able to preview, I can't preview anymore.
    Anybody knows what to do to make it work again?

    I tried to apply Mike Yin' answer on this thread
    http://social.msdn.microsoft.com/Forums/en-US/38ff8d54-06aa-40c3-8916-378d5185320e/report-designer-preview-in-ssdt-throws-up-a-end-point-not-found-error?forum=sqlreportingservices
    Suggestion 1:
    Press WinKey+R , input “services.msc” in the Run box, and press enter.
    In the local services list, find the “Net.Pipe Listener Adapter”. 
    If it is stopped, start it. If it is started, restart it.
    I found that “Net.Pipe Listener Adapter” was not enabled, so I enabled it and started/restarted it. Now it works again :)

  • Modplsql.dll could not be found (so it says)

    I just upgraded from HTMLDB 1.6 to 2.0.
    I have not been able to login, due to Interal Server Error.
    In tracking all the logs, I find this error when starting the HTTP Server at the end of HTTP_Server~1 log file:
    05/11/07 17:58:21 Start process
    Syntax error on line 9 of c:/oracle/th_htmldb/apache/modplsql/conf/plsql.conf:
    Cannot load c:/oracle/th_htmldb/bin/modplsql.dll into server: (126) The specified module could not be found:
    The plsql.conf is:
    # ============================================================================
    # mod_plsql configuration file
    # ============================================================================
    # 1. Please refer to plsql.README for a description of this file
    # 2. Parameters in this file have to be configured manually
    # ============================================================================
    # Configure Oracle HTTP Server to load mod_plsql
    LoadModule plsql_module C:\oracle\th_htmldb\bin\modplsql.dll
    # Load in mod_plsql directives only if mod_plsql is loaded
    <IfModule mod_plsql.c>
    # ============================================================================
    # Global Settings Section : Directives that apply to all DADs
    # ============================================================================
    #PlsqlLogEnable Off
    # turned on KC 11/07/05
    PlsqlLogEnable On
    PlsqlLogDirectory C:\oracle\th_htmldb\Apache\modplsql\logs
    # PlsqlIdleSessionCleanupInterval 15 (default)
    # PlsqlDMSEnable On (default)
    # ============================================================================
    # Database Access Descriptors Settings Section
    # ============================================================================
    include C:\oracle\th_htmldb\Apache\modplsql\conf\dads.conf
    # ============================================================================
    # Cache Settings Section
    # ============================================================================
    include C:\oracle\th_htmldb\Apache\modplsql\conf\cache.conf
    </IfModule>
    ----------- end plsql.conf
    Yes, the file is there: 217K, created 12/1/2004 last accessed 11/07/2005.
    I even found a modplsql.dll from another install and copied over the one that was there - the sizes were similar, the previous one was 204K created 11/18/2003.
    Where do I go from here?
    Thanks,
    Karen

    Ok, I finally got it figured out.
    I needed the original (to that HTTP Server ) modplsql.dll.
    There was no PATH issue.
    Once I got the oracle_apache.conf calling plsql.conf and marvel.conf, using the correct DADs, I was all set. I post my solutions to save others some grief.
    The original Service Temporarily Unavailable message (Mozilla) was due to the fact that the HTMLDB_PUBLIC_USER account was locked after my upgrade.
    Along the way, I ran into an access Forbidden error, which was caused by the incorrect password in the DAD.
    Two simple things - unlock the HTMLDB_PUBLIC_USER acount, and of course make sure the DADs are correct.
    And as soon as I can I will be contacting Anton to combine all into one HTTP Server -thanks!

  • Ivi.dll problem because ivi_support_c.dll could not be found

    Hi all:
    I have a labview program to controll the HP6613C DC power source, written on Labview 6. It used the vi files of hp66xxbc.llb. It is working well on the old version labview.
    When I run this program in Labview 8.2 on a new computer, the error message is "This application has failed to start because ivi_support-c.dll was not found. I have copied the ivi.dll and ivi_support_c.dll to the new computer. I have tried copying them into the Labview 9.2 folder or win32/system. However, it doesn't work.
    Could you see what wrong it is?
    Thank you.
    Jay

    Hi Jay,
    Did you install the driver for LabVIEW 8.2? You can find the installer here. Hope this helps. Thanks!
    Regards,
    Ebele O.
    National Instruments

  • OCI.DLL could not be found

    Please can anybody help me to this problem. I have installed personal oracle Edition 8i. After that, if i execute java file in DOS prompt, i am getting this error (The specified module could not found - OCI.DLL).

    Most likely <ORACLE_HOME>\bin is not in the path. Since this is normally done by the installer, you should check your installation process.
    Werner

  • HT1926 I have just updated itunes on my pc (widows XP) to the latest version. When I try to open it i get an error message saying the application failed to start because MSVCR80.dll could not be found. Not sure how to resolve this. Have tried to reinstall

    I have just updated itunes on my pc (windows XP) to the latest version. When I try to open it I get an error message saying the application failed to start because MSVCR80.dll was not found< Have tried reinstalling with no luck. Any ideas?

    try removing all itunes and all other apple program
    follow this link for more info. http://support.apple.com/kb/HT1923
    reboot ur window after uninstalling
    after that download the latest itunes setup and install.

  • After ther recent update i have an error message error 7 windows 126 MSVCR80.dll could not be found

    I recently had an update from apple and when I installed it on my HP Desktop computer it damaged something. Every time I try to open the ITUNE app. I get an error message
    iTunes.exe - Unable To Locate Component
    This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.
    OK  
    iTunes
    iTunes was not installed correctly.  Please reinstall iTunes.
    Error 7 (Windows error 126)
    OK  
    I went online and read that I should uninstall and reinstall the ITUNE program, however at the end of the install the ERROR 7 message appeared again...
    where do I go from here?

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • OraOps10w.dll could not be found

    Hi there,
    I've written an Addin for MS Excel that uses ODP.NET to access an Oracle 9i DB. Everything worked fine during testing on the developement machine. Now we've deployed the Application to a Citrix Server and every time the Addin is loaded there's a message saying:
    Unable to load DLL OraOps10w.dll. Module coult not be found
    Here're my questions:
    - Why is there a 10w in the filename, I'm trying to access an 9i Database
    - Why do I get this message? Do I have to Redristibute the DLL together with the Addin? Do I have to deploy other Files too? Is there some kind of merge Module wich can do that for me?
    Cheers,
    Manuel

    Hi,
    Until Oracle's ODP.NET supports Instant Client, there's no easy way to deploy ODP.NET with your app. The machine you want to run the app on needs to have at least a minimal Oracle client install, and that you do with the Oracle Universal Installer.
    If the machine already has an Oracle client of the appropriate version (ie, 10.2 if you're deploying an app that uses 10.2 ODP), you should be able to just deploy Oracle.DataAccess.dll and the corresponding OraOps.dll and get it to work, but for the reasons Mark stated in this post Re: using an exsiting oracle installation ,it's generally not a good idea.
    Hope that helps,
    Greg

  • A secondary dll could not be found

    I'm trying to link to a DLL linked to another (secondary) DLL, but LabView visualizes the "title" message (and the broken arrow).
    The libraries are generated from C code source, and with a "C tester" code they works correct.

    Hello,
    First thing is to make sure you properly specified the path to the DLL in the Call Library Function. If it is correct, then the DLL that the Call Library Function needs is found correctly, but that particular DLL needs additional functions from one or more other DLLs. The task is to find the other DLLs and either put them in the same directory as the DLL that needs them, or in a directory that is in the search path. Putting the secondary DLLs in the windows\system(32 for NT) directory will always work.
    If you created the DLL, you should be able to look in your project and see what *.lib or *.def files you had to include in your project. LabVIEW will need to find the corresponding *.dll files.
    There are several ways you can go about finding the missi
    ng DLL. The easiest is to go to the DLL that the Call Library Function calls, right-click on it, and select Quick View. If Quick View isn't in the list, you need to to to your WindowsNT/98/95 install CD, run Add/Remove Programs in the Control Panels, go to the Windows System tab, and install Quick View. Quick View usually gives you at least the import table of most DLL's under Win95. An import table is the list of DLL's from which that DLL calls functions. Quick View under NT always gives that info, so you could just carry the DLL to an NT machine and it will let you know which DLLs you need.
    If for some reason that doesn't work, you could use the dumpbin utility that comes with Visual C. VC has documentation on it, and all you will have to do is search on dumpbin to get instructions. For VC 5, you will need to input "dumpbin /imports path\to\the\needed.dll. If you don't have VC, there's a utility that does this in Borland's compiler.
    If you are using the instrument drivers, mak
    e usre you have NI IVI Engine or NI-VISA installed, and can locate the apptopriate dlls, if your program uses them.
    Zvezdana S.
    National Instruments

Maybe you are looking for