jimtaylor 0 Newbie Poster

Don't think you understand what is happening. I have two identical computers on which are (supposedly) the same operating system. A third party program, Borland, behaves differently on them. And yes, both were installed with me as administrator and run that way - I am the only one on.

jimtaylor 0 Newbie Poster

Yes, it has. Borland wants to install in Program Files, but it will not run under Vista from that location. It must be installed elsewhere. But - the big mystery is why it works on one computer and not the other.

jimtaylor 0 Newbie Poster

I think Borland C++ Builder Personal Version has always had some compatibility issues with Vista...

Yes, it has. Borland wants to install in Program Files, but it will not run under Vista from that location. It must be installed elsewhere. But - the big mystery is why it works on one computer and not the other.

jimtaylor 0 Newbie Poster

I have 2 Dell 1420's, both running under Vista Home Premium. One is a few months older than the other. I am running Borland C++ Builder Personal Version 6.0 on both of them. The older computer runs the c++ compiler flawlessly. On the newer computer, however, the debugger isn't working properly. When execution stops because a breakpoint has been hit, putting the cursor over a variable name does nothing at all. Also, when I put the cursor on an item in the component palette no hint is displayed.

I copied the Borland entire folder from the older computer (where all is well) and put it as is on the newer computer. Same result.

Is this a problem with the Vista environment or with Borland? I sorta vote for a Vista problem on the newest computer, but how do I fix it?

Jim Taylor

PS- You can email me directly at drivingiron@bellsouth.net.

jimtaylor 0 Newbie Poster

Dumb question #18: How can I, in C++ (Borland) sound a musical note or a series of notes?

Jim Taylor

jimtaylor 0 Newbie Poster

Hey, I think I figured it out myself. It seems you can't Close() from an "On Create" situation.

Jim Taylor

jimtaylor 0 Newbie Poster

There follows a fragment of a program in Borland C++:

void __fastcall TForm1::FormCreate(TObject *Sender)
{
Memo1->Clear();
ListBox1->Clear();
Memo1->Lines->LoadFromFile("c:\\blitz\\history.txt");
a=Memo1->Lines->Count;
x=0;
while (x<a)
        {
    str1=Memo1->Lines->Strings[x];
    if (str1 != "")
            {
            DATA MANIPULATION HERE, THEN

            if (ListBox1->Items->Count==0)
                 ListBox1->Items->Strings[0]=str3;
            else
                 ListBox1->Items->Add(str3);
            }
    }
ListBox1->Items->SaveToFile("C:\\blitz\\history.txt");
Close();
}

The form does not close, but "history.txt" is OK.

Any notions?

Jim Taylor

jimtaylor 0 Newbie Poster

Name: Jim Taylor
Age: 76
Occupation: Retired for 14 years
Married, wife, two children, 8 grandchildren, assorted ages and sizes.

Early in my working career ('50s and '60s) I programmed IBM 1400 series and 360 series machines. I wrote Autocoder, Basic Assembler, PL1, Fortran, COBOL, etc. When I retired, I bought a laptop and a book on how to write C++ in 21 days. It took me a while (I am slow) to figure out that, unlike the old batch programs, C++ is event-driven.

I am a rank amateur at it, and I'll probably ask some incredibly stupid questions. Please bear with me.

I use C++ in my two hobbies; lepidopterology and golf. I am an old-time studier of moths, and I wrote and maintain a data base on my collection for posting new ones, writing labels, extracting statistics, etc. Those interested might visit http://www.daltonstate.edu/galeps/ to see what that entails.

In golf, I maintain a data base for the 60-odd (and I do mean odd) golfing buddies I play with several times a week. The system keeps our "progs" current, balances the teams, etc.

Again, my C++ knowledge is extremely limited, and I intend to get far more out of you than you get from me.

Thanks.