🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2966

Active form

#2966
From: Nayantara
Date: Tue, 18 Feb 2003 14:11
29 lines
2025 bytes
Hi all,
I am a newbie to Com programming.Am creating an active form,whenever I
write a new event or method and try to save it the message box appears
"The type library XXXProj had translation errors or warnings .Some
information maybe lost or modified.Do you want to save these
modifications?"
The same messg appears when I try to attach a host application using
Run->Parameters and try to save the project.
If I create new events having an int parameter,although the parameter
names are different they take the parameter name of the first event.

for eg.
In the type library editor I create events
OnA(int iPercent)
OnB(int isss)
OnC(int zzzz)
I get the hint in the type library iPercent is being renamed iPercent_

Once I have registered the server,try to create an exe using this form
in the object inspector shows all the events but on double clicking 
the indidvidual events generates the following:
void __fastcall Tthexe::ActivFormOnA(TObject *Sender, int iPercent_)
void __fastcall Tthexe::ActivFormOnB(TObject *Sender, int iPercent_)
void __fastcall Tthexe::ActivFormOnC(TObject *Sender, int iPercent_)

I have really no idea why this is happening ?Could anyone pls help
out.
Regards
Tara
Technical Details
Message-ID: <1fc3f225.0302180611.76e1bc53@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,98d45c7f4c33a428,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-02-18 06:11:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: majumdar_nayantara@intercontrol.de (Nayantara)
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Active form
Date: 18 Feb 2003 06:11:04 -0800
Organization: http://groups.google.com/
Lines: 29
Message-ID: <1fc3f225.0302180611.76e1bc53@posting.google.com>
NNTP-Posting-Host: 62.153.164.26
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1045577464 23881 127.0.0.1 (18 Feb 2003 14:11:04 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 18 Feb 2003 14:11:04 GMT