Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
ActiveX
Code Generators
Framework
IDE
Samples
Type Library Editor
AddOn
Bold
CodeGuard
Compatibility
Compiler
CORBA
Database
Databinding
Debugger
Demos
Documentation
Enterprise
FireMonkey
IDE
Install
International
Internet
Linker
MFC Support
Midas
Modeling
MTS
Resourcing
RTL
SOAP
TASM/TD
Tools CL
VCL
VCLX
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/ActiveX
[ Add a report in this area ]
Report #:
104683
Status:
Open
Activex Events/Property Sets raise exceptions in MFC apps with MFC debug executables
Project:
Delphi
Build #:
16.0.4429.46931
Version:
16.4
Submitted By:
Nick Ameladiotis
Report Type:
Crash / Data loss / Total failure
Date Reported:
4/5/2012 11:03:09 PM
Severity:
Critical / Show Stopper
Last Updated:
5/10/2012 12:45:42 AM
Platform:
All versions
Internal Tracking #:
27951
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
(1 Total Rating)
5.00 out of 5
Total Votes:
None
Description
With MFC full debug applications activex controls created with xe2 will cause assertion failures to mfc with controls events.
The problems are been caused of ComObj.DispatchInvoke @ line
else if (InvKind = DISPATCH_METHOD) and (CallDesc^.ArgCount = 0) and (Result <> nil) then
InvKind := DISPATCH_METHOD or DISPATCH_PROPERTYGET;
Setting invKind |= DISPATCH_PROPERTYGET while MFC actually make the call using DISPATCH_METHOD will cause the failure, if DISPATCH_PROPERTYGET is not been set mfc works as expected.
Steps to Reproduce:
Compile attached project and run assertion failure when MFC app is trying to make a put_Text("XXXXX") call, same when event needs to be invoked
Workarounds
None
Attachment
test-ocx-xe2.zip
Comments
Tomohiro Takahashi at 4/6/2012 12:06:49 AM
-
> Compile attached project ...
Please attach it(as a .zip) by using Windows Native QC Client.
The standalone client comes with Delphi.
Nick Ameladiotis at 9/21/2012 11:37:22 PM
-
Any info on this ? i see that the bug is still reproducible with xe3.
Tomohiro Takahashi at 9/22/2012 8:34:54 PM
-
Unfortunately, this issue is still Open.
So, as you know, QualityCentral is just for reporting area. If you need more intensive support, please contact technical support service. Sorry for the inconvenience.
http://support.embarcadero.com/
Nick Ameladiotis at 4/6/2012 7:33:11 AM
-
Attached
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us