Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 01-06-2005, 02:08 AM   #1 (permalink)
iwanttolearnc
Registered User
 
iwanttolearnc's Avatar
 
Join Date: Jun 2004
Posts: 11
iwanttolearnc is on a distinguished road
What exactly is a HANDLE

is a HANDLE a void * or an unsigned int

file handles or any handles have been unsigned integers say in LINUX or DOS
so why is a HANDLE a void * in Windows.
in 16 bit Windows i.e Windows 3.1 A handle is described as a unsigned.
iwanttolearnc is offline   Reply With Quote
Old 01-26-2005, 01:55 PM   #2 (permalink)
fp_unit
mike
 
Join Date: Jan 2005
Location: Ottawa, ON
Posts: 79
fp_unit is on a distinguished road
A handle is whatever the API designers want it to be - and it is written as a certain type based on the API requirements. So yes, a windows RC handle may be a totally different type than say, a linux file handle.
fp_unit is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 06:49 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting