🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: PVOID and Borland data types

#4428
From: Mike Collins
Date: Tue, 07 Feb 2006 01:36
31 lines
2138 bytes
There's no getting anything pass your Remy :-) yes, that's exactly what I'm 
trying to do...  I suppose the REG_XXX_SZ gave it away.

I must be going blind because I was looking for the WideString equivalent of 
c_str() and I just totally didn't see c_bstr().

Just out of interest, what is the difference between reinterpret_cast<> and 
dynamic_cast<>?  Is it still necessary to cast the value to PVOID when using 
c_bstr()?

Also, do you know any good references for the 'undocumented' native api's - 
I'm having problems getting the Win2K DDk from MSDN.  It seems there is 
something going on internally, relative to Sun's Java VM - not that I can 
see how this relates to the DDK an anyway, but I can't download it all the 
same.

Many thanks for the reply, will promise to clean my proverbial glasses.


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:43e7d7ce$1@newsgroups.borland.com...
>
> "Mike Collins" <its@thebottomofthe.post> wrote:
>
>> Data
>> Pointer to a caller-allocated buffer containing the
>> data for the value entry.
>> DataSize
>> Specifies the size in bytes of the Data buffer. If
>> Type is any of the REG_XXX_SZ, this value must
>> include the terminating zero(s).
Technical Details
Message-ID: <43e7f718$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <43e7b1a5$1@newsgroups.borland.com> <43e7d7ce$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e5fa031ed46571ec
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@thebottomofthe.post>
Newsgroups: borland.public.cppbuilder.nativeapi
References:  <43e7b1a5$1@newsgroups.borland.com> <43e7d7ce$1@newsgroups.borland.com>
Subject: Re: PVOID and Borland data types
Date: Tue, 7 Feb 2006 01:36:36 -0000
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.2.92.14
Message-ID: <43e7f718$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1139275544 81.2.92.14 (6 Feb 2006 17:25:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail