Show: Delphi
C++
Display Preferences
Bad parameter
From RAD Studio
Go Up to CodeGuard Errors Index
Bad Parameter usually occurs when an invalid file or other resource handle is passed to one of the standard C++Builder or Win32 API functions. In the present code sample we have an invalid file handle:
#include <tchar.h> #pragma hdrstop void myf() { FILE* Stream; fclose(Stream); // error } int _tmain(int argc, _TCHAR* argv[]) { myf(); return 0; }