Click to See Complete Forum and Search --> : Application running in 2000 but not in win98
cartoon
May 18th, 2004, 06:56 AM
.... its sad to see there is no reply by anyone so far.
awaiting still.....
is there any angel debugger???????
-------------------------------- problem as follows...
Hello.
We have developed an application where a user can create a greeting card using our background templates. The greeting requires user to select his/her image and also need to type the greeting message. The greeting is saved as BMP file of big file size around 100mb since the user have options to select largest paper size of 10"x15" with 300 DPI resolution.
The whole application is running well in windows 2000 plateforms but when I run the application in win98, Run Time Error, out of memory is shown and that too not during processing the card, this message is coming even when I click on Browse button for the user to select his image from his system. At some place or other this error pops up and application closes.
I am bugged fully with this error, Do you think I have to add some other components during installation of my application in win98?
Please update me at the earliest.
Thanks in advance.
Cartoon.
DiGiTaIErRoR
May 18th, 2004, 12:47 PM
Windows 98 has a GDI capacity of around 16 MB.
Once that is exceeded, out of memory.
Windows 2000 has a much larger GDI cache, built to adapt.
cartoon
May 19th, 2004, 12:59 AM
...but then howcome other softwares like Photoshop or CorelDraw or Illustrator etc. works fine on win98 if it has so low capacity RAM...??
I thought if there is any more updated files need to be replaced.
If the above programs can run then why not our application. Is there any method in VB to handle memory problems?
plenderj
May 19th, 2004, 05:46 AM
Originally posted by cartoon
...but then howcome other softwares like Photoshop or CorelDraw or Illustrator etc. works fine on win98 if it has so low capacity RAM...??
Scratch Disk ;)
DiGiTaIErRoR
May 19th, 2004, 05:50 AM
Originally posted by cartoon
...but then howcome other softwares like Photoshop or CorelDraw or Illustrator etc. works fine on win98 if it has so low capacity RAM...??
I thought if there is any more updated files need to be replaced.
If the above programs can run then why not our application. Is there any method in VB to handle memory problems?
Because those programs observe GDI limits, and as plender said, scratch (or page to disk, if general RAM is not available) information the GDI heap cannot handle.
cartoon
May 19th, 2004, 06:32 AM
...thanks DiGiTaIErRoR n' plenderj
Good to know about GDI RAM that windows98 has less GDI RAM, but can you suggest me any solution in VB6.0 to use scratch disk or page to disk method.
I have a person in my team who works in VC++, is it possible to get memory component done to rectify this problem in our application. He says yes, but I don't know how much helpful it will be. and that will also take lot of time in development (2 weeks) I cannot wait for that much time.
Bigger problem....
One more thing, this RUN TIME ERROR 07 (Out of Memory) is appearing in some other machines with windows2000/xp also, systems are of 256MB RAM P3s, So now it is more as a serious problem in all plateforms. I have to find the solution of this, please help me out to solve handle memory error. You can suggest scratch disk method or any other method.
...awaiting replies... thanks in advance.
NotLKH
May 21st, 2004, 01:49 PM
BMP???
Ackkkk!
Use PDFLib.
:wave:
-Lou
cartoon
May 22nd, 2004, 03:41 AM
dear NotLKH, can you more elaborate on PDFLib. How can I use it to get rid of out of memory error.
Awaiting your reply....
NotLKH
May 22nd, 2004, 10:38 AM
With PDFLib, you can build dynamic PDF's with custom text, place images, build graphics, use CMYK, RGB and spot colors, and end up with a file that would be propably much less than 100 MB. Now, I haven't used it on anything less than 2000, but I doubt you'd have a memory issue with it.
However, it costs $500, so you'd propably decide not to go that route. Therefore, if you really must generate BMP's, and you have memory issues building 1 Large BMP, why not break it up into n2 parts?
:wave:
-Lou
DiGiTaIErRoR
May 22nd, 2004, 01:39 PM
Error 7 is caused by bad code.
"out of memory" no error code, it GDI overloading.
You may have a memory leak....
cartoon
May 24th, 2004, 01:19 AM
thanks for your helps. It was really helpful to me all the suggestions what has been put forward by you all.
I am getting C++ components done to handle all these memory errors. Hope I will succeed in getting rid of this particular problem of getting Run Time Error 7 (Out of Memory)....
thank you all.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.