ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/NSISPlugins/ShellExecute/ShellExecute.cpp
(Generate patch)

Comparing NSISPlugins/ShellExecute/ShellExecute.cpp (file contents):
Revision 1172 by douglas, 2009-05-16T18:26:52-07:00 vs.
Revision 1174 by douglas, 2009-05-16T19:49:03-07:00

# Line 44 | Line 44 | extern "C" void __declspec(dllexport) Ex
44          info.dwHotKey = 0;
45          info.hMonitor = NULL;
46  
47 <        int code;
47 >        int code(::ShellExecuteEx(&info));
48  
49 <        if (code = ::ShellExecuteEx(&info))
49 >        if (code)
50                  ::pushint(reinterpret_cast<int>(info.hProcess));
51          else
52          {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines