Custom Query
Results (127 - 129 of 3866)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#3814 | Fixed | _WinAPI_CreateFileMapping: $PAGE_xxx constants not defined | Jpm | matwachich@… |
#3813 | Completed | _MemGlobalRealloc | Jpm | matwachich@… |
Description |
Everything is in the title: It seems that this functions is laking from the Memory standard UDF. Here is an implementation: Func _MemGlobalRealloc($hMemory, $iBytes, $iFlags = 0) Local $aResult = DllCall("kernel32.dll", "handle", "GlobalReAlloc", "handle", $hMemory, "uint_ptr", $iBytes, "uint", $iFlags) If @error Then Return SetError(@error, @extended, 0) Return $aResult[0] EndFunc |
|||
#3812 | Fixed | _DateTimeSplit never returns @error, and thus, any bad formated datetime will pass | Jpm | matwachich@… |
Description |
_DateTimeSplit doc states Success: Date and Time into two separate Arrays. Failure: 0 and sets the @error flag to non-zero. @error: 1 - Invalid Input Date But you see the code of the function, the only return value is at the end and returns 1, without any error. It seems that the function does not any check to the input string, so the documentation should not state that it does so. I don't know if we should modify the documentation, or the function itself (makine it a bit more complexe to be able to check input). |
Note: See TracQuery
for help on using queries.