ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/VTBFileUtil2.cxx
(Generate patch)

Comparing trunk/VTBFileUtil2/VTBFileUtil2.cxx (file contents):
Revision 262 by douglas, 2003-08-16T16:09:14-07:00 vs.
Revision 265 by douglas, 2003-08-16T20:55:39-07:00

# Line 2 | Line 2
2   //
3   // Douglas Thrift
4   //
5 < // $Id: VTBFileUtil2.cxx,v 1.6 2003/08/16 23:09:14 douglas Exp $
5 > // $Id: VTBFileUtil2.cxx,v 1.8 2003/08/17 03:55:39 douglas Exp $
6  
7   #include "VTBFileUtil2.h"
8   #include "Chooser.h"
# Line 190 | Line 190 | int WINAPI WinMain(HINSTANCE hInstance,
190  
191          if (mode == disc)
192          {
193 <                MessageBox(NULL, "Disc Browse mode", programName.c_str(),
194 <                        MB_ICONINFORMATION);
193 >                DiscBrowse browser;
194 >
195 >                browser.run();
196          }
197          else if (mode == scan)
198          {
199 <                MessageBox(NULL, "Scan Utility mode", programName.c_str(),
200 <                        MB_ICONINFORMATION);
199 >                ScanUtility utility;
200 >
201 >                utility.run();
202          }
203  
204          if (debug)
# Line 221 | Line 223 | void tooltip(HWND tool, const string& ti
223          GetClientRect(tool, &rect);
224  
225          TOOLINFO toolinfo;
226 <        char* ctip = new char[tip.length()];
226 >        LPTSTR ctip = new CHAR[tip.length()];
227  
228          sprintf(ctip, "%s", tip.c_str());
229  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines