Changeset 152
- Timestamp:
- 03/06/08 00:57:29 (9 months ago)
- Files:
-
- trunk/lib/dwin.lib (modified) (previous)
- trunk/sys/win32/Registry.d (modified) (1 diff)
- trunk/sys/win32/ie/IE.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/sys/win32/Registry.d
r150 r152 74 74 HKEY_DYN_DATA = cast(HKEY) 0x80000006; 75 75 76 const int 77 REG_UNKOWN = 0, 78 REG_STRING = 1, 79 REG_EXPANDSTRING = 2, 80 REG_BINARY = 3, 81 REG_DWORD = 4, 82 REG_MULTISTRING = 7, 83 REG_QWORD = 11; 84 76 85 /** 77 86 * Identifies the data type of a value in the registry. trunk/sys/win32/ie/IE.d
r146 r152 355 355 //checkNavigate 356 356 357 IDispatch waitDocument(IWebBrowser2 iwb2, bool discard = true, uint delay = 50)357 IDispatch waitDocument(IWebBrowser2 iwb2, bool discard = true, uint timeout = 5000) 358 358 { 359 359 if(!iwb2) … … 366 366 tryRelease(pDoc); 367 367 } 368 uint delay = 50; 368 369 369 370 // be sure navigate first 370 while(!pDoc)371 for(uint i; i < timeout/delay; i++) 371 372 { 372 373 doEvents(delay); 373 374 if ( iwb2.get_Document(pDoc) == S_OK ) 374 break; 375 break; 375 376 } 376 377 return pDoc;
