Article View: borland.public.cppbuilder.nativeapi
Article #14703Re: Threads and CPU Usage
From: Eugene Mayevski
Date: Sun, 03 Aug 2003 17:27
Date: Sun, 03 Aug 2003 17:27
13 lines
1578 bytes
1578 bytes
Joe Walker wrote: > Sorry but when I use (DWORD)-1, it says > [C++ Error] SCUThreadUnit.cpp(570): E2342 Type mismatch in parameter 'hWnd' > (wanted 'void *', got 'unsigned long') I think checking docs would be quicker then writing to newsgroups. Cast not to DWORD, but to HWND, and that's all. -- Eugene Mayevski Flexible cross-platform information exchange framework http://www.msgconnect.com/
Technical Details
Message-ID:
<3f2d46d3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f2cfdce$1@newsgroups.borland.com> <3f2d37e3@newsgroups.borland.com> <3f2d3f48@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,90beddda6c283d0e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-03 10:39:26 PST Date: Sun, 03 Aug 2003 20:27:14 +0300 From: Eugene Mayevski <mayevski@eldos.org> Reply-To: mayevski@eldos.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, uk, en, ru MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Threads and CPU Usage References: <3f2cfdce$1@newsgroups.borland.com> <3f2d37e3@newsgroups.borland.com> <3f2d3f48@newsgroups.borland.com> In-Reply-To: <3f2d3f48@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 212.9.249.69 Message-ID: <3f2d46d3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059931859 212.9.249.69 (3 Aug 2003 10:30:59 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail