| |

VerySource

 Forgot password?
 Register
Search
View: 970|Reply: 8

Where is HANDLE defined?

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-20 21:30:02
| Show all posts |Read mode
HANDLE a;

For example, where is the above program HANDLE defined?
Reply

Use magic Report

1

Threads

15

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-6-27 13:45:02
| Show all posts
This is useless to remember. Use the right mouse button and select "Go to Definition" to jump to the defined place.
Reply

Use magic Report

1

Threads

15

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-6-28 09:15:02
| Show all posts
upstairs

Or check msdn, windows data type, there are a bunch of macros
Reply

Use magic Report

0

Threads

45

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 China

Post time: 2020-7-6 08:15:01
| Show all posts
void*
Reply

Use magic Report

0

Threads

32

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 China

Post time: 2020-7-13 17:45:02
| Show all posts
winnt.h
Reply

Use magic Report

1

Threads

9

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-7-19 10:30:01
| Show all posts
To find such things, it is very convenient to use the commands provided by the system, just like finding things under linux
Than to find out whether the FindWindow function has unicode and ASNI versions
First go to the vc installation directory, for example: d:\installdir\vc98\include
findstr /I /N /S /C:"FindWindow" *.h will do
result
WINUSER.H:6728:#define FindWindow FindWindowW
WINUSER.H:6730:#define FindWindow FindWindowA
At a glance
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-7-24 23:45:01
| Show all posts
I checked it on the second floor, but it was under the mfc directory.
I don’t know how to do mfc programs under the console. For example, when I use HANDLE, how can I find which header file it defines?
Reply

Use magic Report

1

Threads

15

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-7-25 11:45:01
| Show all posts
Speechless
Right-click on HANDLE, go to definition, doesn't winnt.h?
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-7-25 22:15:01
| Show all posts
No
Please advise
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list