Re: DLL Woes



"Trent Argante" <TrentArgante@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0D085BF1-CA9E-4B42-945F-966798A1EE8F@xxxxxxxxxxxxxxxx
I have a DLL that when "made", doesn't display msgboxes. But, prior to
being
"made" (i.e., while being developed in the IDE), it does.
How do I get them to display after I "Make" it into an .exe?
Thanks,
Trent Argante
[DC.J(474)]

Do you happen to have a check in the Unattended Execution checkbox?
(Project/<your project> Properties/General Tab)

From Help....
<quote>
Unattended Execution
Indicates that the project is intended to run without user interaction.
Unattended projects have no interface elements. Any run-time functions such
as messages that normally result in user interaction are written to an event
log.
</quote>

....and, I assume, by 'after I "Make" it into an .exe', you mean 'after I
compile it' (since DLL projects don't compile to EXEs, they compile to DLLs)

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm


.



Relevant Pages

  • Re: Appl. Security Problems
    ... When I Release compile the exe and dll' are in one directory on the network. ... the key you use to sign your production assemblies ...
    (microsoft.public.dotnet.security)
  • Re: Creating classes via DLL.
    ... The code for the call back is in your main exe, ... without any knowledge of the code of the dll. ... must contain a definition of what comprises TMyClass or it won't compile. ... Now you need to compile another free-standing module which is the dll. ...
    (comp.lang.pascal.delphi.misc)
  • Re: recognize .Net controls properly and get infos/styles/properties
    ... and convert and compile the source in VS 2005 ... Since the error is not stopping the generation of the .exe and .dll I ... have both .net 1.0 and 2.0 window listed in the treeview. ...
    (microsoft.public.vc.language)
  • wfSpy and VS2005
    ... and convert and compile the source in VS 2005 ... Since the error is not stopping the generation of the .exe and .dll I ... like the author I get an exception for 1.0 controls and 2.0 control ...
    (microsoft.public.dotnet.languages.csharp)
  • PreTranslateMessage in the DLL is not called
    ... In that class there is a PreTranslateMessage method. ... when I compile this class in the Exe. ... compile this class as a DLL and load it dynamically by LoadLibrary and use ...
    (microsoft.public.vc.mfc)