• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

MsgBox never gets called within my ActiveX DLL

I have a very strange problem with my Visual Basic 6.0...
I have commented all the code so I am basically left with somthing like this
in my DLL class ...

Public Function TestFunction ( ...some parameters here ...) As Boolean
    MsgBox "This never gets called!!"
End Function

The strange part is the MsgBox never gets called...I pass in a string (call by reference) and I
am able to assign to it no problem so I know the function itself is being invoked...Is this due
to a bug? or am i missing somthing very obvious here?? I am quite certian i was able to use MsgBox with DLL calls before so perhaps I have some incorrect settings..please help

Thanks
CN
0
const71
Asked:
const71
1 Solution
 
TigerZhaoCommented:
Project\Project1 Properties...
General Tab
uncheck "Unattended Execution"
0
 
const71Author Commented:
Great,

That fixed it :)


Thanks alot
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now