Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating OCX control at Runtime Crashes

12 views
Skip to first unread message

deepak_jain

unread,
Jun 3, 2011, 2:54:01 AM6/3/11
to
Hi,
I added class from ocx using "Add Class". ( new class derives from
CWnd).
Now i call Create(...) on that class ( it is successful, and control
is shown on my dialogbox)
Then i call some other function of ocx. It crashes with following
error -


component : rdpencom.dll ( Desktop sharing dll )
Interface : IRDPSRAPIViewer
Class : CRDPSRAPIViewer : public CWnd

Run-Time Check Failure #0 - The value of ESP was not properly saved
across a function call.


Trying since long. Any help would be appreciated.
Thanks,
Deepak

0 new messages