using windows.h in my module written in c++

92 views
Skip to first unread message

张扬

unread,
Apr 14, 2014, 1:05:53 PM4/14/14
to native-cli...@googlegroups.com
I want to use windows.h in my module and I add the header file #include<windows.h>,why it cann't find the file and show that there are errors when compiling?
Thanks...

Noel Allen

unread,
Apr 14, 2014, 1:15:17 PM4/14/14
to native-cli...@googlegroups.com
NativeClient provides a platform independent sandboxed POSIX environment to its modules on all platforms including Windows.  You'll want to read through:

-Noel




On Mon, Apr 14, 2014 at 10:05 AM, 张扬 <hly...@gmail.com> wrote:
I want to use windows.h in my module and I add the header file #include<windows.h>,why it cann't find the file and show that there are errors when compiling?
Thanks...

--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.

Mark Seaborn

unread,
Apr 14, 2014, 1:15:04 PM4/14/14
to Native Client Discuss
On 14 April 2014 10:05, 张扬 <hly...@gmail.com> wrote:
I want to use windows.h in my module and I add the header file #include<windows.h>,why it cann't find the file and show that there are errors when compiling?

Why do you want to use windows.h?  You wouldn't be able to use Windows APIs from NaCl code, unless someone ports something like Wine to NaCl.

Cheers,
Mark

Message has been deleted

张扬

unread,
Apr 15, 2014, 1:23:39 AM4/15/14
to native-cli...@googlegroups.com, msea...@chromium.org
Thank you.
By the way ,do you mean that I should use the functions packaged in the API rather than using windows.h to meet my needs?
I am a novice,thank you for instruction.

在 2014年4月15日星期二UTC+8上午1时15分04秒,Mark Seaborn写道:
Reply all
Reply to author
Forward
0 new messages