🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Sharing hDC between applications

#12711
From: Eugene Mayevski [SecureBlackbox]
Date: Fri, 21 Nov 2003 20:44
15 lines
1512 bytes
Andrue Cope wrote:

> We are looking at isolating calls to a third party library to protect 
> against AVs. The library is passed device contexts for it to draw on. 
> Can we pass these context via COM and still have the drawing work 
> correctly?

Why not? Just cast it to DWORD. This is true if you are talking about 
inproc servers, i.e. COM DLLs.

-- 
Eugene Mayevski
EldoS Corp., CTO
Security and networking solutions
http://www.eldos.com
Technical Details
Message-ID: <3fbe792c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <VA.0000201c.00781516@email.address.sorry>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7cdf5c20d09ada26
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-21 13:09:59 PST
Date: Fri, 21 Nov 2003 22:44:01 +0200
From: "Eugene Mayevski [SecureBlackbox]" <mayevski@eldos.org>
Organization: EldoS Corporation
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, ru, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Sharing hDC between applications
References: <VA.0000201c.00781516@email.address.sorry>
In-Reply-To: <VA.0000201c.00781516@email.address.sorry>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 212.9.249.56
Message-ID: <3fbe792c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1069447468 212.9.249.56 (21 Nov 2003 12:44:28 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail