🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

RE: Calling Sever Interfaces

#632
From: Alejandro Guzm�n
Date: Tue, 22 May 2001 13:24
51 lines
2315 bytes
thank's Mark, i have this error (missing a ";"), and other problem (i don't
include  the TLB file on the client).
#include <vcl.h>
#pragma hdrstop

#include "U_Cliente.h"
---->   #include "P_M_TLB.h"  <----------

#pragma package(smart_init)
#pragma resource "*.dfm"

well, now i have a new situation, when i try to call any method of my server
applicacion,

  int Resultado;

  IDispatch* disp = (IDispatch*) (DCOMConnection1->AppServer);
  IMDisp TempInterface( (IM*)disp);
  TempInterface->Maximo(&Resultado);

  Edit2->Text = IntToStr(Resultado);

 my client applicaction show me the following message box

_ASSERTE:
"m_Dispatch != 0 @
D:\\LENGUAJES\\BORLAND\\CBUILDER5\\INCLUDE\\VCL\\utilcls.h/3798\nPress [Y]es
to terminate, [N]o to continue and [C]ancel to Debug\

any idea, suggestions ?????.

Thanks much
Alejandro Guzm�n

Mark Cashman <mcashman@temporaldoorway.com> escribi� en el mensaje de
noticias 3B09C3DD.F61D034B@temporaldoorway.com...
> Hi, Alejandro!
>
> You are missing a ";" on the first line you show, which is causing your
> syntax error message.
>
> ------
> Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
> http://www.temporaldoorway.com
> - Original digital art, writing, music and more -
> C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
> (Join us!)
> http://www.temporaldoorway.com/programming/index.htm
> ------
>
>
Technical Details
Message-ID: <3b0a6774_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3b043fc4_2@dnews> <3B09C3DD.F61D034B@temporaldoorway.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,3539babba80a45b1
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-05-22 06:23:44 PST
From: "Alejandro Guzm�n" <aeguzmanv@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
References: <3b043fc4_2@dnews> <3B09C3DD.F61D034B@temporaldoorway.com>
Subject: RE: Calling Sever Interfaces
Date: Tue, 22 May 2001 09:24:42 -0400
Lines: 53
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 209.88.96.240
Message-ID: <3b0a6774_2@dnews>
X-Trace: dnews 990537588 209.88.96.240 (22 May 2001 06:19:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews