Re: test container works, explorer embedding sortof works



blahblah444 <blahblah444@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I don't think it can be a security setting since InitInstance() is
called (from which I could already do things like move files or
MessageBox() and so on). So if InitInstance is called and I can do a
MessageBox() call does that not indicate 100% sure that its not
security settings or am I missing something?

You are missing something. There are security checks that are performed
after the DLL is loaded.

The problem is once I close the MessageBox() and InitInstance is
done, the "<OBJECT>failed to load</OBJECT>" executes.

Your DLL got loaded, but the instance of the object was not created. Or
perhaps the instance was created (see if your constructor was called),
queried for IObjectSafety which was not there, and immediately
destroyed.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: Dll problems after suspend
    ... EXE becomes invalid, so after wake when it tries to page it pukes. ... But when I switch the device on and off while the MessageBox ... takes place during resume that could influence Dll positions/registers? ...
    (microsoft.public.windowsce.app.development)
  • Re: Problem Importing DLL function
    ... you would not have anything retained "in memory". ... Is the DLL being built into ... the same directory as your .exe file? ... When calling OnFtpShow, I get a MessageBox ...
    (microsoft.public.vc.mfc)
  • Re: Need Binary code edit tool
    ... > It should be easy to do if the dll uses the MessageBox API. ... > disassembler output to make sure that you really have found the correct ...
    (borland.public.delphi.thirdpartytools.general)
  • Creating COM objects?
    ... My knowledge of creating DLL's and COM objects in Delphi is next to zero, ... When I build the DLL and use from another language (in my case Visual Foxpro ... messagebox and get a value returned. ... I edit the method code and add:- ...
    (alt.comp.lang.borland-delphi)
  • Re: Dll problems after suspend
    ... So are you saying I should copy the exe and all statically loaded Dlls ... I guess the best time to do this is in the setup dll. ... and then MessageBox() again. ... address and then jumps to it. ...
    (microsoft.public.windowsce.app.development)

Loading