LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building example project, said windows.h missing

I amusing the example from

http://zone.ni.com/devzone/cda/tut/p/id/5189

But when building it, it said 2 files missing as attached, 'windows.h' and 'commctrl.lib'.

I searched and found their path on disk as below.

\Program Files\National Instruments\LabVIEW 8.5\PDA\Utilities\VC\SmartDevices\SDK\PocketPC2003\Include\windows.h
\Program Files\National Instruments\LabVIEW 8.5\PDA\Utilities\VC\SmartDevices\SDK\PocketPC2003\Lib\armv4\commctrl.lib
\Program Files\National Instruments\LabVIEW 8.5\PDA\Utilities\VC\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i\windows.h
\Program Files\National Instruments\LabVIEW 8.5\PDA\Utilities\VC\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Lib\ARMV4I\commctrl.lib

 

Message 1 of 14
(5,256 Views)

Hi Turbot,

So what exactly is your question?  Were you not able to complie the project even after browsing to those files? 

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 2 of 14
(5,220 Views)
No, any suggestion?
0 Kudos
Message 3 of 14
(5,209 Views)

Hi Turbot,

Did you try to take one of the VIs in the file and build it into an .exe using the application builder?  There are just examples of how the even structure works, they aren't really intended to be built into an exe.  Which one did you try to build?  What version of LabVIEW did you use to build it?  Thanks.

 

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 4 of 14
(5,190 Views)
There are only one vi actually. it should may not related to event structure. I am trying to build the one of emulator. I am using 8.5 for both LV and PDA module.
0 Kudos
Message 5 of 14
(5,174 Views)

Hi Turbot,

You should be able to do this if you save the file from the web link to your computer.  Then add the VI to a PDA project for an emulator (I used a Windows Mobile 5.0 Emulator).  You then just need to make a build specification by right clicking on Build Specifications and selecting New Application.  Make the Event Structure Demo.vi a top level VI and then build and deploy.  I have attached a few screen shots that will help you.  This first is my project, the second is the build specification showing the VI added as a top level VI.  The last is the emulator running the vi.  I hope this helps.

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
Download All
0 Kudos
Message 6 of 14
(5,154 Views)
Please see my screen shot. Still cannot work.
Download All
0 Kudos
Message 7 of 14
(5,141 Views)

Hi Turbot,

The files that you have mentioned are used by the Microsoft Visual Studio Environment for compilation and it seems that somehow it cannot find the path for these files. Are Microsoft Visual Studio and LabView installed on the same drive in your computer?

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 8 of 14
(5,123 Views)

Hello,

I've got the same problem. Actually I have installed  VisualStudio6.0 at the same drive, and I also can find these include and lib files on the computer. Why doesn't it work?

 

Please help!

0 Kudos
Message 9 of 14
(4,915 Views)

By the way, I tried to execute this expample http://zone.ni.com/devzone/cda/epd/p/id/5131 , and the same error occurred. Right now, I uninstalled the VisualStudio6 Software, but nothings changed.

And....when Windows starts, I get a message, which directs me  to the following site ( http://support.microsoft.com/default.aspx?scid=kb;en-us;891667), but it doesn't help me, because I can't do these entries.

Message Edited by kurok on 10-14-2008 09:24 AM
Message Edited by kurok on 10-14-2008 09:24 AM
0 Kudos
Message 10 of 14
(4,906 Views)