View Single Post
  #45 (permalink)  
Old 04-04-2007, 10:58 PM
andason's Avatar
andason
Halfway to VIP Status
Offline
Threadstarter
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
Any and all help is certainly appreciated, both to get the bugs worked out and just in learning : )

The only change I made to correct the time is on line 85

GetSystemTime(&st$); (original)

GetLocalTime(&st$); (modified)

In regards to the memory load, I was wondering the same about the recent calls and such, but, i believe it started before that. ??

I believe somehow the problem with not being able to maintain the large font of the clock and the memory issue are related - maybe not exact, but related. Ever since I couldn't get the large font, the memory hog started i think.

If you check out the line

font$ = g_loadfont("Arial", 40, RGB(255, 255, 255), NULL);

in the original, you will see my modified is

font$ = g_loadfont("Arial", 14, RGB(255, 255, 255), NULL);


That was the only way I could get it to not give me a font error and actually compile. But I'm totally baffled why the original would work, unless my version of ppl and the one that was used to write this code are the issue.

Also, just to let ya know, the last email I got from arianesoft mentioned something similar after reading this post here at ppcgeeks:

"After reading the thread a bit I can tell you that the memory issue probably has something to do with the g_loadfont, which has been fixed in the latest un-released yet version 1.24."

So, we will see : )

In regards to the launcher app -

I was finally able to get the code to load, but i'm still getting some errors.
(By the way, the time fix should work the same)

Gluck and please share :P
Reply With Quote