Re: recognize .Net controls properly and get infos/styles/properties



I download wfspy src from http://www.codeproject.com/dotnet/wfspy.asp
and convert and compile the source in VS 2005

I can generate the .exe and .dll but the compiler return the error :
"Error spawning 'cmd.exe'

Since the error is not stopping the generation of the .exe and .dll I
have modified the code to show .Net 2.0 window also. Cool!! now I can
have both .net 1.0 and 2.0 window listed in the treeview.

Questions
=========
1- What is that Error spawning CMD.EXE ??? How to fix this ???
2- Now I can list 1.0 and 2.0 window in the same treeview (the list of
window) but i can only get the properties for 2.0 window/controls ????
Why??? Just because I load the source in VS2005 instead of VS2003
like the author I get an exception for 1.0 controls and 2.0 control
are now working??? This make no sense? The demo .exe/.dll posted in
codeproject do the opposite...it correctly list properties of 1.0
controls??? Is it suppose to be like this????

If I can fix the cmd.exe error maybe I will be able to debug to
understand why it fail.

BTW sorry for this thread.. it start unmanaged C++ and it continue
with managed C# ;o)

Thanks again..

.



Relevant Pages

  • Re: DLL and communication from another process exe
    ... It is risky to do cross-thread SendMessage, but if all you want is a bool, then if you are ... If I were doing this in a DLL, I might consider creating a UI thread in the DLL that ... creates an invisible window that handles the communication. ... EXE gets SendMessage from DLL ...
    (microsoft.public.vc.mfc)
  • 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: DLL Woes
    ... How do I get them to display after I "Make" it into an .exe? ... Do you happen to have a check in the Unattended Execution checkbox? ... compile it' ... DLL Hell problems? ...
    (microsoft.public.vb.general.discussion)
  • 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: Dyn loaded files and owner status window
    ... Grab the handle of the window from its name (or pass it to the dll from the ... He suggests another dll with events - eminently logical. ... >> I have a main exe program that have a status window. ... >> This exe program loads several dll files with Assembly.LoadFile. ...
    (microsoft.public.dotnet.languages.csharp)

Loading