Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Drag and drop problem or bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drag and drop problem or bug

 Post Reply Post Reply
Author
Message
andre View Drop Down
Groupie
Groupie


Joined: 09 March 2005
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote andre Quote  Post ReplyReply Direct Link To This Post Topic: Drag and drop problem or bug
    Posted: 09 November 2010 at 12:20pm
Hey,

I've just integrate the last version 13.4, my previous version was 12.0, but now Drag and drop between different report controls has stopped working.

Any idea what this is ?

Regards
Back to Top
andre View Drop Down
Groupie
Groupie


Joined: 09 March 2005
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote andre Quote  Post ReplyReply Direct Link To This Post Posted: 11 November 2010 at 8:13am
Sample ReportCustomHeap.exe seems to have the same problem. 

Drag and drop does not work also.

I think  but I'm not sure, that the problem is somewhere in the _ReadRecordsFromData, that throws an exception.

regards

Back to Top
andre View Drop Down
Groupie
Groupie


Joined: 09 March 2005
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote andre Quote  Post ReplyReply Direct Link To This Post Posted: 15 November 2010 at 9:22am
Sorry, i was wrong, you sample runs well.

But in my app I still have the same problem, however I can drop my items to the report control of your sample, but not the opposite, so serialization of the object seems to be ok( I think ) but when I drop into my other report ctrl( no the same, but other ) of my app it throws BadClass exception.

The problem is in m_ar.ReadClass for the runtime class CXTPReportControl

OnDrop( )

(...)
    _ReadRecordsFromData
   (...)
            m_ar.ReadClass throws exception BadClass.

An again, V12 was working.

Regards
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.