Thread View: borland.public.cppbuilder.database.multi-tier
5 messages
5 total messages
Started by Roberto Maiorca
Fri, 22 Oct 1999 00:00
Midas connection
Author: Roberto Maiorca
Date: Fri, 22 Oct 1999 00:00
Date: Fri, 22 Oct 1999 00:00
9 lines
706 bytes
706 bytes
Please help me, i have C++ Builder 4 Enterprise#update1. i'm tryng to make a simple Client/server multi-tiered, but when i connect ClientDataSet to the object TTable on Server i have this error 'src->QueryInterface(GetID(),(LPVOID *)(&intf))': interface not supported, ......' Thanks, Roberto.
Re: Midas connection
Author: Trudbert Schwoerer
Date: Fri, 22 Oct 1999 00:00
Date: Fri, 22 Oct 1999 00:00
18 lines
1095 bytes
1095 bytes
Roberto Maiorca wrote in message <38103d66.10636820@forums.inprise.com>... >Please help me, >i have C++ Builder 4 Enterprise#update1. >i'm tryng to make a simple Client/server multi-tiered, but when i >connect ClientDataSet to the object TTable on Server i have this error >'src->QueryInterface(GetID(),(LPVOID *)(&intf))': interface not >supported, ......' > >Thanks, > Roberto. > I had the same problem after installing the update pack 1. It disappeared after i removed the update pack. If you don't need the update pack for any other reason, remove it! Trudbert
Re: Midas connection
Author: Steve Pietrykoski
Date: Fri, 22 Oct 1999 00:00
Date: Fri, 22 Oct 1999 00:00
24 lines
1213 bytes
1213 bytes
Hi Roberto, The patch introduces a bug in the code generated for the provider. If you have a provider X, a function get_X is generated. In every one of these functions you need to make the following modification: *Value = (IProvider *)IProv; Hope that helps, Steve Pietrykoski Roberto Maiorca wrote: > > Please help me, > i have C++ Builder 4 Enterprise#update1. > i'm tryng to make a simple Client/server multi-tiered, but when i > connect ClientDataSet to the object TTable on Server i have this error > 'src->QueryInterface(GetID(),(LPVOID *)(&intf))': interface not > supported, ......' > > Thanks, > Roberto.
Re: Midas connection
Author: vavan
Date: Tue, 26 Oct 1999 00:00
Date: Tue, 26 Oct 1999 00:00
17 lines
1152 bytes
1152 bytes
U can solve this if u insert #define IProviderPtr IProvider* in YourServerName_TLB.h The only thing to remember: you HAVE to do this every time the type library has been refreshed!!! Roberto Maiorca <sig8@freemail.it> wrote in message news:38103d66.10636820@forums.inprise.com... > Please help me, > i have C++ Builder 4 Enterprise#update1. > i'm tryng to make a simple Client/server multi-tiered, but when i > connect ClientDataSet to the object TTable on Server i have this error > 'src->QueryInterface(GetID(),(LPVOID *)(&intf))': interface not > supported, ......' > > Thanks, > Roberto. >
Re: Midas connection
Author: Steve Pietrykoski
Date: Tue, 26 Oct 1999 00:00
Date: Tue, 26 Oct 1999 00:00
14 lines
1016 bytes
1016 bytes
That solves an additional problem (which may also apply) that shows up when opening projects created before the patch. The problem Roberto described is present in every project. HTH, Steve Pietrykoski vavan wrote: > > U can solve this if u insert #define IProviderPtr IProvider* in > YourServerName_TLB.h > The only thing to remember: you HAVE to do this every time the type library > has been refreshed!!! >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads