EricDraven
Programmer
Hello again
My application is all but done now, however I have discovered that it barely runs under Win95/98/ME (Win32 API error). From all the research I have done this morning I have discovered that the problem is down to Win95,98 & ME only allocating a certain amount of memory for handles per application. I have solved the problem in my application but wondered if anyone else had stumbled across this problem?
Apparently comboboxes use 3 handles each and panels, groupboxes and various other visual components use handles when you would think perhaps they should not!
Part of my solution was to create as many forms as possible only when they are needed and then free them straight after, i.e.
Reading the delphi help though, it is recommended that you use the release command. What is the difference between the two? I am using the free command so are all handles on the form released anyway?
Its a little confusing when experts are telling you two different things and saying that their solution is correct. At least on Tek-Tips I know which experts are most likely to be giving a trustworthy answer!
Arte Et Labore
My application is all but done now, however I have discovered that it barely runs under Win95/98/ME (Win32 API error). From all the research I have done this morning I have discovered that the problem is down to Win95,98 & ME only allocating a certain amount of memory for handles per application. I have solved the problem in my application but wondered if anyone else had stumbled across this problem?
Apparently comboboxes use 3 handles each and panels, groupboxes and various other visual components use handles when you would think perhaps they should not!
Part of my solution was to create as many forms as possible only when they are needed and then free them straight after, i.e.
Code:
Form1 := TForm1.Create(nil);
Form1.ShowModal;
Form1.Free;
Its a little confusing when experts are telling you two different things and saying that their solution is correct. At least on Tek-Tips I know which experts are most likely to be giving a trustworthy answer!
Arte Et Labore