Recently encountered a problem in the project development, draw a Scrollbox with BCB6, and then use the program to build 10 scrollBox as the parent class panel, Panel in the child thread access. But whenever you access panel-> When the handle parameter is handled, the thread either gets stuck or reports an error “A call to an OS function failed”. I searched for a long time, but I couldn’t find the reason. Because the project code is relatively complex, then I want to build an empty project directly, click to add components, access can be normal. The appearance of the problem is vague. Later in the process of debugging found that when the panel was created, the first call panel-> Handle, then the subsequent access in the child thread will not make an error. Although the problem seems to be solved, we still don’t know why it happened. I will take this as a note for future reference.
PS: In access parameter panel-> In debugging Handle, an error will sometimes occur: “Class already exists. Code: 1410.”
Reproduced in: https://www.cnblogs.com/kamiya/p/11162723.html
Read More:
- [Qt] error: call to non-static member function without an object argument
- error Expected an assignment or function call and instead saw an expression
- An undetermined call to function ‘shell’: missing ‘. Stop. Problem encountered when using shell command in makefile
- bug-JAVA call SAP function Connect to SAP gateway failed
- Interrupted function call accept failed when idea starts Tomcat
- Python program uses OS. System () method to call exe program, resulting in no response of main program process
- Dm7 Dameng database dmrman reports an error OS_ pipe2_ conn_ Server open failed solution
- call to member function bind_param() on boolean………..
- [problem record] objc_ Too many arguments to function call
- Call to a member function fetch_assoc() on a non-object
- Registering in Windows10 regsvr32 xxx.ocx reported an error but the call to DIIRegisterServer failed with error code 0x80040200…
- Call to undefined function oci_ Connect() problem solving
- PHP Fatal error: Call to a member function query() on a non-object in
- sys.path.append(), os.path.exists(), os.path.join() and os.makedirs() meaning
- Call to undefined function mysql_ Connect() solution summary
- 【ERROR_2】Call to a member function bind_param() on a non-object
- Uncaught Error: Call to undefined function mysql_select_db()
- Fatal error: Call to a member function bind_param() on a non-object in
- PHP connection PostgreSQL error call to undefined function PG_ connect()
- PHP error: call to undefined function curl_ init() window