|
-
Jan 24th, 2020, 10:23 AM
#10
Thread Starter
Hyperactive Member
Re: using VbTrickThreading-master examples without the typelibs for Callback and Mar
Dear Olaf,
I added a button to the ExternalControl activex control and added button1 control as follows:
Private Sub Command1_Click()
Dim hUser32 As Long
hUser32 = GetModuleHandle(StrPtr("user32"))
MsgBox "in button1"
End Sub
When I call from AxThreading exe and click on button1 of activex control the declared api GetModuleHandle works
like a charm without crash even if we don't use RemoveLastDllError module function.Very nice example.Thank you olaf,
regards,
JSVenu
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|