 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
server Guest
|
Posted: Sat Feb 04, 2006 6:48 am Post subject: Windowstate always wsnormal |
|
|
message unavailable |
|
| Back to top |
|
 |
JD Guest
|
Posted: Sat Feb 04, 2006 6:48 am Post subject: Re: Windowstate always wsnormal |
|
|
"JD" <nospam (AT) nospam (DOT) com> wrote:
| Quote: |
[...] I have seen only one report of *any* problems
|
<blush>
Which was from you!
</blush>
| Quote: | [...] and part poor memory management.
|
I'll retract that (for now). Are you sure that you didn't
implement *any* of the changes I suggested?
| Quote: | IOW, it was the programmers fault! <g
|
I'm willing to blame it on the IDE (for now). <g>
~ JD |
|
| Back to top |
|
 |
John Grabner Guest
|
Posted: Sat Feb 04, 2006 2:02 pm Post subject: Re: Unresolved external with TOpenDialog? |
|
|
Dave A. Law wrote:
| Quote: | Yes, I called my original Execute function, which is where this all started.
The QC report is #24017, which includes a small sample project which
demostrates the issue.
Dave A. Law
Software Developer
NuFlo Measurement Systems
What did your Execute function in BCB6 do? |
John. |
|
| Back to top |
|
 |
Kris Guest
|
Posted: Sat Feb 04, 2006 4:02 pm Post subject: Re: Windowstate always wsnormal |
|
|
On 3 Feb 2006 20:37:39 -0700, "JD" <nospam (AT) nospam (DOT) com> wrote:
| Quote: | I'll retract that (for now). Are you sure that you didn't
implement *any* of the changes I suggested?
|
My builder 6 project was converted to BDS and seemed to work OK.
However, I ran into weird problems when I added your traycomponent
(which, as it turned out, was not the cause of the problems).
So, I started a new BDS project scratch and added bit by bit all the
code from the old project back into the new project including the
traycomponent without making a single change to the source code. At
that point I also hadn't yet made any of your suggested changes and it
still worked great. Even now, after having expanded the project
substantially I still haven't encountered any of the weird crashes
(fingers crossed). |
|
| Back to top |
|
 |
JD Guest
|
Posted: Sun Feb 05, 2006 4:00 pm Post subject: Re: [Linker Error] Error: Unresolved external 'System::Dynam |
|
|
"Remy Lebeau \(TeamB\)" <no.spam (AT) no (DOT) spam.com> wrote:
| Quote: |
[...] It is not possible for just the DynamicArray
destructor to not be found if the rest of it is.
|
I didn't notice the tilde.
| Quote: | That will not work for DynamicArray, since it is a not a
component.
|
It seemed reasonable when I posted it.
~ JD |
|
| Back to top |
|
 |
Greg L Guest
|
Posted: Mon Feb 06, 2006 5:02 pm Post subject: Re: [Linker Error] Error: Unresolved external 'System::Dynam |
|
|
Thanks for trying, at least. I'm using BDS2006. Any thoughts on how I
would debug something like this? Since it's in MAIN.OBJ can I safely assume
that it must be something in main.h/cpp? Is there a way I can determine
exactly what is calling this?
Oh, and should I move this thread to another forum - the TPopupWnd made me
think this could be a VCL problem, but perhaps I have something else going
on, eh?
Thanks.
~Greg
"JD" <nospam (AT) nospam (DOT) com> wrote in message
news:43e618a7$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Remy Lebeau \(TeamB\)" <no.spam (AT) no (DOT) spam.com> wrote:
[...] It is not possible for just the DynamicArray
destructor to not be found if the rest of it is.
I didn't notice the tilde.
That will not work for DynamicArray, since it is a not a
component.
It seemed reasonable when I posted it.
~ JD
|
|
|
| Back to top |
|
 |
poojo hackma Guest
|
Posted: Fri Feb 10, 2006 10:03 pm Post subject: Re: Help!! Ambiguity |
|
|
MrT:
Did you ever get this figured out? I am having a similar Ambiguity problem
with TListItem. How exactly do you use the "make" feature to tell where
something (like TListItem) is being called? Obviously, another one of my
controls uses a TListItem, but I don't know how to tell which.
Regards,
poojo |
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Sat Feb 11, 2006 12:03 am Post subject: Re: Help!! Ambiguity |
|
|
At 23:59:18, 10.02.2006, Remy Lebeau (TeamB) wrote:
| Quote: | I am having a similar Ambiguity problem with TListItem.
Please elaborate. What exactly are you having a problem with?
|
He started another thread about it, AFAICS.
--
Rudy Velthuis [TeamB] http://rvelthuis.de/
"Real life is that big, high-res, high-color screen saver behind all
the windows." -- anonymous |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sat Feb 11, 2006 12:03 am Post subject: Re: Help!! Ambiguity |
|
|
"poojo hackma" <poojo.com/mail> wrote in message
news:43ed0399$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I am having a similar Ambiguity problem with TListItem.
|
Please elaborate. What exactly are you having a problem with?
| Quote: | How exactly do you use the "make" feature to tell where something
(like TListItem) is being called?
|
What are you referring to?
Gambit |
|
| Back to top |
|
 |
bongartz Guest
|
Posted: Sun Mar 12, 2006 6:03 pm Post subject: Re: IDE's "focus" frame also available at runtime / for an a |
|
|
Hi,
is my question out of topic? Or anyhow technically wrong?
My idea is: because a focus frame is existing in the visual
IDE it also could be available for being used in the GUI.
I want to avoid developing classes of my own although the
feature is already available in BCB.
Thanks in advance
Regards
Michael |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Mar 14, 2006 3:03 am Post subject: Re: IDE's "focus" frame also available at runtime / for an a |
|
|
"bongartz" <bongartz (AT) physioschule (DOT) de> wrote in message
news:44145367$1 (AT) newsgroups (DOT) borland.com...
| Quote: | is my question out of topic?
|
What question are you referring to? What is the actual question?
| Quote: | : because a focus frame is existing in the visual IDE it also could
be available for being used in the GUI.
|
What focus frame are you referring to exactly? Please be more specific.
There are features of the IDE that are implemented only in the IDE and not
in the VCL at all.
Gambit |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon May 29, 2006 10:47 pm Post subject: Re: VCL and multiple inheritance |
|
|
"E Gilbert" <ettienneg at prism dot co dot za> wrote in message
news:447ae498 (AT) newsgroups (DOT) borland.com...
| Quote: | I know that the documentation explicitly states that all VCL (and VCL
derived) classes cannot implement multiple inheritance (or be derived
from any abstact base classe).
|
That is not entirely true. The VCL has been using multiple interitance
internally for years on the Pascal side. Starting with BCB6, the C++ has
has been able to as well. The only catch, though, is that on the C++ side,
only one ancestor can be non-abstract. All of the other ancestors must be
abstract interfaces with no implementations of their own. In other words,
classes that only have pure virtual methods and no data members at all.
| Quote: | But somewhere in the cobwebs of my memory I recall seeing somewhere
(maybe even on one of the newsgroups) that from a certain BCB version
onwards (as I recall it was from BCB6) a VCL derived class (obviously only
in C++) can support multiple inheritance as long as only one of its parent
classes is a VCL class.
|
That is partly true. The rest of the ancestors must be interfaces. You
cannot derive a class from both a non-abstract VCL class and a non-abstract
non-VCL class.
| Quote: | If true, the following should then be possible:
|
That will only work if TMyBase is an abstract interface.
Gambit |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon May 29, 2006 10:52 pm Post subject: Re: VCL and multiple inheritance |
|
|
"E Gilbert" <ettienneg at prism dot co dot za> wrote in message
news:447af348 (AT) newsgroups (DOT) borland.com...
| Quote: | I tried it out with a little test program in BDS2006 :
|
That will not work. TEGBase is not an interface. It has data members and
non-abstract methods. The only way to make that work is as follows:
class IEGBase
{
public:
virtual int __fastcall GetX() = 0;
virtual void __fastcall SetX(int x) = 0;
virtual void __fastcall IncX() = 0;
};
class TForm1 : public TForm, public IEGBase
{
__published: // IDE-managed Components
TButton *Button1;
TLabel *Label1;
TButton *Button2;
void __fastcall Button1Click(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
private: // User declarations
int x;
int y;
public: // User declarations
__fastcall TForm1(TComponent* Owner);
virtual int __fastcall GetX();
virtual void __fastcall SetX(int x);
virtual void __fastcall IncX();
int __fastcall GetY();
void __fastcall SetY(int y);
void __fastcall IncY();
};
__fastcall TForm1(TComponent* Owner)
: TForm(Owner)
{
x = 0;
y = 0;
}
int __fastcall TForm1::GetX()
{
return x;
}
void __fastcall TForm1::SetX(int x)
{
this->x = x;
}
void __fastcall TForm1::IncX()
{
++x;
}
int __fastcall TForm1::GetY()
{
return y;
}
void __fastcall TForm1::SetY(int y)
{
this->y = y;
}
void __fastcall TForm1::IncY()
{
++y;
}
| Quote: | But the project fails to compileswith the following errors:
|
The error message is telling you exactly what the problem is - TEGBase is
not an abstract interface.
Gambit |
|
| Back to top |
|
 |
E Gilbert Guest
|
Posted: Mon May 29, 2006 11:22 pm Post subject: Re: VCL and multiple inheritance |
|
|
Thanks Remy.
Regards,
Ettienne |
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Tue May 30, 2006 12:16 am Post subject: Re: Removing namespace in pascal hpp |
|
|
At 15:20:28, 29.05.2006, SubZero wrote:
| Quote: | Hello,
I am trying to make ICSv6 work with BCB2006 and have a problem that
nobody could help so far:
There is a unit called overbyteicslibrary.pas that redefines variables
such as WM_QUIT and methods such as CreateWindowEx. I am not sure why
Francois Piette decided to group and redefine these but anyway, it
works fine in Delphi but since hpp includes:
using namespace overbyteicslibrary;
|
Francois Piette should have used {$EXTERNALSYM ...} for these
identifiers, so they won't interfere at all with the original headers, if
used in BCB. That is what I do if I translate headers.
But I just downloaded it, and I can't find this unit anywhere. The name
suggests you are trying to use the .NET sources. They contain units with
such names. (e.g. Overbyte.ICS.Components, etc.).
And it sounds a bit unbelievable that Francois would redefine these
identifiers. They can already be found in Windows.pas.
--
Rudy Velthuis [TeamB] http://rvelthuis.de/
"In the end, everything is a gag."
- Charlie Chaplin (1889-1977) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|