The Windows API in LabWindows 9.0 documentation

I installed LabWindows/CVI 9.0 to ensure that the Windows SDK is enable.  When I help/Win32 API, I get the following error message:

"The Win32 API documentation has not been installed.  You can install the documentation for "MSDN Library" DVD included with LabWindows/CVI. »

I download the setup of LabWindows/CVI on the site.  How can I obtain documentation?

Paul

Thanks, I download it from the Web site of OR or wait for the next update of the watch.

Tags: NI Software

Similar Questions

  • LAN address MAC using the windows API?

    I would like to read the MAC address of the LAN to my WIFI on my PC card.

    Apparently, this can be done using the Windows API

    Anyone tried something like this again?

    Thank you

    Hi morngoose,

    You can use the function "exec system" with "cmd/c" ipconfig/all "" "connected." Parse the string and you'll get your MAC address.

    Mike

  • BlackBerry Smartphones Feature Request: Dialog boxes to password visible to the Windows API

    One of my frustrations with the help of BlackBerry Desktop Manager is asked for my password again and again many times - first to unlock BlackBerry, then to enter mass storage Mode, then to check the updates of the application, and then to load the software for the device, then to synchronize, etc.

    A partial solution for me was to use a utility script (AutoHotKey) on the desktop to automatically answer BBDM password dialog boxes.  But now BBDM version 5.0, these dialog boxes have become java nested forms that are not visible on the Windows API.

    So, if someone of the RIM is listening, please return the actual password dialog boxes Windows forms.  Ideally, different security BB applications would communicate with them so I have to enter my password once, but until that happens, please don't make it more difficult it must be.

    Thank you for your consideration.

    Hello and welcome to the Forums!

    With regard to your hope that RIM will see your message - these forums are a chain of support to users, not a conduct of user-to-RIM. Therefore, it is unlikely they will see what you wrote. However, if you have specific and constructive ideas for them, I heard they accept this by e-mail to [email protected].

    Good luck!

  • Questions about the Windows API.

    Hello

    IM wanting to put in place some VBA coding that can find a warning window is not visible, and send a statement close so that my Excel process can continue.

    I understand that a Windows API can be configured to do this, but I was not able to find information on the way.

    The concerned window carries the message "Excel is waiting for another Application to complete an OLE operation.

    I would be grateful for any help.

    Hercules

    Hello

    Please contact the Microsoft Community.

    I would have you post here for assistance more.

    http://social.msdn.Microsoft.com/forums/en-us/home?Forum=vbgeneral

    Let us know if you have any other questions.

  • DLL from the Windows API (user32.dll) causes a fatal error

    Hello
    On installation, we using a touch screen. LabView software is running in full-screen. I need to deactivage my Panel before if the screen saver is to warn the user start anyting. I use user32.dll SystemParametersInfoA and it works well, except, if I left the software. "myexe a fin a mistake and should be closed" (something like that my XP is in french).

    I have no issues in debug mode, this error happens in exe mode.

    I use LV 8.6.1. Do you have any idea why?

    Thank you

    CFiset wrote:

    Thanks, I'll take care of the details. But unfortunly, it does not.

    uint32_t SystemParametersInfoA (uint32_t SPI, uint32_t 0, uint32_t * value, False uint32_t);

    SPI = 114 = SPI_GETSCREENSAVERRUNNING

    If * value! = 0, screen saver, ON the other scresaver OFF

    Still have the fatal error of Windows.

    Thank you

    I noticed the node having a rather odd way of user32.dll on the initial load of the library call. You happen to have copied this DLL somewhere and SEO with full path to your VI?

    It is a very big NO-NO! User32.dll and several other Windows system dll weird for the system and are all bad behavioured if you try to load another copy elsewhere on the disk as the system directory. Just rename the user32.dll library only and let Windows choose the good DLL from the system directory.

    Another problem with specifying the full path to a copy of such a DLL, it of that LabVIEW you will think that you must have this built application-specific DLL and will include it in the build. However your user32.dll is almost 200% VERY incompatible to any other Windows system there, because of the Windows Service Pack version and upgrades of the correction of a bug, as well as different versions of Windows.

    Rolf Kalbermatter

  • Windows API to remove my application in the bar of

    Hello

    I want to know the Windows Native API, which offers the possibility to remove my application from taskbar and add on the system (as an icon) tray. I work with the unit. The unit provides no built-in API to do this. I want to do this with the help of the Windows API.

    Thanks in advance.

    Hello

    See this link:

    http://StackOverflow.com/questions/2157712/remove-application-from-taskbar-with-c-sharp-wrapper

    http://social.msdn.Microsoft.com/forums/en-AU/WPF/thread/5e9985ba-3c81-4ceb-a3d9-43743d882d9c

  • Delay with the SendInput Windows API: entry to the editor, IE or Notepad is delayed

    Hello

    We have developed a virtual keyboard (vk) and use the Windows API to display it. Later, we the vk is used to enter the keys to the internet explore.

    The problem is the keys take duration display sometimes and sometimes, there is a delay and the key appears only once the following keys is pressed. What is causing this behavior? I used to use the native C++ API, and here's the function that calls the SendInput API:

    void CallSendInput (int Vcle, int nKbdState)
    {
    Inpt of ENTRY = {INPUT_KEYBOARD, {0}};

    If (pfKeyPress)
    return;

    If (nKbdState & 0x01) {inpt.ki.wVk = VK_SHIFT; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x02) {inpt.ki.wVk = VK_CONTROL; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x03) {inpt.ki.wVk = VK_CANCEL; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x04) {inpt.ki.wVk = VK_MENU; SendInput (1, & inpt, sizeof (INPUT)) ;}

    inpt.ki.wScan = MapVirtualKey (Vcle, MAPVK_VK_TO_VSC);
    INPT. Ki.time = 0;
    inpt.ki.dwExtraInfo = 0;
    inpt.ki.dwFlags = 0;

    inpt.ki.wVk = Vcle;

    SendInput (1, & inpt, sizeof (INPUT));
    inpt.ki.dwFlags = KEYEVENTF_KEYUP;

    SendInput (1, & inpt, sizeof (INPUT));

    bKEYUPForced = true;
    If (nKbdState & 0x01) {inpt.ki.wVk = VK_SHIFT; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x02) {inpt.ki.wVk = VK_CONTROL; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x03) {inpt.ki.wVk = VK_CANCEL; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x04) {inpt.ki.wVk = VK_MENU; SendInput (1, & inpt, sizeof (INPUT)) ;}

    }

    I'd appreciate the solution to this.

    Hello

    Your message is beyond the scope of these Microsoft Community forums. It is better suited for the MSDN Developer audience. Please click on the following link and post your question in the appropriate forum.

    MSDN forums: Index

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

    MSDN forums:

    http://social.msdn.Microsoft.com/forums/en-us/home#category=usingforums&filter=AllTypes&sort=lastpostdesc&content=content

    Concerning

  • LV memory leak - how to use windows API SetProcessWorkingSetSize (from Kernel32.dll)

    Hi comrade LV'ers

    Well - it's a little tricky, but I will try and explain the problem and then ask the solution, because it is maybe someone knows a better way to deal with this... can get a bit long, sorry - if a solution comes up it will allow all of us to do more effective memory LV code so please read on...

    Here's the deal:

    When building even a simple executable LV, looking at the windows task manager will give a fairly large amount of memory allocated for such a small program - and the only way to free that is physically clicking windows minimize button, and then suddenly the amount falls to only a few MB and to maximize the window again once memory increase consumption somewhat new , but for a simple construction of VI for an exe that movement can alter consumption of + 70 MB less than 15 MB... This is regardless of the code that you put in the VI, so no coding example in this post, as is works the LV - you can even test with the development environment - look at the task mgr and verify the consumption of memory of LabVIEW, open inappropriate, ALL AND windows incl. Explorer etc., and you will see a significant decrease in the use of memory even after optimizing yet... This has bugged me since the first day, but as the RAM is a near zero cost these days is not something that I stay awake at night thinking... However - I spent in the tools to "publish to the web", eager to be a part of monitoring remote for my application my clients to discover the increased ease of use of the software that I sell them...

    All right, the editing is really easy (I use the monitoring function, NOT the embeded, clients should not have installed Labview RunTimeEngine because they could be watching a platform RTE unsupported as a web browser for mobile phone)

    Everything works very well also for the purposes of construction. -J' noticed that once users start remotely monitor running application - use memory in the application being LV begins to rise - and it keeps this making - to such an extent that you can drain the full computer and run the cliff with a windows error... It is of course not very productive for me, being specialized in measurement applications that usually runs for a long period of time - I first thought that I had made a few poor emissions in the VI will display on the Web page - but it turns out that I can reproduce this behavior with a simple Boolean on an empty façade...

    Supported OR has been informed, and they admit there is a problem, but so far, solutions to them was a bit too exotic for my taste, and so I'm looking for help from colleagues LV programmers...

    See you-the method to solve the memory consumption, is exactly the same one mentioned above... minimize the application running with the "minimize" button and all the memory will be released, as soon as you maximize the application and users are viewing from a distance, the use of memory raises once again, and history repeats... As mentioned previously, reducing the window via normal calls from LV property nodes does not give the same result, no more than a request deallocation of a VI (when you profile a project, there is no VI not growing to in memory, it is the LV the treat yourself do)

    After many search on Google for many hours, I came across this:

    http://support.Microsoft.com/?kbid=293215

    I think cutting the process with SetProcessWorkingSetSize would solve this problem, and now I would really like to be able to do that in my program, so that users are not forced to reduce every X hour program depending on their size of system...

    However - I have absolutely NO experience in calling the APIs windows of LV, I need someone with this knowledge to give an example of how to call this... I looked at the examples on how to make calls to the windows API - there is an example in this forum with a few inside llb and I gained an understanding about how parameters are passed between calls, but none to those who understand the 'hProcess' handle which is apparently necessary for this specific work winAPI call - everyone in this forum with the knowledge on how to get the handle of a VI, if possible, and could provide an example VI for me to use - or better yet, someone with knowledge of the procedure to follow in LV it self?

    Your help is highly appreciated

    Best regards

    Jacob

    LV8.6.1 patch something

    Win XP

    Hello

    see http://decibel.ni.com/content/docs/DOC-9292

    It is a kind of task manager with the ability to carve out the memory of a process.

    He calls SetProcessWorkingSetSize.

    Maybe it's help you wil

    Cosmin

    www.controlsag.ro

  • VI - ShGetFolder security and Windows API functions

    Hello

    Let me explain what I'm doing.

    In order to ensure a program and ensure that it can be installed only on a single computer; I read the MAC address of the PC, manipulate the MAC address to produce an activation code.  The user give me their address MAC and I give them the activation code for them to enter.

    The question is where to store the activation code.  I use LV 8.0 and Vista, but the software could be deployed to computers using XP or 2000.  Previously, I had decided to use the Windows registry to store the activation code.  However, I have since discovered that when I write in the registry under Vista the entry is not found.  I can be read ok but can't find it.  Where is it in Vista?  A search in the registry will not locate.  I find in XP ok.

    I need a reliable place to put the activation code once users have entered.  I've seen suggestions of using the Windows API function ShGetKnownFolderPath (Vista) and ShGetFolder (XP, it works for the year 2000?).  These features would allow me to do what?

    How can I use the fnctions of Windows APIs such as ShGetFolder?  I have no idea.

    Help, please.

    Thank you.

    Continuation of the last post...

    HKEY_CURRENT_USER will probably work for you. It's a little difficult but when different Vista users use the application.

    Be careful with Mike's suggestion. By default, it is not possible to write to the Program Files folder (even once, unless you run the application as administrator or you grant full access to the folder/file to the user or the group "Authenticated users").

    The application data folder may also be a good place to store. To get the path, you must use the Windows API to return the path of the folder. Implementation of the present can be found on the LAVA (post #7).

    Hope this helps,

    Daniel

  • Transparent background of the window?

    Is it possible to put a transparent background of the façade, but were still non-transparant indicators appear? (so it looks like indicators that float on the screen?)

    Thank you in advance, I hope it's possible, that have yet to do

    Cornelis

    If you are using Windows, you can use the Windows API to do. See How to make transparent so that some still visible control front panel?

  • How to get a handle to the window to screen using just group id and the id of the window?

    Hello

    We are trying to develop a video application, and we use ForeignWindowControl to display the video on the screen.

    We have those ForeignWindowControl declared and defined in a QML file that appears as needed.

    Using the CameraAPI, we are able to get local video displayed correctly on the local video ForiegnWindowControl. For this we have just the window group id and the id of the window api camera and it automatically configures the window newly created by the camera to the position API and the size defined in the QML file.

    However, this is isn't the case with the video remotely. Since there is no method/function similar to the createViewFinder of the camera api, we need to create a new window of ourselves that goes under the Group shared by the ForeignWindowControl remotely, using screen_create_window_type and set all the required parameters.

    To view the video, hard-code manually the position and size of the newly created window so that it corresponds to the position and the size of ForeignWindowControl remote in QML file and is displayed correctly.

    My question is how to find the ForeignWindowControl using just the group id and the id of the window? the way in which the cameraAPi done in-house?

    Any help would be appreciated.

    Thank you.

    There are 3 ways to associate a window with a ForeignWindowControl.

    1 tell the ForeignWindowControl to expect a window with a given windowId.  Then after that libscreen allows you to create your window with the same windowId, use screen_join_window_group() to adhere to the same group that uses the FWC.  The FWC should automatically capture this event and associate the window itself.  This is how the camera it.

    2. call the bindToWindow() of the ForeignWindowControl method to associate the FWC a particular windowId/groupId.  Similar to the #1, but doesn't seem more useful if you create the FWC after the window of the screen has been created.

    3. call the setWindowHandle() of the ForeignWindowControl method.  Similar to the #2, but instead of using windowId/groupId, you spend just the actual handle.

    See the FWC docs:

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__foreignwindowcontrol.html

    If you have created the window, you can use one of the 3 approaches.  If the window has been created in a different process (eg. mm-engine rendering, or photo-service device), then generally #1 is the approach you would use.

    See you soon,.

    Sean

  • Server domain membership in the group Windows 2003 functional level - windows API

    Hello

    I'm a programmer trying to get the members of a group of global domain by using windows server 2008 enterprise edition

    in the past it was not a windows server 2003 functional level, but when the 2003 functional level appeared a new features have been added such as the addition of

    a global group as a member of another global group in the domain,

    in the past, the written API could obtain the Member if the Member is a user, but you cannot find a member if it is a global group.

    I use this "NetGroupGetUsers" API to get a members of a domain global group and he gets the users but it does not get the

    Members if they were global groups...

    I tried an other API "NetLocalGroupGetMembers" it becomes a global group as a member but it only works if the owner was a local group on the server
    or on another machine which is added to the server, but this API does not work if the owner of the Group was a domain global group.

    My question is how to get the members of a global group whose members who are global groups too?

    Thank you

    -Shomaf

    Try asking in the Windows Server forum:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • W530 with Windows 7: the GetSystemMetrics API functions do not correct result

    Hello

    I recently updated my external monitor for Samsung S27A850D best resolution 2560 x 1440. After some effort, I finally managed to get this resolution, and, among other things, the section of the display of the control panel correctly shows the resolution. However, when I use the function API GetSystemMetrics with the SM_CXSCREEN and SM_CYSCREEN parameters get values in 1707 and 960, respectively. Does anyone have an explanation for it?

    Kind regards

    bostjanv

    Hello

    Thanks a lot for your comment. In fact, I have defined the size to 150%, but I was completely unaware of the mechanism behind it and really didn't know anything about scaling issues.

    Kind regards

    bostjanv

  • How to fix Firefox 31, 0-1 crashing on the Audio-Api - for example on quizlet.

    Dear Firefox team,

    Since yesterday (after the updates), Firefox hangs when it tries to play a sound. I think because of the Audio Api? It crashes on Google-Mail and Quizlet.

    For quizlet, I found a site where they describe how their sound: http://quizlet.com/help/how-does-audio-work-on-quizlet

    When I opened the file audio-test firefox crashes instantly without an errormessage. Here you get the example file: http://a.s.quizlet.com/en.mp3?v=5 & b = SWYgeW91IGNhbiBoZWFyIHRoaXMsIGF1ZGlvIGlzIG5vdCBiZWluZyBibG9ja2VkLg & s = LAhrMA-0

    Can I do something about it? Its really hard for me to understand why it crashes.

    Hey again once, unfortunately I can't reproduce the problem on a windows pc and the console log is not very descriptive (at least for my level of knowledge).

    If you can reproduce the same breaks down while you use firefox in safe mode, I would recommend filing a bug to the bugzilla.mozilla.org of this regression, so that developers have a closer look.

  • How to use the Teststand API DisplayEditNumericFormatDialog method

    Hello

    I have to create a report for Teststand coustom generator plugin using c#. In the Teststand API is a built-in method called 'DisplayEditNumericFormatDialog '.

    http://zone.NI.com/reference/en-XX/help/370052M-01/tsapiref/reftopics/propertyobject_displayeditnume...

    Is there a way to set the value of the sample of the window that appears if the method is called?

    I do the following things:

    private void button1_Click (object sender, EventArgs e)
    {
    mChanged = true;
    bool tempbool;

    PropertyObject tempobject = mEngine.NewPropertyObject (PropertyValueTypes.PropValType_Number, false, "", 0); creates a temporary PropertyOgject to view the EditNumericFormatWindow

    tempobject. NumericFormat = mConfig.GetValString (P_PluginSpecific_Options_NumericFormat, 0); read the digital format of the plugin options
    tempobject. DisplayEditNumericFormatDialog ("Digital Format", out (tempbool), 1); View the EditNimericFormatWindow

    If (tempobject. NumericFormat == "") mConfig.SetValString (P_PluginSpecific_Options_NumericFormat, 0, "%$.13g");
    else mConfig.SetValString (P_PluginSpecific_Options_NumericFormat, 0, tempobject.) NumericFormat);

    MessageBox.Show (tempobject. NumericFormat.ToString ());
    }

    Thanks in advance

    Hello f4bo,

    attached is a sequence that shows how this can be done.

    Locals.Local = RunState.Engine.NewPropertyObject (PropValType_Number, False, "", 0x1),.
    Locals.Local.AsPropertyObject.NumericFormat = "%b"
    Locals.Local.AsPropertyObject.SetValNumber ("", 0, 20),.
    Locals.Local.AsPropertyObject.DisplayEditNumericFormatDialog ("false title", False, 0)

Maybe you are looking for