🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1676

Re: Another slant on the patch problem

#1676
From: Steve Pietrykoski
Date: Fri, 23 Jul 1999 00:00
25 lines
1335 bytes
I'm sorry I didn't recognize your problem sooner.  I've run into the
same thing, and someone from Borland determined the following
workaround.  Every exported provider X generates a function get_X, which
in its body has the line:

  *Value = IProv;

which needs to be changed to:

  *Value = (IProvider *)IProv;

Also, make sure in any existing project to change IProvider** to
IProviderPtr*.  I share your frustration that both these bugs were
introduced.

Steven Pietrykoski


John Graham wrote:
> 
> The error is being caused by the call to the QueryInterface() function
> in line 2014 of the UTILCLS.H header file ( \include\vcl ), which is one
> 
> Does anyone know what's going on?  I don't have any hair left to pull
> out!
Technical Details
Message-ID: <37988C8E.7A9C673A@artisansoftware.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3791FB86.923BE652@salts.navy.mil>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,e64518dbee1d18e6
X-Google-Attributes: gidfcd2b,public
From: Steve Pietrykoski <steve@artisansoftware.com>
Subject: Re: Another slant on the patch problem
Date: 1999/07/23
Message-ID: <37988C8E.7A9C673A@artisansoftware.com>
X-Deja-AN: 504435404
Content-Transfer-Encoding: 7bit
References: <3791FB86.923BE652@salts.navy.mil>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Artisan Software, LLC
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier