ActiveX DLL events won't fire when DLL shows Modal Form 
Author Message
 ActiveX DLL events won't fire when DLL shows Modal Form

Hi All,

I have this problem with one of my projects where I've developed an ActiveX
DLL that wraps a SSL sockets control, a login form and handles messages from
the remote host.

Firstly let me say that when I test this DLL in the IDE, everything works
fine - I have a Project Group containing a test EXE and the DLL.

When I compile the DLL and start another EXE project with a reference to the
registered DLL, I start having problems. I've narrowed it down to the Login
Form. When the Form is shown as Modal, my events that I'm raising in the DLL
won't fire, but when the Form is shown Modeless they do. This I can't
understand, because as I said earlier, when I tested the code in the IDE
with a Project Group, everything worked fine - Modal or Modeless.

Can anybody shed some more light on this please :)

Johan Grobler

Sun, 05 Sep 2004 15:18:17 GMT  
 [ 1 post ] 

 Relevant Pages 

1. ActiveX-Dll cannot show non-modal forms

2. Detecting whether a form is MODAL or NON MODAL - Causing event to fire

3. ActiveX control on modal form give 'can't show non-modal form when modal form is displayed'

4. Cannot fire SAPI5 event in ActiveX DLL

5. why a form can not be show when this form in an ActiveX DLL

6. Weird Bug: WebControl on non-startup form, shown as modal doesn't fire form's Load event

7. Modal forms in Active X DLL prevent timer events

8. Timer Event won't fire when app doesn't have focus

9. Timer Event won't fire when app doesn't have focus

10. Calling non-modal ActiveX DLL form

11. ActiveX DLL and non-modal forms

12. ActiveX DLL & Modal Forms


Powered by phpBB® Forum Software