Bay Six Software Forum Index Bay Six Software
Beyond the Basics
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

stack overflow error

 
Post new topic   Reply to topic    Bay Six Software Forum Index -> WMLiberty DLL
View previous topic :: View next topic  
Author Message
carlo
Guest





PostPosted: Nov 27th, 2007, 10:02am    Post subject: stack overflow error Reply with quote

Dear Brent :

I have been using WMLiberty since long time in one of my project to trap WM_SIZE , WM_ENTERSIZEMOVE. Everythiing goes fine, after compiling or in debugging mode.

Recently, I decided to add TABs in my project to optimize user interface. So I tried to use WMLiberty to trap WM_NOTIFY to detect when tabs are pressed. It is too complicated in my project using Timer to check which Tab is actually pressed as in Alyce Watson's example.
Problems started. Sometimes software stops without any reason, and if I run it in debug mode (ALT+F5), a "stack overflow error" appears after a while.

Have you already found such type of error? Might it be related to my PC configuration? I tried on XP sp2 and on Win2000 sp4, and similar behavior occurred in both cases.

Thanks for help.

Yours Carlo
Coul
Back to top
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 728

PostPosted: Nov 28th, 2007, 6:51pm    Post subject: Re: stack overflow error Reply with quote

Hi Carlo,

(I replied to this yesterday on the way out the door. Obviously it didn't go through.)

I don't think this is absolutely a bug in WMLiberty. I've mentioned it before that debugging becomes much more difficult when WMLiberty is used. It may be that LB's callback mechanism isn't designed to be used the way WMLiberty makes it work. If you need to know that values of variables while WMLiberty is in effect, my only suggestion is to use PRINTs to the main window.

Concerning tab controls, I've attempted to make a general framework for creating a standard Options or Preferences dialog with tabs. You might be able to pull it out of the last ViviFire's source. Its usage begins in Function wndOptions.Open$. Even if you don't use my framework, using container controls is especially helpful with tabs.

_________________
Brent
Back to top
View user's profile Send private message Send e-mail
carlo
Guest





PostPosted: Nov 29th, 2007, 5:50pm    Post subject: Re: stack overflow error Reply with quote

Dear Brent:
Thanks so much for the reply.
I'll think about your suggestions and I'll keep you informed.

Thanks again.

Yours Carlo
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bay Six Software Forum Index -> WMLiberty DLL All times are GMT
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Lo-Fi Version
Powered by phpBB © 2001, 2005 phpBB Group