I'm developing an Out-of Process COM Server, and I'm trying to get my asynchronous calls to work. Right now, I'm just testing various examples to get the feel for it..For Example:

ActiveX EXE (Code)



Code:
Public Event MsgMessage()

Public Sub AsncExample()
    For X = 1 to 30000
        DoEvents()
    Next X
    RaiseEvent MsgMessage
End Sub

COM Client (Standard EXE)

Code:
Dim WithEvents oAsnc As CExample

Private cmdClick_click()
    Set oAsnc = New CExample
    Call oAsnc.AsncExample
End Sub

Private oAsnc_MsgMessage()   '// This may or not be the right definition.  I just free-handed this    
    MsgBox "Event Fired!"
End Sub

Now, on my standard exe, I have a text box, and when I call the COM's method, I am unable to type in the textbox. What am I missing?? Thanks All'