Warning of 'Empty Declaration' ShObjIdl.h with CVI 9.0

Just installed CVI 9.0 and now my project generates a warning of 'Empty Declaration' in ShObjIdl.h on line 1330

I am including shlobj.h to support the use of SHGetFolderPath() and shlobj.h consists in turn ShObjIdl.h

I think I have the same options as before compiler with 8.5.1.  I note that there is a new version of the SDK with CVI 9 probable factors in the explanation.

Is this a cause for concern?

-Ian

Oops. It seems that I did a copy/paste error in this post, and Ian never called me on this subject. As I said, he must add a #define, not a typedef:

#define tagSHCONTF shcontf_dummy {shcontf_dummy} shcontf_dummy_typedef; tagSHCONTF Enumeration
#include

Sorry about that.

A. Mert

National Instruments

Tags: NI Software

Similar Questions

  • Performance of CVI 2013 SP2 with CVI 2015 - Windows XP problem

    I see that XP isn't an operating system in 2015 of the CVI.

    Most of our PC are Win7 now, but we have some legacy units which require XP due to a limitation of external controller processor.

    Is is possible to generate executables in 2015 CVI which will work correctly with the runtime of 2013?

    Alternatively, CVI SP2 from 2013 and 2015 CVI co-exist on the same PC development?

    I would not get stuck with CVI 2013 SP2 for the future just to maintain a few predictable XP-based PC.

    Hi Shr,

    I recommend reading through this community's message: https://decibel.ni.com/content/docs/DOC-23955

    Essentially, you can develop a code in CVI 2015 but set the executable to run on previous versions of the Run-Time Engine. Note that the older version of the RTE of Side-by-Side CVI is 2012. You can indeed install previous versions of the CVI on the same computer. The shared runtime will be set to the latest version. Other versions will be side-by-side. The code is not guaranteed to work with previous versions of the RTE so be sure to test the code locally before moving on to another computer.

  • Web server with CVI

    Hello

    I want to know if it is possible to create a webserver with CVI so that I can connect my application and see the data with internet Explorer?

    Backround: we run a CVI-application on a computer within a network. On this computer, collect US data from different systems and publish these data in a sign of the CVI. Users who want to see the data, connect to the computer with a remote control software.

    Now, we wondered if it is possible to create a web server with CVI. And if the user cannot see the data on his computer using internet Explorer.

    In the forum, we found a few messages very old. Are there new items on this subject?

    Thank you

    Oliver

    As far as I know that it is not supported at the moment.

    And there is the suggestion of product requiring a few laurels ;-)

  • Shortcut to launch with CVI

    Hello
    Comment do pay to run a shortcut from the desktop with CVI?
    The application launched by the shortcut must take into account the field "start."
    For example: An Excel shortcut, if the field "start in" = "c:\". ».
    the box open or save in Excel by default will be the path "c:\". »
    ("in so of course Excel - Options - general - folder by default =" ")

    Thanks for the help

    Hello

    I managed to do what I wanted with the ShellExecute command

    (HINSTANCE) ShellExecute
    HWND hwnd,
    LPCTSTR lpOperation, //Executable
    LPCTSTR lpFile,
    LPCTSTR lpParameters,
    LPCTSTR lpDirectory, //Repertoire of work
    INT nShowCmd
    example:
    hResult = ShellExecute (handle,
    "open."
                                           "" C:\\Program c:\Program Files\Microsoft Office\\Office\\EXCEL. "» EXE",.
    NULL,
    "C:\\My documents,
    SW_SHOWNORMAL);

    Thank you still pay your help.

  • Alignment of memory with CVI 2013 problem

    Hello

    I just installed 2013 CVI from CVI 2010 and opening my old projects, I'm in trouble with the alignment of the memory.

    Not in all the projects that I opened, I get the problem, and I'm quite confused about this.

    I used to keep in line with the limits of 1 byte of memory and I have thousands and thousands of saved file with this method.

    I have prepared a very simple project (attached to this post) to illustrate the problem, consider that the result would have been with CVI 2010 'occupation of 5 bytes.

    Pragma pack() change his behavior?

    Y at - it a flag set in the Options menu or elsewhere?

    If anyone has a suggestion please help me.

    Thank you

    Sergio

    Hello

    I found the problem, there's a semicolon that follows the directive of preprocessor #pragma pack (1), and it causes the pragma is ignored.

    Remove the semicolon, everything works fine.

    Sorry!

    Sergio

  • How to convert times from second to hh with CVI

    How to convert times from second to hh with CVI?

    Can anyone advice?

    It's here. As I told you, it's very simple:

    //----------------------------------------------------------------------
    // Function secToHMSstring ()
    //----------------------------------------------------------------------
    /// HIFN secToHMSstring ()
    /// HIFN The function takes an amount of seconds and returns a string with
    /// HIFN the corresponding value in H:M:S format
    /// HIPAR sec/Value in seconds to convert
    /// HIPAR verbose/If True use "hms" separators; if not, use ":" separator
    /// HIPAR string/The output string. It is responsibility of the programmer
    /// HIPAR string/that the string is large enough to keep the resulting text
    /// OUT string
    void secToHMSstring (int sec, int verbose, char *string)
    
    {
        int     hh = 0, mm = 0, ss = 0;
    
        if (sec >= 3600) {
            hh = sec / 3600;
            sec -= hh * 3600;
        }
        if (sec >= 60)
            mm = sec / 60;
        ss = sec - mm * 60;
    
        strcpy (string, "");
        if (verbose) {
            if (hh > 0) sprintf (string, "%s%dh", string, hh);
            if (mm > 0) { if (strlen (string)) strcat (string, " "); sprintf (string, "%s%dm", string, mm); }
            if (ss > 0) { if (strlen (string)) strcat (string, " "); sprintf (string, "%s%ds", string, ss); }
        }
        else {
            if (hh > 0) sprintf (string, "%s%d:", string, hh);
            if (mm > 0) {
                if (strlen (string)) sprintf (string, "%s%02d:", string, mm); else sprintf (string, "%d:", mm);
            }
            else if (strlen (string))
                strcat (string, "00:");
            if (strlen (string)) sprintf (string, "%s%02d",  string, ss); else sprintf (string, "%d", ss);
        }
    
        return;
    }
    
  • Sapera LT with CVI

    Now this is heresy...

    Anyone could use a framegrabber DALSA and the Sapera LT C programming API to capture video from a CVI application?

    DALSA announces a C API language, it is not certain that it is possible to work with something else using PVC as a C compiler (which it can do - PCV is also a compiler C89 but not a C99 compiler).

    Thank you.

    You can do with the api of 'base' which is a Sapera ANSI C interface.  I had to UNDEF as some multiply integer type limits, then he compiled, linked and ran everything is OK.  I used the interface "framegrabber' rather than the 'camera' interface or"peripheral"to catch a ground test on a simulator.  I used the CCA and .cvi files that I created using CamExpert.

    I did it with CVI 9.1, WinXP SP3, will undermine LT 7.0.0, X 64 driver 1.5.  Works with single and double head X 64 acquisition cards.

    So using a framegrabber NOR is nice, it is also possible to use a framegrabber DALSA of CVI.

    Menchar

  • Sapera LT used with CVI

    Is that what someone has successfully used vision of DALSA, Sapera LT, with CVI library?

    Sapera LT supposedly has a C language interface.

    I have this poster in the forum of machine vision, but he seems to be more a SW problem (if, indeed, there are problems) a matter of HW.

    In principle, any standard interface of C (C89) should work with CVI I think... If it's for a framegrabber DALSA, or anything else.

    I was just curious if anyone had tried this specific thing, and if so, how it worked.

    Thank you

    Menchar-

    It turns out that you can use Sapera LT with CVI 2009.  You use the api 'base' which is an interface in ANSI C with the export header file and import for the DLL library is involved.  During compilation, I found 6 #defines which were redefined to somehow - the limits they were constant max on the different types of integers.    It seemed the stuff of limits.h, but it wasn't - I never figure out how or where he defined twice, so I just #undef had these just before the place where was held the redefinition and the problem disappeared.

    I was unable to use the framegrabber as a "camera" (peripheral), I used as a 'framegrabber"and loaded separately from the configuration files CCA and .cvi instead of a camera (.ccf) configuration file.  I have hooked up to a simulator CameraLink and grabbed a focus, then he wrote on the disk.  A close inspection of the data showed that it was seizing everything is OK.

    I used the 1.5 LT Sapera 7.0.0 and X 64 driver version.

    So I feel pretty good about this so far.

    Menchar

  • Executable built with CVI 8.1 error-5093, the analysis library is not found

    Upgraded to 8.1 Labwindows/CVI of Labwindows/CVI 7.0 development machines. An earlier application was built using the ICB 7.0 and installed on a test computer. The same code built with CVI 8.1 is any error during execution of the function stdev, 5093 error code has been generated. (From analysis.h: LibraryNotFoundAnlysErr =-5093, / / the analysis library was not found.) Tried to build a facility with 8.1 and installation on the test computer and application errors still executing the stdev function. Back to the same application, but built with CVI 7.0, it works fine. Am I missing something with the build in 8.1 options? Or is it something in the workspace or project? Please notify. Thanks in advance

    Hi Tommy,.

    In CVI 8.0, the implementation of the analysis library has changed a static library that is linked to your .exe in a DLL that must be loaded when running. If you rebuild your source code and you want to deploy to another machine where the CVI environment is not installed, then you must re-create an installer in CVI 8.1 distribution, so that he can pack the analysis as well as your program library.

    You can confirm whether the analysis library is installed by searching for C:\Program NIUninstaller Instruments\Shared\Analysis\nianlys.dll in your target machine (although it is not enough to simply copy this file manually).

    When you create an installer in the CVI, be sure that, in the tab drivers & components in the dialog box change Installer , support of analysis element under the Group of LabWindows/CVI Run-Time Engine is checked.

    Luis

  • Declarative attribute components with constraint values

    Hello

    I created a declarative align components with a single attribute of type String. I would limit the possible values for this attribute on the left, Center, or right. Thus in the property inspector, when you use this component, a drop-down list box is displayed instead of the standard box for this property. Is this possible?

    JDev 11.1.2.4

    I do not. All you can do is check the declarative value of the component. It could be worse in an emergency room with support of the record.

    Timo

  • Creative cloud window is empty in my Mac with Yosemite.

    Creative cloud window is empty in my Mac with Yosemite.

    I ran the uninstaller and the cleaning tool. All I get is the icon on the top of the menu bar and when I click it I have no option available to download any software.

    I had to re install OSX yesterday, not a migration assistant, but the creative cloud is not installed. I deleted all the files adobe, that I could find and nothing. I have re booted the computer after uninstalling and nothing. I need to install Premiere Pro today, I'm in a production company with projects that need to be delivered.

    All adobe for uninstalling solutions do not work.Screen Shot 2015-06-23 at 11.27.21 AM.png

    Thank you.

    I had to reinstall Yosemite from scratch and the creative cloud now works.

    Wonder first cannot import PNG files, it's like buying a desktop computer without a mouse and a keyboard.

    I wish I could go back to FCP 7. First opportunity to be a great software in early 2000, I do not recognize what is this software pretentious that I use now.

  • When I export a PNG file in illustrator, I get empty space at random with my exported object. Is it possible that I can do just my export of object and nothing more?

    Screen Shot 2015-01-11 at 00.30.06.png

    It is an example of my problem. This icon is the only object in the present document, and is the only thing being exported here. Yet when I export, a random white space bar is exported with it. I am currently using Illustrator to design art for a video game, which means that this empty space plays havoc with my finished product, and I have to meticulously reframe everything I export. Because I don't do hundreds of individual sprites for this, I would like to know how to fix this problem and save me a lot of time. So, what exactly I do wrong here, and how can I solve this problem?

    quicklite,

    In my opinion, than the size / final resulting may extend just a little bit above a point/pixel wide (value) on the pixel grid.

    You can see in Edit > Preferences > General > use limits (if necessary) Preview, then select one of the main reference Points in the Transform palette, and examine the value of Y, measured in pixels/points.

    If this is the case, the solution would be to get rid of this little bit.

  • With CVI to transfer files to cRIO 9066

    Hello

    I'm trying to copy files to a directory on a cRIO 9066.

    The method I use is to map a drive in Windows 7 and I want to copy the files with the CopyFile function in CVI.

    The reader is defined as \\ni-crio-9066-030c6bf1.local\files (I also tried http://ni-crio-9066-030c6bf1.local \files).

    With this method I can transfer files on this disc with the CopyFile function, but the transfer rate is extremely slow.

    For a 300 KB file, it will take about 25-30 years.

    During this time, my request is breaking, there is no more values in the controls or the UIRs until the copy is complete.

    I tried to disable 'Automatically detect settings' in Internet Explorer in tools > Internet options > LAN settings > connections as I've seen in a knowledge base (http://digital.ni.com/public.nsf/allkb/4EBE45E8A816B19386257B6C0071D025).

    The copy is much more rapid 1-1, 5 sec but I have a few failures of transfer. Windows told me that the transfer failed in a popup, the file in the cRIO is a file of 0ko (and CopyFile returns an error).

    In the knowledge base, they warn about the failures of transfer but I was hoping to get an error code in the CopyFile function.

    I also tried to run cmd.exe copy 'name of the source file' 'target file name' with LaunchExecutableEx but I got the same results.

    I'm in a dead end for now.

    Do you have any idea how I can transfer files between CVI and the cRIO?

    PS: I tried the WebDAV protocol in Labview and it seems fine with that (good transfer rate and no failure of transfer). But I did find this library in CVI.

    Thank you for your help.

    I'm sorry for my late reply.

    I managed to send files in the cRIO 9066 via FTP.

    I installed 'Legacy FTP Server' on the cRIO and I used the FTP API in CVI (proposed on the french forum and by the regulation).

    This solution works very well.

    I didn't want to use an external if possible API so I chose the FTP solution.

  • GarageBand 10.1.0 - cannot open files of the old version of Garageband in the new version - they are empty after the backup with the updated app!

    I use a MacBook Pro with OS X El Capitan. I just download GarageBand 10.1.0. When I try to open my existing GarageBand files in either a double click or single click and choosing 'open', I gives me only the possibility to 'save' the file. When I save the file, it appears in the list of files with a new icon, but when I open it, it is empty, rather than containing the recording I made and saved on my previous version of GarageBand.

    I'm afraid to keep trying to open and save it back etc., in which case it's clear files.

    Thanks for your help with this. I have years of records in these files and I don't want to lose him.

    Duplicate projects before trying to open and then try to open the copy.

    Are you still having GarageBand ' 09 installed, so you could test if GarageBand ' 09 can open them?

    Where are stored your GarageBand projects? In your folder of music on the internal drive or on an external drive?

  • How to call dll com APIs that range from the performance counters of less than 1 ms with CVI and always get less timer resolution of 1 ms

    Hello

    I've created a dll com in VC ++ using performance counters/timers to less than a millisecond.

    This is useful when you send a message to very high speed. (say 10 or more)

    This is done by the dll.

    When I use CVI to create a user interface, this dll runs at a fixed rate of 1ms.

    This slows down the application.

    I tried to use the same dll with VC ++ host and it works well.

    I need to check the registry setting to see if the useDefaultTimer is set to false or TRUE.

    (I'm not near the development PC) However, by default, it should be FALSE and I have no fidle with it.

    Veuileez post any suggestions you might have.

    Thank you!

    This problem is now solved for me.

    Just the highest thread priority in the dll.

    Thank you if you had the answer.

Maybe you are looking for

  • Satellite P100-485 - display flashes

    Hey I had a problem with my laptop.My flickers display and all the bright colors are green and purple. First, I tried to fix it by myself: Updated driversUninstall the old driversChange the settings of the graphics card and so on I think my graphics

  • Do not receive messages from sms for voice mail notifications - problem apple ID

    Hello For a while I have not received the text notifications for voicemails left on my phone. I did a factory reset and then configure the phone as a new phone, and I received notifications of text. I then registered in my apple ID and stop notificat

  • Carrier replaces the HTTP error code...

    Hi all I am trying to connect to my web server and we use HTTP error codes code, for example, if there is no available update my web server returns HTTP 404 error! Now the problem is that my company substitute HTTP error code... and change to a HTTP

  • 'Other' file Type is the biggest consumer of our use of space VSAN... chart?

    HelloToday, I noticed the use of space in our data VSAN store graph. When I looked at the numbers, I was surprised!  Why is the 'Other' file Type on the 5 TB and our largest consumer of our data VSAN store? There is no backup or ISO data on our VSAN

  • Original destructive editing using Lightroom?

    Is there a hidden feature in Lightroom that will allow me to edit, or back up my original JPEG files, destructive?Normally, I would never change my own originals, but there is in the project that I am currently working about 255 JPEG images taken wit