473,396 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Windows Data Types

From Beginner :
With Visual C++, there're 3 ways to create Windows Applications. One of
these is by using Windows API (Application Program Interface). Also Windows
Data Types are used to specify functions parameter types and return types in
windows API.
Windows Data Types are many as : HANDLE, HBRUSH, LPHANDLE ... etc
Now all the types used by windows are contained in a header file "window.h
".So we must include this header
file when we put our window program together.
The Question is : How can I get this header file???
Please can any body wants to help?
Thanks.
=================================
Apr 22 '07 #1
3 3816
On Apr 22, 2:24 pm, "WELCOME ###" <f...@alphalink.com.auwrote:
From Beginner :
With Visual C++, there're 3 ways to create Windows Applications. One of
these is by using Windows API (Application Program Interface). Also Windows
Data Types are used to specify functions parameter types and return types in
windows API.
Windows Data Types are many as : HANDLE, HBRUSH, LPHANDLE ... etc
Now all the types used by windows are contained in a header file "window.h
".So we must include this header
file when we put our window program together.
The Question is : How can I get this header file???
Please can any body wants to help?
Thanks.
=================================
just simply add this line to your program,

#include <windows.h>

I use Visual C++ 2005, and I tried that, that works.
Apr 22 '07 #2
On 2007-04-22 13:24, WELCOME ### wrote:
From Beginner :
With Visual C++, there're 3 ways to create Windows Applications. One of
these is by using Windows API (Application Program Interface).
Are you sure you want to use this API, it's kind of a dying API, MS is
trying to more over to the .Net framework and if you are just starting
to learn you might want to go for that (unless you have any specific
reason to use Win32).
Also Windows Data Types are used to specify functions parameter types
and return types in windows API.
Windows Data Types are many as : HANDLE, HBRUSH, LPHANDLE ... etc Now
all the types used by windows are contained in a header file "window.h".
So we must include this header file when we put our window program
together. The Question is : How can I get this header file???
I'm not sure that bohemistanbul's advice works unless you have the MS
Platform SDK installed, but even if it does you might want to download
and install it since it contains a lot of useful documentation and examples.

By the way, these kinds of questions (which are concerned with platform
specific topics) are off topic here and are better answered elsewhere
(like the microsoft.public.win32.programmer.* groups), however if you
have any questions regarding C++ programming in general this is the
place to ask.

--
Erik Wikström
Apr 22 '07 #3
On Apr 22, 9:12 am, Erik Wikström <Erik-wikst...@telia.comwrote:
On 2007-04-22 13:24, WELCOME ### wrote:
From Beginner :
With Visual C++, there're 3 ways to create Windows Applications. One of
these is by using Windows API (Application Program Interface).

Are you sure you want to use this API, it's kind of a dying API, MS is
trying to more over to the .Net framework and if you are just starting
to learn you might want to go for that (unless you have any specific
reason to use Win32).
Also Windows Data Types are used to specify functions parameter types
and return types in windows API.
Windows Data Types are many as : HANDLE, HBRUSH, LPHANDLE ... etc Now
all the types used by windows are contained in a header file "window.h".
So we must include this header file when we put our window program
together. The Question is : How can I get this header file???

I'm not sure that bohemistanbul's advice works unless you have the MS
Platform SDK installed, but even if it does you might want to download
and install it since it contains a lot of useful documentation and examples.

By the way, these kinds of questions (which are concerned with platform
specific topics) are off topic here and are better answered elsewhere
(like the microsoft.public.win32.programmer.* groups), however if you
have any questions regarding C++ programming in general this is the
place to ask.

--
Erik Wikström
Yepp, you're right, It will not work unless you download the MS
Platform SDK, which is separate.

Apr 22 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Daniel | last post by:
Hello I am developing a Java application for MacOS X, Windows and Linux. So far easy with Java. But when it comes to file types, the platfrom-specific handling knocks my application-created...
2
by: Gey-Hong Gweon | last post by:
Is there a way to copy a PIL image to windows clipboard (as a dib image or a bitmap, I suppose)? What I would like to accomplish is to do a fast copy and paste of images from my python...
2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
2
by: Jeff | last post by:
Please note this is NOT a rant or complaint! And yes, I'm over-simplifying, but intentionally. Here goes... With ASP.NET Web applications I like that I can access data from anywhere without...
8
by: ramu | last post by:
Hi, I want to call a vc++ function from a c program on linux. So when I do this dosen't the VC++ datatypes differ with c datatypes. Because we don't have some vc++ data types in c. I have to...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
3
by: DMina | last post by:
Hello people, I have this requirement to move a DB2 V8 database from Windows 2000 to AIX V5.3. I have managed to do that for a small simple database using export/import and db2look. Now i have...
7
by: Lior | last post by:
Hi, I have small code, that compiles on Visual C++ into a shared library (DLL). I need to compile it under linux, but the code includes some data types I'm not familiar with, such as DWORD,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.