Article View: borland.public.cppbuilder.database.multi-tier
Article #1628RE: ClientDataSet - TProvider Communication Problem...
From: Martin Hart
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
49 lines
2510 bytes
2510 bytes
The answer was given a few posts away. Here is the answer. Mark Johnson said: ----------------------------------------------- I had this same problem. The cause is the new tlb editor creates code with a type IProviderPtr replacing what used to be IProvider* in the generated code. If you go through all the generated source and replace IProviderPtr with IProvider* the remote data modules will now work. Hope this helps. Mark Johnson ----------------------------------------------- Panagiotis L. Staikos <pstaiko@ekt.gr> escribi๏ฟฝ en el mensaje de noticias 37805D31.B7AF2946@ekt.gr... > I have add at server Side (Remote DataModule) > a TQuery Component and a TProvider(TProvider or TDataSetProvider) > Component. > I export the TProvider Component and it's DataSet property points to > TQuery. The TQuery component has a SQL Statement. > From Client Side i have a MIDAS, ClientDataset, DataSource, DBGrid > Components. > While i am connecting with my Server,when i change the active property > of The ClientDataSet to true > (ClientDataSet Provider Property points to the Above TProvider) > i get the Error : > 'src->QueryInterface(GetIID(),(LPVOID*)(&intf))': No such interface > supported > @ C:\Program Files\Borland\CBuilder4\invlude\vcl\utilcls.h/2014 > Press [Y]es to terminate, [N]o to continue and [C]ancel to Debug. > > All the Providers from the server are shown in the drop-down list in the > Provider property > of the ClientDataSet Component!!! > > Prior the patch#1 i did't have any problem.... > More spesific the code that i use it works with C++Builder3, and > C++Builder4 withou the path#1!!! > How is the right connection between ClientDataSet and a Provider? > > I don't understand this error beacuse i think that all is ok..... > (This problem was stop me since a week...) > May i have a answer to this problem? > > Thanks. Panagiotis Staikos from Greece. > > >
Technical Details
Message-ID:
<7m268r$hel5@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37805D31.B7AF2946@ekt.gr>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: fcd2b,7c692df7d820ec3f X-Google-Attributes: gidfcd2b,public From: "Martin Hart" <memorysoft@infotelecom.es> Subject: RE: ClientDataSet - TProvider Communication Problem... Date: 1999/07/08 Message-ID: <7m268r$hel5@forums.borland.com> X-Deja-AN: 498536094 References: <37805D31.B7AF2946@ekt.gr> X-Priority: 3 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.cppbuilder.database.multi-tier