Custom Query
Results (295 - 297 of 3893)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1012 | No Bug | checkboxes | SmallGoD | |
| Description |
checkboxes on the tab are drawn in black. |
|||
| #1032 | No Bug | _winapi_getlasterror and _winapi_getlasterrormessage do not work as expected | SeraphTC | |
| Description |
I am testing this as follows:
I have a drive (X:) mapped to
I wish to cause an error by mapping another drive (Z:) to code: ;------------------------------------------------------------------- #include <winapi.au3>
$result = drivemapadd("Z:"," This produces the following message: 0 : 1219 : Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again. This is as expected. However, if we change the code so it includes a variable, like so: ;------------------------------------------------------------------- #include <winapi.au3> $mapthis = inputbox("Map A Drive","Enter the Path you wish to Map") $result = drivemapadd("Z:",$mapthis,0,"domain\admin","adminpword") msgbox(0,"Map Result",$result & " : " & _winapi_getlasterror() & " : " & _winapi_getlasterrormessage()) exit ;------------------------------------------------------------------- We now get the following (incorrect) message: 0 : 0 : The operation completed successfully It appears that the _winapi_getlasterror and _winapi_getlasterrormessage functions get screwed up by the variable call, (which IS successful) and subsequently appear to report that the drivemapadd process succeeded, when it did not. |
|||
| #1041 | No Bug | WinExists Error | Wooltown <sven.ullstad@…> | |
| Description |
The script below returns any window that exists, I have a problem: we are running LabView, and sometimes it launches an error window without title and the contents of the windows is graphical so there isn't any text to retrieve. It should report true only if a window without a title exist. Opt("WinTitleMatchMode", 3) Opt("WinSearchChildren", 1) If WinExists("") Then
EndIf |
|||
