Home » U++ Library support » U++ SQL » SQL statment in constructor make program crash
| SQL statment in constructor make program crash [message #17819] |
Fri, 29 August 2008 22:50  |
TeCNoYoTTa
Messages: 138 Registered: July 2008 Location: Egypt
|
Experienced Member |
|
|
hello all
when i put this code in a window constructer
SQL*Select(UPLOADED_FILE_ID,UPLOADED_FILE_NAME).From(UPLOADED_FILES);
while(SQL.Fetch())
{
list_files.Add(SQL[0],SQL[1]);
}
the program crash and shows the error message with send report to microsoft or don't send
but when i putted this code in a afunction that is callbacked when i click a button the program works well also when i click the button and callback the function the program continue normally
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 26 12:39:25 GMT+2 2026
Total time taken to generate the page: 0.00538 seconds
|