取消
顯示結果 
搜尋替代 
您的意思是: 

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

 

1 條訊息(共 14 條)
5,755 檢視

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 積分
2 條訊息(共 14 條)
5,719 檢視
No, any suggestion?
0 積分
3 條訊息(共 14 條)
5,708 檢視

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 積分
4 條訊息(共 14 條)
5,689 檢視
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 積分
5 條訊息(共 14 條)
5,673 檢視

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
0 積分
6 條訊息(共 14 條)
5,653 檢視
Please see my screen shot. Still cannot work.
下載全部
0 積分
7 條訊息(共 14 條)
5,640 檢視

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 積分
8 條訊息(共 14 條)
5,622 檢視

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 積分
9 條訊息(共 14 條)
5,414 檢視

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 積分
10 條訊息(共 14 條)
5,405 檢視