JNI - make dll (fatal error LNK1181)

I make a simple jni program ( it just print "Hello World" )
but, when I compile this program I got a LINK error
D:\JavaProjects\HW>cl -I c:\java\jdk1.3.1_01\include -I c:\java\jdk1.3.1_01\incl
ude\win32 -I c:\java\jdk1.3.1_01\cinclude -LD helloworldimp.c -Fe hello.dll
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
Command line warning D4024 : unrecognized source file type 'hello.dll', object f
ile assumed
helloworldimp.c
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
/dll
/implib:helloworldimp.lib
/out:helloworldimp.dll
helloworldimp.obj
hello.dll
LINK : fatal error LNK1181: cannot open input file "hello.dll"
anyone knows this error? then, plz help me
thanx

using VC++6.0?
I got the same problem when trying out the tutorial, check MSDN library on this error, in the C++ source code, you should change all pointers refering to java to how MSDN tells you is microsoft standard, the tutorial c code, maybe works correctly with other compilers or older versions of VC++ compilers.
unfortunatly I lost my source code, only having the .dll file left otherwise I could show you

Similar Messages

  • Re: fatal error LNK1181: cannot open input file"OLDNAMES.LIB

    Hi,
    May be it is because it appears twice on your script :
    OLDNAMES.LIB OLDNAMES.LIB KERNEL32.LIB USER32.LIB GDI32.LIB WINSPOOL.LIB
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    At 18:40 18/12/98 +0100, Hervé Depoorter wrote:
    Hello, everybody.
    My problem is :'fatal error LNK1181: cannot open input file "OLDNAMES.LIB"'
    Somebody can help me?
    Thanks a lot for your assistance.
    >
    I tried to passe a C structure between Forte and C.
    I taked the exemple of forté : technote ID : 10637.
    We use Forte 3.0.j.1 and I try the example on a NT4 server.
    There are several projects that make up this application. They are asfollows:
    StructExampleGUI - This is this project. It is the GUI front
    (File: StructGu.Pex) end that calls the C wrapper.
    StructSharedObjects - This project defines the Employee object
    (File: StructSh.Pex) that is needed for both the GUI and
    for the StructExampleServices project.
    StructExampleServices - This project defines the StructExample
    (File: StructSO.Pex) services object. This is a restricted
    project whose purpose is to actually call
    the C project.
    StructExampleProject - This is the External C Project that defines
    (File: Struct.Pex) the interface necessary for Forte to generate
    the wrapper code needed to call the C file.
    StructEX.c - This is the C code that is being wrappered. It
    has one function getemployee that modifies an
    input output structure. The memory allocation is
    done by Forte in the StructExampleServices
    project.
    >
    First of all, I compile the StructEx.C
    After, in the Struct.pex, I set the parameter :
    HAS PROPERTY
    CompatibilityLevel = 0;
    ProjectType = LIBRARY;
    Restricted = TRUE;
    MultiThreaded = TRUE;
    LibraryName = 'struct';
    extended = (Externalincludedirectories='e:/Pgmprod/cpp/50/include
    e:/Pgmprod/cpp/50/lib',
    ExternalObjectFiles = 'O:/Herve/ForteAPI/structex');
    I load the struct.pex.
    Double click on the StructExampleProject
    File:Configure As:Library
    Make distibution and select Full make, Install in current Environment & Auto
    Compile
    When I tried this in the first time, I has a probleme with struct.bom. I
    resolved
    that. (technote 11431:Autocompile on NT fails to build the compiled
    partition)
    >
    But now, I'm another problem (see below) and I don't find the solution.
    Somebody can help me? Thanks a lot for your assistance.
    The problem : Forté say 'fatal error LNK1181: cannot open input file
    "OLDNAMES.LIB"'
    BEGIN FILE
    Working directory is e:\pgmprod\forte\30J1\tmp\cg4\pc_nt\struct
    Processing BOM file: struct.bom
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 11.00.7022 for 80x86
    Copyright (C) Microsoft Corp 1984-1997. All rights reserved.
    struct.cc
    Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
    Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
    /DLL /NOD
    /OUT:struct.dll
    /DEF:struct.nti
    struct.obj
    O:\Herve\ForteAPI\structex.obj
    e:\pgmprod\forte\30J1\install\lib\qqsm.lib
    e:\pgmprod\forte\30J1\install\lib\qqfo.lib
    e:\pgmprod\forte\30J1\install\lib\qqdo.lib
    e:\pgmprod\forte\30J1\install\lib\qqsh.lib
    e:\pgmprod\forte\30J1\install\lib\qqcm.lib
    e:\pgmprod\forte\30J1\install\lib\qqkn.lib
    e:\pgmprod\forte\30J1\install\lib\MSVCRT.LIB
    e:\pgmprod\forte\30J1\install\lib\qqsh.lib
    OLDNAMES.LIB OLDNAMES.LIB KERNEL32.LIB USER32.LIB GDI32.LIB WINSPOOL.LIB
    COMDLG32.LIB SHELL32.LIB WSOCK32.LIB NETAPI32.LIB WINMM.LIB ADVAPI32.LIB
    LINK : fatal error LNK1181: cannot open input file "OLDNAMES.LIB"
    cl /W3 /Gf /GX /MD /c /Ob1 /vmg /DSTRICT /DWIN32 /D__WIN32__ /DLIBOO_DLL
    /DWIN32_LEAN_AND_MEAN /Ie:\pgmprod\forte\30J1\install\inc\cmn
    /Ie:\pgmprod\forte\30J1\install\inc\os
    /Ie:\pgmprod\forte\30J1\install\inc\ds
    /Ie:\pgmprod\forte\30J1\install\inc\handles /Ie:\pgmprod\forte\30J1
    /Ie:\Pgmprod\cpp\50\include /Ie:\Pgmprod\cpp\50\lib /Fostruct.obj /Tpstruct.cc
    link @linkopt.lrf
    Error during compilation, aborting.
    END FILE
    Completed compilation for PC NT.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    ex_rep_chan is dependent on the db library, which judging by your printout, has not finished building. Which is odd, since Visual Studio is usually smarter about dependencies. Just rebuild ex_rep_chan and you should be fine.
    Lauren Foutz

  • Fatal error LNK1181: cannot open input file"OLDNAMES.LIB-Reply

    The OLDNAMES.LIB file should be in your Visual C++ library directory (eg c:\Program Files\DevStudio\VC\lib). If you reread TechNote 11431it explains how to set up your LIB environment variable so that the linker can find the appropriate files.
    Regards
    Mark Carruthers
    20th Century Fox
    Herv&eacute; Depoorter <[email protected]> 12/18/98 09:40am >>>
    Hello, everybody.
    My problem is :'fatal error LNK1181: cannot open input file "OLDNAMES.LIB"'
    Somebody can help me?
    Thanks a lot for your assistance.
    I tried to passe a C structure between Forte and C.
    I taked the exemple of fort&eacute; : technote ID : 10637.
    We use Forte 3.0.j.1 and I try the example on a NT4 server.
    There are several projects that make up this application. They are as follows:
    StructExampleGUI - This is this project. It is the GUI front
    (File: StructGu.Pex) end that calls the C wrapper.
    StructSharedObjects - This project defines the Employee object
    (File: StructSh.Pex) that is needed for both the GUI and
    for the StructExampleServices project.
    StructExampleServices - This project defines the StructExample
    (File: StructSO.Pex) services object. This is a restricted
    project whose purpose is to actually call
    the C project.
    StructExampleProject - This is the External C Project that defines
    (File: Struct.Pex) the interface necessary for Forte to generate
    the wrapper code needed to call the C file.
    StructEX.c - This is the C code that is being wrappered. It
    has one function getemployee that modifies an
    input output structure. The memory allocation is
    done by Forte in the StructExampleServices
    project.
    First of all, I compile the StructEx.C
    After, in the Struct.pex, I set the parameter :
    HAS PROPERTY
    CompatibilityLevel = 0;
    ProjectType = LIBRARY;
    Restricted = TRUE;
    MultiThreaded = TRUE;
    LibraryName = 'struct';
    extended = (Externalincludedirectories='e:/Pgmprod/cpp/50/include
    e:/Pgmprod/cpp/50/lib',
    ExternalObjectFiles = 'O:/Herve/ForteAPI/structex');
    I load the struct.pex.
    Double click on the StructExampleProject
    File:Configure As:Library
    Make distibution and select Full make, Install in current Environment & Auto
    Compile
    When I tried this in the first time, I has a probleme with struct.bom. I
    resolved
    that. (technote 11431:Autocompile on NT fails to build the compiled partition)
    But now, I'm another problem (see below) and I don't find the solution.
    Somebody can help me? Thanks a lot for your assistance.
    The problem : Fort&eacute; say 'fatal error LNK1181: cannot open input file
    "OLDNAMES.LIB"'
    BEGIN FILE
    Working directory is e:\pgmprod\forte\30J1\tmp\cg4\pc_nt\struct
    Processing BOM file: struct.bom
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 11.00.7022 for 80x86
    Copyright (C) Microsoft Corp 1984-1997. All rights reserved.
    struct.cc
    Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
    Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
    /DLL /NOD
    /OUT:struct.dll
    /DEF:struct.nti
    struct.obj
    O:\Herve\ForteAPI\structex.obj
    e:\pgmprod\forte\30J1\install\lib\qqsm.lib
    e:\pgmprod\forte\30J1\install\lib\qqfo.lib
    e:\pgmprod\forte\30J1\install\lib\qqdo.lib
    e:\pgmprod\forte\30J1\install\lib\qqsh.lib
    e:\pgmprod\forte\30J1\install\lib\qqcm.lib
    e:\pgmprod\forte\30J1\install\lib\qqkn.lib
    e:\pgmprod\forte\30J1\install\lib\MSVCRT.LIB
    e:\pgmprod\forte\30J1\install\lib\qqsh.lib
    OLDNAMES.LIB OLDNAMES.LIB KERNEL32.LIB USER32.LIB GDI32.LIB WINSPOOL.LIB
    COMDLG32.LIB SHELL32.LIB WSOCK32.LIB NETAPI32.LIB WINMM.LIB ADVAPI32.LIB
    LINK : fatal error LNK1181: cannot open input file "OLDNAMES.LIB"
    cl /W3 /Gf /GX /MD /c /Ob1 /vmg /DSTRICT /DWIN32 /D__WIN32__ /DLIBOO_DLL
    /DWIN32_LEAN_AND_MEAN /Ie:\pgmprod\forte\30J1\install\inc\cmn
    /Ie:\pgmprod\forte\30J1\install\inc\os
    /Ie:\pgmprod\forte\30J1\install\inc\ds
    /Ie:\pgmprod\forte\30J1\install\inc\handles /Ie:\pgmprod\forte\30J1
    /Ie:\Pgmprod\cpp\50\include /Ie:\Pgmprod\cpp\50\lib /Fostruct.obj /Tp struct.cc
    link @linkopt.lrf
    Error during compilation, aborting.
    END FILE
    Completed compilation for PC NT.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    ex_rep_chan is dependent on the db library, which judging by your printout, has not finished building. Which is odd, since Visual Studio is usually smarter about dependencies. Just rebuild ex_rep_chan and you should be fine.
    Lauren Foutz

  • Fatal error LNK1181: cannot open input file"OLDNAMES.LIB

    Hello, everybody.
    My problem is :'fatal error LNK1181: cannot open input file "OLDNAMES.LIB"'
    Somebody can help me?
    Thanks a lot for your assistance.
    I tried to passe a C structure between Forte and C.
    I taked the exemple of fort&eacute; : technote ID : 10637.
    We use Forte 3.0.j.1 and I try the example on a NT4 server.
    There are several projects that make up this application. They are as follows:
    StructExampleGUI - This is this project. It is the GUI front
    (File: StructGu.Pex) end that calls the C wrapper.
    StructSharedObjects - This project defines the Employee object
    (File: StructSh.Pex) that is needed for both the GUI and
    for the StructExampleServices project.
    StructExampleServices - This project defines the StructExample
    (File: StructSO.Pex) services object. This is a restricted
    project whose purpose is to actually call
    the C project.
    StructExampleProject - This is the External C Project that defines
    (File: Struct.Pex) the interface necessary for Forte to generate
    the wrapper code needed to call the C file.
    StructEX.c - This is the C code that is being wrappered. It
    has one function getemployee that modifies an
    input output structure. The memory allocation is
    done by Forte in the StructExampleServices
    project.
    First of all, I compile the StructEx.C
    After, in the Struct.pex, I set the parameter :
    HAS PROPERTY
    CompatibilityLevel = 0;
    ProjectType = LIBRARY;
    Restricted = TRUE;
    MultiThreaded = TRUE;
    LibraryName = 'struct';
    extended = (Externalincludedirectories='e:/Pgmprod/cpp/50/include
    e:/Pgmprod/cpp/50/lib',
    ExternalObjectFiles = 'O:/Herve/ForteAPI/structex');
    I load the struct.pex.
    Double click on the StructExampleProject
    File:Configure As:Library
    Make distibution and select Full make, Install in current Environment & Auto
    Compile
    When I tried this in the first time, I has a probleme with struct.bom. I
    resolved
    that. (technote 11431:Autocompile on NT fails to build the compiled partition)
    But now, I'm another problem (see below) and I don't find the solution.
    Somebody can help me? Thanks a lot for your assistance.
    The problem : Fort&eacute; say 'fatal error LNK1181: cannot open input file
    "OLDNAMES.LIB"'
    BEGIN FILE
    Working directory is e:\pgmprod\forte\30J1\tmp\cg4\pc_nt\struct
    Processing BOM file: struct.bom
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 11.00.7022 for 80x86
    Copyright (C) Microsoft Corp 1984-1997. All rights reserved.
    struct.cc
    Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
    Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
    /DLL /NOD
    /OUT:struct.dll
    /DEF:struct.nti
    struct.obj
    O:\Herve\ForteAPI\structex.obj
    e:\pgmprod\forte\30J1\install\lib\qqsm.lib
    e:\pgmprod\forte\30J1\install\lib\qqfo.lib
    e:\pgmprod\forte\30J1\install\lib\qqdo.lib
    e:\pgmprod\forte\30J1\install\lib\qqsh.lib
    e:\pgmprod\forte\30J1\install\lib\qqcm.lib
    e:\pgmprod\forte\30J1\install\lib\qqkn.lib
    e:\pgmprod\forte\30J1\install\lib\MSVCRT.LIB
    e:\pgmprod\forte\30J1\install\lib\qqsh.lib
    OLDNAMES.LIB OLDNAMES.LIB KERNEL32.LIB USER32.LIB GDI32.LIB WINSPOOL.LIB
    COMDLG32.LIB SHELL32.LIB WSOCK32.LIB NETAPI32.LIB WINMM.LIB ADVAPI32.LIB
    LINK : fatal error LNK1181: cannot open input file "OLDNAMES.LIB"
    cl /W3 /Gf /GX /MD /c /Ob1 /vmg /DSTRICT /DWIN32 /D__WIN32__ /DLIBOO_DLL
    /DWIN32_LEAN_AND_MEAN /Ie:\pgmprod\forte\30J1\install\inc\cmn
    /Ie:\pgmprod\forte\30J1\install\inc\os
    /Ie:\pgmprod\forte\30J1\install\inc\ds
    /Ie:\pgmprod\forte\30J1\install\inc\handles /Ie:\pgmprod\forte\30J1
    /Ie:\Pgmprod\cpp\50\include /Ie:\Pgmprod\cpp\50\lib /Fostruct.obj /Tp struct.cc
    link @linkopt.lrf
    Error during compilation, aborting.
    END FILE
    Completed compilation for PC NT.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hussein,
    Please find below the requested information,
    1. Path variable value after sourcing the apps env file,
    D:\oracle\VIS\apps\apps_st\appl>APPSVIS_oracletemp.cmd
    ECHO is off.
    ECHO is off.
    Tue 11/23/2010 02:36 PM
    ECHO is off.
    ECHO is off.
    Setting environment for using Microsoft Visual Studio 2008 x86 tools.
    APPSORA.cmd exiting with status 0
    D:\oracle\VIS\apps\apps_st\appl>
    D:\oracle\VIS\apps\apps_st\appl>echo %path%
    C:\VS2008\Common7\IDE;C:\VS2008\VC\BIN;C:\VS2008\Common7\Tools;C:\Windows\Micros
    oft.NET\Framework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\VS2008\V
    C\VCPackages;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\bin;D:\oracle\VIS\ap
    ps\apps_st\appl\au\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\bin;D:\
    oracle\VIS\apps\apps_st\appl\ad\12.0.0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\app
    sutil\jdk\jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-m
    ulti-thread\;D:\oracle\VIS\apps\apps_st\comn\util\unzip\unzip;D:\oracle\VIS\apps
    \tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.2\bin;D:\oracle
    \VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\apps
    util\jdk\jre\bin;C:\cygwin\bin;C:\Windows;C:\Windows\system32;D:\oracle\VIS\apps
    \tech_st\10.1.3\ant\bin
    D:\oracle\VIS\apps\apps_st\appl>
    2. gnumake version is as follows,
    D:\oracle\VIS\apps\apps_st\appl>gnumake --version
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    This program built for i386-pc-mingw32
    D:\oracle\VIS\apps\apps_st\appl>
    Thanks,
    Rajesh.

  • I-tunes and Quicktime  make a fatal error on Vista ?!

    Hi i'm italian ... i don't write a good english but i try too explain my problem... i have a laptop HP pavilion dv6000 with windows vista... i 2 week ago buy a ipod touch 2g ... i try to install itunes ... i download it from apple.it. during the installation windows say me quicktime can be install. i don't remember the code. but i try again and the installation finish all correct. but yet when i open or connect my ipod on my pc... windows say itunes "a problem has been taken place that prevents the corrected operation of the program. if it is had a solution, it will come closed the program and envoy an automatic notification." and this message is the similar when i open quicktime! i try to install the old version of quicktime or itunes but it is similar! the version install on my pc is the 8.0.1 my pc is a 32 bit. PLEASE HELP MEEEEEEEEEE!!!!!!! thank's and sorry for the bad english!!!

    THe K Lite codec pack is a well know cause of QUicktime problems.
    After you uninstall it, you maust reinsatll Quicktime as follows:
    Then download the version of Quickime that does not include iTunes, this is not the default option:
    http://www.apple.com/quicktime/download/win.html
    Now Remove Quicktime using the method for Quicktime in this article (just Quicktime):
    XP
    http://support.apple.com/kb/HT1925
    Vista
    http://support.apple.com/kb/HT1923
    When you come to your C:\Windows\system32\ folder you can delete any file or folder with Quicktime in the name.
    Restart you computer
    Install the stand alone Quicktime and check if it starts.
    If it does you are in a position to find out if iTunes is OK.
    ==

  • Warning D4024: unrecognized source file type ' ■/', object file assumed and error LNK1181: cannot open input file 'ÿþ/.obj'

    Hi, i just installed the Visual Studio Community 2013 update 4 and after i began making a class i got this error. 
    Any ideas as to how i could fix this problem?

    Hi runy385,
    Do you get any error when you install vs 2013? Do you have any version vs installed on your machine? Does VS install in C: or D: ? Please first try to repair and re-install VS 2013. If this is not working , Please refer to this thread.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/829bf89b-8693-409e-9907-d5debef42a9f/link-fatal-error-lnk1181-cannot-open-input-file-obj?forum=vcgeneral
    Read this thread, I guess this issue may because the VS uses the wrong version cl.exe. Please try the solution in above thread and remember to make a backup.
    Best regards,
    Shu Hu
    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.

  • Unable to Build VC++ application it showing error 1 LINK : fatal error LNK1104: cannot open file 'NiFieldPoint71D.lib' but I am Using Measurement Studio 2009 ,NI DAQ 7.01 and Field Point 6.05.

    I am having a application in Visual Studio 2003 on Windows XP  , Now I am Migrating the application in Visual Studio 2005 on Windows-7 .
    In my Development PC , I was install Measurement Studio 2009 ,  NI DAQ 7.01 and Field Point 6.05.
    my application is Showing following error:
    Linking...
    LINK : fatal error LNK1104: cannot open file 'NiFieldPoint71D.lib'
    Build log was saved at "file://c:\EdacsNt\Source\SaftyServices\NICfpDAQDl?l\Debug\BuildLog.htm"
    NICfpDAQDll - 1 error(s), 0 warning(s)
    When I copy from NiFieldPoint71D.lib library from Measurement Studio 7.1 and put in :\Program Files\National Instruments\MeasurementStudioVS2005\VCNET\Lib.
    my application is Showing following error:
    1>Linking...
    1>atlsd.lib(atltrace.obj) : error LNK2005: "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)" (?g_pfnGetThreadACP@ATL@@3P6GIXZA) already defined in NiFieldPoint71D.lib(StdAfx.obj)
    1>atlsd.lib(atlbase.obj) : error LNK2005: "class ATL::CAtlWinModule ATL::_AtlWinModule" (?_AtlWinModule@ATL@@3VCAtlWinModule@1@A) already defined in NiFieldPoint71D.lib(StdAfx.obj)
    1>   Creating library ..\..\lib\debug\NICfpDAQDll.lib and object ..\..\lib\debug\NICfpDAQDll.exp
    1>..\..\bin\debug\NICfpDAQDll.dll : fatal error LNK1169: one or more multiply defined symbols found
    I want to ignore NiFieldPoint71D.lib from using project setting(Linker->Input->ignore Specific Library ) but still it is showing same error.
    In the project Setting I am done following setting:
    "C:\Program Files\National Instruments\MeasurementStudioVS2005\VCNET\Lib";"
    C:\Program Files\National Instruments\NI-DAQ\Lib"
    Linker->Input->ignore Specific Library: mfcs71d.lib;libc.lib;'NiFieldPoint71D.lib
    Please provide some solution.
    Thanks
    Nityanand

    You posted this in the LabVIEW forum.
    Are you programming in LabVIEW?
    There is a separate Measurement Studio for VC++ forum. http://forums.ni.com/t5/Measurement-Studio-for-VC/bd-p/231

  • Acrobat fatal error: failed to load core dll

    Hi,
    I have a problem with acrobat reader on my laptop.
    My OS is Vista Home Premium.
    I had Master collection CS4 installed.
    When starting up acrobat reader; i got following error:
    failed to load core dll.
    I went to the log and this is the explenatoin written in there: (i'm dutch speaking)
    Kan activeringscontext voor 'C:\Program Files\Adobe\Reader  9.0\Reader\AcroRd32.dll' niet maken. Fout in manifest of beleidsbestand  '' op regel . Een onderdeelversie die nodig is voor de toepassing  conflicteert met een andere onderdeelversie die reeds actief is.  Conflicterende onderdelen zijn: Onderdeel 1:  C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt   _1fc8b3b9a1e18e3b_8.0.50727.42_none_db5f52fb98cb24  ad.manifest.  Onderdeel 2: C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt   _1fc8b3b9a1e18e3b_8.0.50727.762_none_10b2f55f9bffb  8f8.manifest.
    Kan activeringscontext voor 'C:\Windows\system32\BHOManager.dll' niet  maken. Fout in manifest of beleidsbestand '' op regel . Een  onderdeelversie die nodig is voor de toepassing conflicteert met een  andere onderdeelversie die reeds actief is. Conflicterende onderdelen  zijn: Onderdeel 1: C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt   _1fc8b3b9a1e18e3b_8.0.50727.42_none_db5f52fb98cb24  ad.manifest.  Onderdeel 2: C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt   _1fc8b3b9a1e18e3b_8.0.50727.762_none_10b2f55f9bffb  8f8.manifest.
    I simultaneously had a problem with Dreamweaver.
    I think all this is caused by an Side By Side configuration issue.
    I've tried to do following steps:
    -redistibrutable 2008 c++ package geinstall
    -system recoverage tool
    -reinstall cs4 master collection
    -uninstall master collection, clean up, install reeware acrobat reader
    -uninstall acrobat reader, ccleaner register issues resolver , also older than 24 uur , reboot,  install acrobat reader freeware
    -revo uninstall tool to remove acrobat
    none of the above actions were successful.
    What could u suggest or give as a solution.
    Atm i'm using an altarnative pdf-reader.
    But as i bought the master collection,
    i'd rather have my adobe acrobat reader pro and dreamweaver working.
    Thanks in advance,
    With friendly regards
    Anton

    Hi Anton
    I am sorry, I do not have an answer just a similar problem.
    I am no expert, but all these manifest files are to ensure that different developers can ensure that the appropriate versions of common libraries are used by particular versions of their software.
    Deatils are below. The original problem was a corrupted manifest file, probably due to a disk error. This resulted in several programs failing to run. In particular I was unable to access backup on my Windows Home Server. From the logs I was able to identify the manifest file in error and located a copy of a file with the same name on another of my computers. Using notepad I then changed the file causing the problem to match the file on the other computer.
    This appeared to resolve all my problems.
    When the Acrobat Reader updated itself, however, the"failed to load core DLL" message appeared. Simply uninstalling all adobe programs and re-installing makes no difference.
    If you have the solution please post.
    If not, I will continue to research this problem.
    Very best wishes
    Graham
    Details from error log and manifest files:
    Acrobat failed to load its core DLL
    Log Name:      Application
    Source:        SideBySide
    Date:          29/10/2010 23:30:07
    Event ID:      80
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      9GHASUSP5QSEx64
    Description:
    Activation context generation failed for "C:\Program Files (x86)\Adobe\Reader 9.0\Reader\AcroRd32.dll".
    Error in manifest or policy file "" on line .
    A component version required by the application conflicts with another component version already active.
    Conflicting components are:.
    Component 1: C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d 08a205e442db5b5.manifest.
    Component 2: C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.762_none_10 b2f55f9bffb8f8.manifest.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
        <noInheritable></noInheritable>
        <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.4927" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
        <file name="msvcr80.dll" hash="b2cd2205044f7cfd822da03b5f8d329ac5f4fcde" hashalg="SHA1"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Tra nsforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>niXcYiF5k0Z3fQ7PBFMJuaYHWTU=</dsig:DigestValue></a smv2:hash></file>
        <file name="msvcp80.dll" hash="984100dac2591da1a03c5146fecc47eb5deabec7" hashalg="SHA1"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Tra nsforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>aW9cDm76mbaI14MUAAx8P0auVdE=</dsig:DigestValue></a smv2:hash></file>
        <file name="msvcm80.dll" hash="34d9d81de781f7566e20e2bd33e410bc80837703" hashalg="SHA1"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Tra nsforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>pyazDrJIgYvW/Y3vCJt/9hpimHA=</dsig:DigestValue></a smv2:hash></file>
    </assembly>
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
        <noInheritable></noInheritable>
        <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
        <file name="msvcr80.dll" hash="10f4cb2831f1e9288a73387a8734a8b604e5beaa" hashalg="SHA1"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Tra nsforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>n9On8FItNsK/DmT8UQxu6jYDtWQ=</dsig:DigestValue></a smv2:hash></file>
        <file name="msvcp80.dll" hash="b2082dfd3009365c5b287448dcb3b4e2158a6d26" hashalg="SHA1"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Tra nsforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>0KJ/VTwP4OUHx98HlIW2AdW1kuY=</dsig:DigestValue></a smv2:hash></file>
        <file name="msvcm80.dll" hash="542490d0fcf8615c46d0ca487033ccaeb3941f0b" hashalg="SHA1"><asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Tra nsforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>YJuB+9Os2oxW4mY+2oC/r8lICZE=</dsig:DigestValue></a smv2:hash></file>
    </assembly>

  • I tried to make my image larger by typing ctrl + a fatal error was created in typer shark on yahoo games

    When I tried to make the game larger I pressed control plus. The image became different and all of the parts did not fit together like it was designed. I tried to make it like it was by pressing control minus (ctrl - ) nothing happened. When I start playing the game there is a gap between where the sharks enter the playing field and after playing three rounds the screen goes to a fatal error message and after a few seconds it goes to some other screen that I pasted below. I want to put the game size back to the original size.

    When I tried to make the game larger I pressed control plus. The image became different and all of the parts did not fit together like it was designed. I tried to make it like it was by pressing control minus (ctrl - ) nothing happened. When I start playing the game there is a gap between where the sharks enter the playing field and after playing three rounds the screen goes to a fatal error message and after a few seconds it goes to some other screen that I pasted below. I want to put the game size back to the original size.

  • Directshow + JNI 1.2( NewDirectByteBuffer ) + JMF = Fatal Error Screen

    Hi,
    I have a stream in directshow with a SampleGrabberFilter for the video and another for the audio. I'm using the code of https://jmds.dev.java.net/ for implementing the layer directchow.
    After, I'm trying to create a datasource for JMF with the example "Generating Live Audio/Video Data [Custom DataSource]"
    (http://java.sun.com/products/java-media/jmf/2.1.1/solutions/LiveData.html)
    But I cannot transfer the buffer in SampleGrabberFilter through JNI 1.2. and I don't find a good example for helping me.
    Could you help me ?
    Karima
    Here a part of my code :
    public class LiveStream implements PushBufferStream {
    public void read(Buffer _buffer) throws IOException { /////////////////////// Fatal Error Screen !!! Here...
            Object data = _buffer.getData();
             int length = ((VideoFormat) myFormat).getMaxDataLength();
             ByteBuffer newdata = createAndfillByteBuffer(length);
              buffer.setData(newdata);
             _buffer.setOffset(0);
             _buffer.setFormat(myFormat);
             _buffer.setLength(newdata.limit());
             _buffer.setTimeStamp(Buffer.TIME_UNKNOWN);
             _buffer.notifyAll();
    public void setTransferHandler(BufferTransferHandler _transferHandler) {
            myTransferHandler = _transferHandler;
            private class CaptureRunnable implements Runnable {
         public void run() {
              start0();
              // notify sleepers that we're done starting up
              synchronized (myRestartLock) {
                   myRestartLock.notifyAll();
              // chill until there is data in the buffer
              while (!myStopRequested && getBufferSize() == 0) {
                         try {
                   Thread.sleep(100);
                            }catch (Throwable t) {
                        t.printStackTrace();
              // grab frames as fast as possible
              while (!myStopRequested) {
                   if (myTransferHandler != null) {
                             myTransferHandler.transferData(LiveStream.this);
                   else {
                            // if there's no transfer handler, just wait for a bit and try again
                        try {
                                  Thread.sleep(100);
                        }catch (Throwable t) {}
                        // This sleep is here because there is the
                        // potential that you can starve your PC
                        // while polling the capture card for video.
                        try {
                             Thread.sleep(20);
                        }catch (Throwable t) {}
              stop0();
              // notify waiters that we're done stopping the thread
              synchronized (myRestartLock) {
                   myStarted = false;
                   myRestartLock.notify();
    private native void start0(); // Run the Graph in directshow
    private native void stop0();  //stop the Graph in directshow
    private native ByteBuffer createAndfillByteBuffer(int capacity);
    ///////////////////// C
    long MAX_BufferVideo = 1024;
    BYTE * tabBufferVideo;
    JNIEXPORT  jobject JNICALL Java_com_mycompagny_media_protocol_Camera_LiveStream_createAndfillByteBuffer
    (JNIEnv * pEnv, jobject jLiveStream,  jint jcapacity){
         HRESULT hr;
         long MaxBuffer = MAX_BufferVideo;
         long cbBufferLength = -1;
         hr = g_pSampleGrabberVideo->GetCurrentBuffer(&cbBufferLength, NULL);
         if (hr != VFW_E_WRONG_STATE) {
         CheckForFailure(pEnv, "Failed to get buffer size.", hr);
         long jLength = (long) jcapacity ;//pEnv->GetDirectBufferCapacity(jByteBuffer);
         if (jLength < MaxBuffer){
              MaxBuffer = jLength;
         if (cbBufferLength < MaxBuffer) {
                              MaxBuffer = cbBufferLength;
         HRESULT hrInitialize = CoInitialize(NULL);
         CheckForFailure(pEnv, "CoInitialize Failed.", hrInitialize);
         g_pSampleGrabberVideo->GetCurrentBuffer(&MaxBuffer,(long *)tabBufferVideo);
         CheckForFailure(pEnv, "Failed to fill buffer.", hr);
         if (hrInitialize == S_OK) {
              CoUninitialize();
         return pEnv->NewDirectByteBuffer(tabBufferVideo,MaxBuffer);
         return NULL;
    }

    1. Did you call g_pSampleGrabberVideo->SetBufferSamples( TRUE ) on the sample grabber?
      long MAX_BufferVideo = 1024;
    // global variableBYTE * tabBufferVideo; // global variable
    2. Where are you allocating the memory for BYTE* tabBufferVideo?
    JNIEXPORT void JNICALL Java_mycompany_LiveStream_connect(JNIEnv * pEnv, jobject jDataSource){
    ...// add filters
         CComPtr<ISampleGrabber> pSampleGrabberVideo = NULL;
         hr = pGrabberVideo->QueryInterface(IID_ISampleGrabber, (void**)&pSampleGrabberVideo);
         CheckForFailure(pEnv, "Failed to retrieve sample grabber Video interface.", hr);
         hr = pSampleGrabberVideo->SetBufferSamples(TRUE);
         CheckForFailure(pEnv, "Failed to turn on buffering on sample grabber Video.", hr);
    ... //connect filters
         if(tabBufferVideo == NULL)
         if (!(tabBufferVideo = (BYTE *)malloc(MAX_BufferVideo))) {
              FailWithException(pEnv, "Cannot create the buffer Video ", E_FAIL);

  • Not able to open any doc with adobe reader XI. fatal error, acrobat failed to its core DLL load

    not able to open any doc with adobe reader XI. fatal error, acrobat failed to its core DLL load

    See http://helpx.adobe.com/acrobat/kb/reader-core-dll-error.html

  • Fatal error 'failed to load library dxva.dll

    My skype program won't open or load and I get fatal error message ' dxva2.dll what must I do?

    A quick search brings up: http://community.skype.com/t5/Windows-desktop-client/load-library-dxva2-dll/m-p/4000948/highlight/true#M348806  

  • Fatal Error: Failed to load library 'pdh.dll.'

    When I double click on the Skype icon, a dialogue box pops up. It says "Fatal Error" at the top, and inside, it says, "Failed to load library 'pdh.dll.'" I cannot get Skype to open at all.
    I had used Skype with no problems the day before, and I didn't do anything to any files or anything. I don't think.
    I have restarted my computer, un-installed and reinstalled Skype, and went into %appdata% and renamed the Skype folder, tried to open Skype, then renamed the folder back again. None of this worked.
    I ran a Malware scan and it came back clean. I am currently running a virus scan.
    Can anyone help me?
    Solved!
    Go to Solution.

    See this case:
    http://community.skype.com/t5/Windows-archive/Skype-crashes-with-Adobe-Reader-XI/m-p/1557574/highlig...
    Have you recently updated your Adobe Reader application?

  • Fatal error - Failed to install core dll Abobe reader 9.2

    I have tried to update to the newest version of Abode reader and when I try to start the program I get a fatal error "failed to install core dll". I downloaded the newest version on another computer and it works fine so I copied the installation folder on to a CD and tried installing it again on the other computer and still get the error.  Does anyone know how to fix this?  I cannot open any PDF's now without the software.

    Please See the solution on below link : http://helpx.adobe.com/acrobat/kb/reader-core-dll-error.html

  • I had an iMac with Snow Leopard 10.6.8, I  downloaded and installed Lion, did not make me any questions. After the reboot I get this fatal error: Panic(cpu 0 ......) Kernel trap ......

    I had an iMac with Snow Leopard 10.6.8, I  downloaded and installed Lion, did not make me any questions. After the reboot I get this fatal error: Panic(cpu 0 ......) Kernel trap ......

    Please post the Kernel Panic report. You will find it at /Library/Logs/DiagnosticReports  per
    http://support.apple.com/kb/ht2546
    When we look at the KP report we may find some clues why it is occuring.

Maybe you are looking for