Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Thu May 09 18:55:39 CEST 2024

Total time taken to generate the page: 0.01743 seconds