. Implicit DLL that links help

Hello

I have a .dll file that I am trying to link implicitly (I tried to explicitly bind too), but I wanted to just check with people more knowledgeable before I complain to the developer of the .dll.  I looked at the examples in the example Finder OR read a few Web pages, including this one http://zone.ni.com/devzone/cda/tut/p/id/3341 so that I come with a little knowledge but not a lot about the .dll files.

I have the .lib, .h file and the file .dll and there all located in the same folder as my project.  So all I've done is add the .h and .lib files to my project and written #include 'LEDdriver.h' in my source code.  I compile and it should work right? It shouldn't give me errors, since I have not written any code in myself that the include statement, but it does.

Errors I get are from the .h file where it does not recognize the declaration of SDK_API which lies before the functions of export in the .h file, saying "Warning: empty declaration.»

This is the code from the top of the .h file where I think is the problem since it is where the SDK_API is defined, but I think it looks perfect to me, so I don't know why it does not work.

typedef int SDK_RETURN_CODE;

#ifdef SDK_EXPORTS

#define SDK_API extern "C" __declspec (dllexport) _cdecl SDK_RETURN_CODE

#else

#define SDK_API extern "C" __declspec (dllimport) _cdecl SDK_RETURN_CODE

#endif

Any help would be greatly appreciated, thank you.

Its the old chestnut use extern "C" with a compiler not C++. There are elegant ways to handle this situation, but a quick and dirty option for the CVI is simply to delete the sentence.

(If you find messages in the forum, you will find more descriptive discussions on the subject.)

JR

Tags: NI Software

Similar Questions

  • I received an error code 800b0100 update. I just installed windows 7 student disc and my computer guard stop. I me trying to get the updates that might help the closing of the bottom.

    I received an error code 800b0100 update. I just installed windows 7 student disc and my computer guard stop. I me trying to get the updates that might help the closing of the bottom.

    Hi Happyrockgeek,

    Welcome to Microsoft Windows 7 answers Forum!

    This problem occurs if the Windows security .dll files are incorrectly registered.

    To resolve this problem, you can perform the two methods of troubleshooting, check if the problem is resolved.
    Method 1:
    Run (Checksur.exe) system update readiness tool.
    To do this, follow these steps:
    1. download and run the system update readiness tool. This tool runs an ad hoc analysis of inconsistencies that might prevent future maintenance operations. For more information about how to download and run the Checksur.exe tool, click on the number below to view the article in the Microsoft Knowledge Base:
    http://support.Microsoft.com/default.aspx/KB/947821
    2. try to install the updates again.
     
    Methods 2.
    Reset the Windows Update components.
    1. to reset the Windows Update components automatically, click the fix button in the link below.
    http://support.Microsoft.com/kb/971058 
    2. click run in the file download dialog box and follow the steps described in the fix it Wizard.

    I also suggest you to install the latest version of Windows Installer 4.5.
    Follow the link below to download:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=en
    and you can also try to install after you turn off the firewall.
     
     
    It will be useful.
     
    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum.

  • "Setup error!... LiteHtml.dll dynamic link library.

    Can someone please help with this error massage that appears after trying to install the Autodesk software from a USB... "the product entry point? "SetComboBoxLocAndDropDownHeight@CtrUtil@@TAHAAV?$CComboBoxT@VCWindow@ATL@@@WTL@@IHH@Z found in the LiteHtml.dll dynamic link library.

    Hello
    the error is said he cannot find dll files needed, where they are supposed to be... This was previously on a network?
    Try this link:
    http://USA.Autodesk.com/ADSK/servlet/index?ID=7460177&siteid=123112
    b Eddie

  • Error "the procedure entry point SMapLS_IP_EBP_12 be found in KERNEL32.dll dynamic link library" when you try to play Red Alert: Command & Conquer

    Original title: the procedure entry point SMapLS_IP_EBP_12 could not be found in KERNEL32.dll dynamic link library.

    Ive been trying to install Red Alert: Command and Conquer on my new pc windows 7 and of course he will not play to come with all can't play because its running windows 6.1 and it's a single program of windows 95. then I went through all troubleshooting and change everything to make sure that it works and it actually installed, but when I went to play this message appears and im like why does this happen to me!

    The procedure entry point SMapLS_IP_EBP_12 be found in KERNEL32.dll dynamic link library.

    It of the message, can someone help me?

    Hi BigAl3000,

    Please note that Command & Conquer: Red Alert 3 is the only version compatible with Windows 7.

    Red Alert 2 and red alert are not compatible with Windows 7.

    See Windows 7 compatibility for Command & Conquer: Red Alert for more information.

    To troubleshoot program compatibility issues in Windows 7, try the following methods:

     

    Method 1: Open the program compatibility problems

     

    Most programs written for Windows Vista are also running Windows 7, but some older programs might run poorly or not at all. If an older program does not work, use the program compatibility issues to simulate the behavior of earlier versions of Windows.

    Method 2: Contact the program vendor or the hardware manufacturer

     

    Contact the program vendor for advice on how to solve the problem. In general, the software vendor's Web site provides a support section that you can use, for example, to search for an error message that you receive from the program.

    Hope this information helps.

    Gokul - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • 'The procedure entry point DecodePointer could not be found in KERNEL32.dll dynamic link library '.

    ORIGINAL TITLE: How can I fix this please?

    I have an older version of Windows XP (Home edition) Version 5.1.  Trying to get updated with service packs, etc., I get the pop up message in the box below.  How can I fix the problem?

    'The procedure entry point DecodePointer could not be found in KERNEL32.dll dynamic link library '.

    Thank you for your help.

    The other post:

    We get an error "iexplore.exe - point of entry not found in KERNEL32.dll dynamic link library" so he was trying to use internet explore.

    In Firefox, I have automatic updates verified, but for some reason any I do not receive them.  I need all the service packs for Microsoft.

    When I try to use Internet Explorer to connect to the internet, I get a message that says "iexplore.exe - point of entry not found in KERNEL32.dll dynamic link library" How can I fix?  I get a lot of error messages related to the KERNEL32.dll dynamic link library.

    In addition, for some unknown reason, I lost my software of Microsoft - Word, Excel, etc.  I don't have the disc to recharge.

    Thanks for any help.  This kind of thing is frustrating and I really appreciate the availability of Microsoft Answers for assistance.

    Additional post:

    Im trying to update my computer with SP2 and Windows 7.  Even when I try to use I Tunes and do other things that I receive and message entry point (they vary).

    Here are a couple:
    1. the procedure for DecodePointer entry point could not be located in the line of the dynamic library KERNEL32.dll.

    2. the procedure entry point SHRRegGetValueW be found in the library of dynamic links SHLWAPI.dll.

    I have an old computer. Compaq Windows XP - Home Edition, 5.1.

    A month ago I lost my Microsoft Office software. Word and excel... it was all gone.   I have to reload the diskettes of origin provided with this computer which is about 7 years old.

    Is this thing?  I CAN go on the internet and move OK, but I can't download updates, or I Tunes or much else.

    * Original title: do not get the automatic updates.

    http://Windows.Microsoft.com/en-us/Windows/help/learn-how-to-install-Windows-XP-Service-Pack-3-SP3

    Tom Ferguson

  • procedure entry point SetD | DirectoryW is not found in the KERNEL32.dll dynamic link library

    original title: procedure entry point SetD | DirectoryW

    is not found in the KERNEL32.dll dynamic link library

    Hello mxlpick,

    When you receive this error message?  How long have you encountered this message?  Here is a link that I hope will help solve this problem.  Please let us know status.

    Microsoft KB:

    http://support.Microsoft.com/kb/142606

    Thank you

  • What the devil? Error: The procedure entry point? detac3@ListData@@QAEPAUData@1@XZ couldnot be found in QtCore4.dll dynamic link library.

    I hope I'm in the good topic section. My computer feezes. I restart or turn off & that is what happens.                                                                                       Error: The procedure entry point?  detac3@listData@@QAEPAUData@1@XZ not found in the QtCore4.dll dynamic link library.                                      He also does this whenever I turn on my computer, even if it does not freeze. I was told that I have to use my CD to get into windows XP, but I have no idea where I put it. What now? Oh, I'm computer illiterate, so stupid it upwards!

    Hi Budge3263,

    1. Did you the latest changes on the computer?
    2. You have security software installed on the computer?

    QtCore4.dll is part of the development environment for a number of applications, including Photoshop Elements.

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you put the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

  • When you try to open a PDF from Adobe, I get this message "to the 882 ordinal not found in SHELL32.dll dynamic link library.

    When you try to open a PDF from Adobe, I get this message "to the 882 ordinal not found in SHELL32.dll dynamic link library.  Any ideas on how to solve this problem.  Have Windows Vista.  Thank you.

    original title: problem opening Adobe pdf.

    Hi Gary,.

    Are you facing this issue only when you open pdf files?

    Method 1:

    You can try uninstalling and reinstalling Adobe software and check if it helps.

    Uninstall a program

    Method 2:

    You also try to run the system restore.

    Note: When you perform the system restore to restore the computer to a previous state, programs and updates that you have installed are removed.

    To run the system restore, you can consult the following links:

    System restore

    System Restore: frequently asked questions

    Hope this information is useful.

  • Twister.exe point not found the procedure entry point LeaveCriINDX (not found in KERNEL32.dll dynamic link library

    Original title: Entry Point not found error with a game

    My game (Nancy Drew: trail of the Twister) has malfunctioned or something. It worked fine for a while, but now I get this error when I try to start the game (twister.exe point not found the procedure entry point LeaveCriINDX (not found in KERNEL32.dll dynamic link library) none of using the solutions of HERInteractive.) My OS is Vista. Help, please!

    Hello

     
    I would like to inform that the error, the entry point not found:

    This error could be related if there are some missing files to initialize the game. I suggest that you uninstall and reinstall the game and check if you have the same problem.

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Also check if the minimum requirement of games is the specification of your computer.

  • The procedure entry point ucrtbase.terminate could not be found in the api-ms-win-crt-runtime-l1-1-0.dll dynamic link library

    Running Windows 7 Home premium

    Hi I get this error when I try to add or remove windows features. Before I even tried to change anything, I get this error when I try to access point to add or remove windows features. I just reinstall windows then perhaps it's to do with it?

    ERROR

    The procedure entry point ucrtbase.terminate could not be found in the api-ms-win-crt-runtime-l1-1-0.dll dynamic link library

    If anyone knows what this means or what I have to do to get rid of the error, any help would be accepted with gratitude.

    Best regards Steve

    Hi, I have now discovered what the problem was. It wasn't Office exactly. Rather have just reinstalled windows 7, windows update did not work properly. Virtually no updates had been installed. I had to run the "windows update diagnostic" program from Microsoft support. Once that had solved the problem of update on 180 updates have been installed. Once they have been installed the problem with the error has been resolved. I do not know what update fixed but one of them did.

    Best regards Steve

  • The procedure entry point RegOpenKeyExW is not found in the Kernel32.dll dynamic link library

    Hello

    I created an application using visual studio 2008 in windows 7... that I created the application setup. I installed the windows xp Setup program... Application does not work on windows xp... its messagebox popup.
    Message is-> the procedure entry point RegOpenKeyExW is not found in the Kernel32.dll dynamic link library.
    Kindly give an orientation to clear the problem. Thanks in advance.

    Hi Ambikaksm,

    The question you posted would be better suited in the MSDN Forums; We recommend that you post your question in the MSDN Forums to get help:

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio

    Keep us updated on the status of the issue.

  • error AVCFPlayerSetclientEnforcedExternalProjectionMethod is not found in the AVFoundationCF.dll dynamic link library

    I tried to update my iTunes this weekend.  Now, I can't open it I get this error: AVCFPlayerSetclientEnforcedExternalProjectionMethod is not found in the AVFoundationCF.dll dynamic link library is on a Windows 7 computer.  I tried to re - install outside of iTunes and repair.  But no luck.  Should I uninstall iTune and then re-install?  Help.

    These errors can usually be fixed by removing the offending dll, then fix the component it is programs and features Control Panel. AVFoundationCF.dll belongs to Apple Application Support and are normally in

    • C:\Program Files\Fichiers Files\Apple\Apple Application Support or
    • C:\Program Files (x 86) \Common Files\Apple\Apple Application Support

    where the name of the Program Files folder may vary depending on the region.

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach. Review other cases and a list of documents to support further down the page, in which case one of them applies.

    More information area has direct links with the current and recent if you have problems to download, must revert to a previous version or want to try the version of iTunes for Windows (64-bit-for old video cards) as a workaround for the problems of performance or compatibility with third-party software.

    Your library must be affected by these measures, but it is also related to backup and recovery advice if necessary.

    TT2

  • Too bad, I guess that the help is not really available.

    Too bad, I guess that the help is not really available.

    Hi Arcticgold-

    This site of any support is managed by the generosity of volunteers. It is a challenge to deal with all the questions. If you can answer with a link to your original problem, I'll try to help you with it.

  • the procedure entry point GetFinalPathNameByHandleW could not be found in KERNEL32.dll dynamic link library

    Hello

    While trying to install a program, I see the following on the screen error message:

    The procedure entry point GetFinalPathNameByHandleW could not be found in KERNEL32.dll dynamic link library

    The I set him, is a Windows XP 32-bit environment.

    The I am installing, is a program, created by my own company, using a 32-bit self-extracting installer, which is also created by my own business using InstallAnywhere Flexera software.

    No changes were made on the environment of the installers.

    No change seems is done on the environment for creating installation programs (where the self-extracting installer is created): I checked the monitor of reliability/Action Center / Control Panel and no entries are present between a job and an installer without work.

    The file 'KERNEL32.dll' is mentioned in the error message, I checked his date of change, which is 11/30/2012, this should not be the cause of the problem either.

    Witnin the self-extracting installation program, a few changes were found, those who are considered at the moment, but there is no indication or not those who are causing the error message I see here.

    Does anyone have an idea what may cause the error message mentioned and how to cope?

    Thank you

    Dominique

    These types of error messages mean that the program is looking "inside" the file specified (in this case kernel32.dll) try to find a function/procedure to run called "GetFinalPathNameByHandleW" and find do not.

    The program calls the non-existent function badly or the library file is not in there.  Things do not match somewhere.

    A DLL is a library of dynamic links and files as kernel32.dll are sometimes just a bunch of procedures/functions/subroutines and all located in a single, portable file.

    In a primitive way, you can use a text editor to open the kernel32.dll file (make a copy if it your desire) and search for a string "GetFinalPathNameByHandleW" and you will not find.

    You can even search for "GetFinal", and you won't find it in the XP kernel32.dll file:

    But if you do the same thing on a Windows 7 + kernel32.dll you 'll find:

    If your program calls a function inside a DLL, but this feature does not exist in the Windows XP's kernel32.dll file.

    I think that GetFinalPathNameByHandleW was introduced in Windows Vista, so now here you would be fine.

    If who wrote your program is that it works on XP, they need to stick to the functions that are part of XP and GetFinalPathNameByHandleW isn't here, where the error.

  • 325 ordinal is not found in the AHDOCVW.dll dynamic link library

    I have a school program that doesn't work with IE8. He suggested in school support uninstall IE8, I did. Now, I get an error 'The Ordinal 325' not found in SHDOCVW.dll dynamic link library message every time I try to do anything. Boy did I mess up. Is it possible to reinstall IE8 or does anyone have any other suggestions as to what I should try?

    Hello.
    This discussion suggests running regsvr32 /i shdocvw.dll
    http://social.answers.Microsoft.com/forums/fi-fi/InternetExplorer/thread/1a43d725-AD6C-4713-a723-daddb11189bf
    Here is another discussion on this issue: http://www.annoyances.org/exec/forum/winxp/t1101578221

    To be honest though, you might want to try to re - install IE8 first. It back to the last known good state.

Maybe you are looking for

  • ATI Mobility Radeon HD 3450 in a Pavilion

    Hello everyone. I would appreciate someone pointing me in the right direction with this one because I have received contradictory information. I have a HP Pavilion DV5 Notebook with an ATI Mobility Radeon HD 3450 (also receive some conficting of info

  • Pavilion 15-p263nr: bluetooth

    I can't find bluetooth on hp 15-p263nr

  • Sync rather than crush playlists

    HelloI use MM to create playlists for Sansa Fuze. Currently, the unit is in mode "Auto-Detect". The problem I have is that some of my songs are located on an external hard drive. I created a playlist called "Pop" in MM with a few songs from the exter

  • WPC - 54G driver problem

    Hi and Hello to everyone I have a model of PCMCIA wireless card WPC - 54 G V5, cannot find the installation cd and I seem to not be able to find the driver for this version number, I think that there is V1-V2-V3-V7 on the linksys website, but not the

  • I am trying to print on paper photo Magnectic

    Hello Woud appreciate any help on this, because I have a beautiful picture I want to turn it into a fridge magnet. I had a bit of paper photo magnectic and I'm trying to print on it using a Photosmart HP 5510, it will only take that paper up and no f