🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#4341
From: Remy Lebeau (TeamB)
Date: Sat, 18 Feb 2006 03:37
13 lines
1537 bytes
"Michael Gillen" <michael@gillenconsultinggroup-nospam.com> wrote in message 
news:43f64fd9@newsgroups.borland.com...

> [C++ Error] OSEvent.cpp(64): E2034 Cannot convert 'int' to 'void *'
> [C++ Error] OSEvent.cpp(64): E2342 Type mismatch in parameter
> 'hEventLog' (wanted 'void *', got 'int')

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


Gambit 
Technical Details
Message-ID: <43f69746$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43f616d2$1@newsgroups.borland.com> <43f62100$1@newsgroups.borland.com> <43f64fd9@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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43f616d2$1@newsgroups.borland.com> <43f62100$1@newsgroups.borland.com> <43f64fd9@newsgroups.borland.com>
Subject: Re: [C++ Error] E2034 Cannot convert 'int' to 'void *'
Date: Fri, 17 Feb 2006 19:37:31 -0800
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 68.69.17.41
Message-ID: <43f69746$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1140234054 68.69.17.41 (17 Feb 2006 19:40:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail