Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/CodeGuard    [ Add a report in this area ]  
Report #:  99422   Status: Open
Get Error When call ActiveX  Com Object
Project:  C++Builder Build #:  2009, 2010
Version:    14.2 Submitted By:   Lai Jack
Report Type:  Basic functionality failure Date Reported:  9/29/2011 12:54:35 AM
Severity:    Critical / Show Stopper Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   287960
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
I use C++ Builder 2009 to write a COM Server(test_mod.dll) and a COM Client(test_ap.exe), After run test_ap.exe using C++ Builder, When I click Main Form Button, I get a error when execute:
Line->SetColor(100);
The error window is in attach file, For the Project Option, I Enable the CodeGuard, maybe it's a reason to cause problem?

Addded by Sysop
<<<<<
if I turn off CodeGuard both of test_mod.dll and test_ap.exe, everything going normal.
>>>>>
Steps to Reproduce:
1. register activex server of test_mod.dll
2. run test_ap.exe using c++ builder 2009
3. click Button1
4. get error window
Workarounds
None
Attachment
99422.zip
Comments

Tomohiro Takahashi at 9/29/2011 6:15:59 AM -
> ... I Enable the CodeGuard, maybe it's a reason to cause problem?
Does your issue occur only when you turn on CodeGuard?

Lai Jack at 9/29/2011 7:18:05 AM -
yes, if I turn off CodeGuard both of test_mod.dll and test_ap.exe, everything going normal.

Lai Jack at 10/1/2011 8:24:08 AM -
But why can't I use code guard in this case?

Tomohiro Takahashi at 10/1/2011 9:17:13 PM -
As you you, QualityCentral is not technical support service.
So, if you need more help, could you please contact technical support. Sorry for inconvenience.
http://support.embarcadero.com/

Lai Jack at 10/5/2011 4:32:33 AM -
It should be working even I enable code guard option, otherwise it is a bug of c++ builder. I don't know why I need to have a technical support for a bug.

Server Response from: ETNACODE01