Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Update on Codeguard



Permlink Replies: 4 - Last Post: Feb 19, 2017 6:17 PM Last Post By: Alex Belo Threads: [ Previous | Next ]
Colin Maharaj

Posts: 116
Registered: 12/2/99
Update on Codeguard
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 18, 2017 9:11 AM
Folks,
Is there an update for this?

I recently started using BCB4 heavily after spending about a year moving
a BCB6 project to BCB4. I had purchased BCB4 some years ago and never got
the chance to use it.

That was a 300+ C++ file project.

The thing is, when doing work that will make it into production,
which is practically all the time, I have codeguard turned on always.

There is no other way I code. The code I wrote has gotten so complicated
with threading and parallelism, that it is impossible to write code that
will work perfectly all the time in a single sitting.

The fact that codeguard is not working and I have a bug that is exhausting
me, means that I have to move all my new code to BCB6 and try to debug there.

Is there an alternative? I have no problem with purchasing.

I recently persuaded another company to purchase the mode recent Berlin product
but I am having 2nd thoughts, because I am now unaware of my delivery times.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Alex Belo

Posts: 563
Registered: 10/8/06
Re: Update on Codeguard
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 18, 2017 8:34 PM   in response to: Colin Maharaj in response to: Colin Maharaj
Colin Maharaj wrote:

Is there an update for this?

No. Even if it could be for new versions (but it does not happen
AFAIK), older versions have no support at all.

I have codeguard turned on always.
...
The code I wrote has gotten so complicated with threading and
parallelism

CG (at least in RAD2007) doesn't work correctly on multicore
processors: very often CG memory manager returns NULL ("no memory")
from GetMem. It was discovered right after appearance of multicore
chips.

The only chance I can imagine to make it workable is setting affinity
of application but I never tried it myself.

Is there an alternative?

Try madExcept.

I have no problem with purchasing.

It has trial version (free for personal non-commercial use).

--
Alex
Colin Maharaj

Posts: 116
Registered: 12/2/99
Re: Update on Codeguard
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 19, 2017 7:39 AM   in response to: Alex Belo in response to: Alex Belo
Ok,
So what was the last version of Rad studio after BCB6 that had a good version of
codeguard? I have a BCB2009 Ent version, but can that work in Win 10 64 bit?

While I hear you about RAD2007 not working on multicore chips, I am effectively
saying that BCB6 code guard works properly and I have been doing multicore
programming with this engine for a good few years now.

Also I have been doing affinity coding for a while also.
I can set my web thread to a core, email thread to a core,
reporting thread to a few cores etc.

I have not been slacking
:)

On 19/02/2017 12:34 AM, Alex Belo wrote:

Colin Maharaj wrote:

Is there an update for this?

No. Even if it could be for new versions (but it does not happen
AFAIK), older versions have no support at all.

I have codeguard turned on always.
...
The code I wrote has gotten so complicated with threading and
parallelism

CG (at least in RAD2007) doesn't work correctly on multicore
processors: very often CG memory manager returns NULL ("no memory")
from GetMem. It was discovered right after appearance of multicore
chips.

The only chance I can imagine to make it workable is setting affinity
of application but I never tried it myself.

Is there an alternative?

Try madExcept.

I have no problem with purchasing.

It has trial version (free for personal non-commercial use).

--
Alex

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Alex Belo

Posts: 563
Registered: 10/8/06
Re: Update on Codeguard
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 19, 2017 6:17 PM   in response to: Colin Maharaj in response to: Colin Maharaj
Colin Maharaj wrote:

So what was the last version of Rad studio after BCB6 that had a good
version of codeguard?

Sorry, I don't know.

I have a BCB2009 Ent version, but can that work in Win 10 64 bit?

Why not? I use RAD2007 on Win7 32 and 64 successfully.

Try it; perhaps you'll face some problems but all of them should be
solvable.

While I hear you about RAD2007 not working on multicore chips, I am
effectively saying that BCB6 code guard works properly and I have
been doing multicore programming with this engine for a good few
years now.

Good to know.

Anyway, you can try madExcept; it's easy because it has nice installer
and config. Also it has feature to send reports by e-mail and (AFAIK)
there is centralized cloud service for logging these reports.

--
Alex
Quentin Correll


Posts: 2,390
Registered: 12/1/99
Re: Update on Codeguard
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 19, 2017 11:46 AM   in response to: Alex Belo in response to: Alex Belo
Alex,

| Try madExcept.

+1

--

Q -- XanaNews 1.19.1.372 - 2017-02-19 11:46:21
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02