编译Windows程序 [英] Compiling a program for windows

查看:75
本文介绍了编译Windows程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我需要为windows编译一个程序,我还没有经常使用
。该程序包括一些头文件如下:


#include< winsock2.h>

#include< windows.h>

#include< process.h>

#include< string.h>

#include< winbase.h>

所有包含头文件都在/ include目录中

除了winsock2.h和winbase.h。

任何想法我在哪里可以找到这些头文件。


提前致谢。

Hello folks,

I need to compile a program for windows which I have not done
quite often. The program includes some header files like following:

#include <winsock2.h>
#include <windows.h>
#include <process.h>
#include <string.h>
#include <winbase.h>

All the include header files are there in the /include directory
except for winsock2.h and winbase.h.
Any idea where can I find these header files.

Thanks in advance.

推荐答案

anonymous写道:
anonymous wrote:
大家好,

我需要为Windows编译一个程序,我没有经常这样做。该程序包括一些头文件如下:

#include< winsock2.h>
#include< windows.h>
#include< process.h>
#include< string.h>
#include< winbase.h>

所有包含头文件都在/ include目录中
除了winsock2 .h和winbase.h。

我知道在哪里可以找到这些头文件。

提前致谢。
Hello folks,

I need to compile a program for windows which I have not done
quite often. The program includes some header files like following:

#include <winsock2.h>
#include <windows.h>
#include <process.h>
#include <string.h>
#include <winbase.h>

All the include header files are there in the /include directory
except for winsock2.h and winbase.h.
Any idea where can I find these header files.

Thanks in advance.



winsock2 .h和winbase.h是用于Windows的Microsoft SDK

(软件开发工具包)的一部分。


如果你的编译器没有提供这个文件,你可以免费从微软网站下载SDK。

转到 www.msdn.microsoft.com


通常,所有Windows编译器都附带这些文件

已安装。您使用的是哪种编译器?


jacob


winsock2.h and winbase.h are parts of the Microsoft SDK
(Software Development Kit) for windows.

If your compiler doesn''t provide this files, you can
download the SDK from Microsoft sites at no charge.
Go to www.msdn.microsoft.com

Normally, all windows compilers come with those files
installed. Which compiler are you using?

jacob


感谢您的回复和信息。


我正在使用的编译器是Borland ver 3.1

Thanks for your reply and information.

The compiler I am using is Borland ver 3.1


顺便问一下,你可以建议我一个特定的sdk,因为有

sdks可用

用于您指定的网站上的许多内容。特别是,如果你能指定版本

,那么它对我来说会更容易。我正在使用的环境是

Windows 2000.


谢谢,

By the way, can you please suggest me a particular sdk as there are
sdks available
for many things on the web site you specified. Especially, if you can
specify the version
as well, it will be easier for me. The environment I am using is
Windows 2000.

Thanks,


这篇关于编译Windows程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆