U++ framework
Do not panic. Ask here before giving up.

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 Go to previous message
TeCNoYoTTa is currently offline  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
 
Read Message
Read Message
Previous Topic: U++ SQL Begginer
Next Topic: Can not get a double from database
Goto Forum:
  


Current Time: Mon Apr 27 03:43:18 GMT+2 2026

Total time taken to generate the page: 0.00398 seconds