🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4354

Re: [C++ Error] E2034 Cannot convert 'int' to 'void *'

#4354
From: Michael Gillen
Date: Mon, 20 Feb 2006 14:01
10 lines
1260 bytes
Remy Lebeau (TeamB) wrote:

> ReadLogEvent() expects a HANDLE for its first parameter, but you are passing in an 'int' instead.
> How exactly are you declaring your logHandle variable?

I had used int for the HANDLE in BCB6 and it had worked fine. Thanks everyone. The compiler is more
stringent - a good thing!

-- 
-Michael Gillen
Technical Details
Message-ID: <43f9d9c6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43f616d2$1@newsgroups.borland.com> <43f62100$1@newsgroups.borland.com> <43f64fd9@newsgroups.borland.com> <43f69746$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8ec6b60facd951bc
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Michael Gillen" <michael@gillenconsultinggroup-nospam.com>
Subject: Re: [C++ Error] E2034 Cannot convert 'int' to 'void *'
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43f616d2$1@newsgroups.borland.com> <43f62100$1@newsgroups.borland.com> <43f64fd9@newsgroups.borland.com> <43f69746$1@newsgroups.borland.com>
User-Agent: XanaNews/1.17.6.6
NNTP-Posting-Host: 67.122.199.249
Message-ID: <43f9d9c6$1@newsgroups.borland.com>
Date: 20 Feb 2006 07:01:26 -0700
X-Trace: newsgroups.borland.com 1140447686 67.122.199.249 (20 Feb 2006 07:01:26 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail