Subject: Re: which libs to link
From: [email-masked] (Thomas Nichols)

4 Nov 1997 16:37:06 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
To: [email-masked], [email-masked]

Great, thanks both of you.
Regards,
Tom.

At 10:25 04/11/97 GMT, you wrote:
>No lib has GetWindowTask,
>you need to find out where 
>GetWindowThreadProcessId
>is, and link with that.
>
>If the macro from below isn't in the Windows32
>headers, you should add it to the begriming of your
>.c file.
>
>cd .../H-i386-cygwin32/i386-cygwin32/lib
>grep -l GetWindowThreadProcessId *.a    (small L)
>nm libLIBNAME.a > filename
>edit filename
>
>On Mon, 3 Nov 1997 13:14:43 +-200, you wrote:
>
>>Hi there!
>>
>>----------
>>From: 	Thomas Nichols[SMTP:[email-masked]]
>>Sent: 	01 Íîåìâðè 1997 ã. 17:12
>>To: 	[email-masked]
>>Subject: 	RE: which libs to link
>>
>>2-minute questions: which lib has GeWindowTask? I'm also having problems
>>with strlwr but I think it's because of a #undef
>>
>>Thanks very much to all those who've offered fast and practical advice.
>>Beats any commercial compiler's support hands down.
>>
>>Take a look at the following info. It's taken from the MSVC++ 4.2 help
pages.
>>Hope it'll help you!
>>
>>The GetWindowTask function is not implemented in the WIn32 API. 
>>To maintain compatibility with 16-bit applications, GetWindowTask has
been replaced with a macro that calls GetWindowThreadProcessId. Earlier
applications can continue to call GetWindowTask as previously documented,
but new applications should use GetWindowThreadProcessId. 
>>
>>Remarks
>>GetWindowTask is defined as returning a value with a HANDLE data type.
GetWindowThreadProcessId returns a value with a DWORD data type. The macro
that maps GetWindowTask to GetWindowThreadProcessId includes a cast to
HANDLE, as follows: 
>>#define GetWindowTask(hwnd) \\  
>>    ((HANDLE) GetWindowThreadProcessId(hwnd, NULL)) 
>>
>>
>>-
>>For help on using this list (especially unsubscribing), send a message to
>>"[email-masked]" with one line of text: "help".
>>
>
>([email-masked])
>delete REMOVETHIS from the above to reply
>         Mikey
>-
>For help on using this list (especially unsubscribing), send a message to
>"[email-masked]" with one line of text: "help".
>
>

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".