Advertisement

VC++ .lib call stack problem

Started by April 13, 2001 11:37 AM
-1 comments, last by NightShade 23 years, 10 months ago
Hi. I currently have a 3d library in ".lib" format that I''m linking into my main program. The problem is, if I crash inside the library, I don''t get a call stack. Looking at the assembly code of the library calls, it doesn''t set up a standard stack frame. Instead of indexing off of BP, it uses SP and then can use BP for a variable storage. I''m using Visual Studio 6 (w/ sp4). There are no obvious settings messed up (for example, optimizations are disabled) and I really dont think I''m making any dumb mistakes here (for example, linking with the release library by mistake). Because of the fact that I''m not really doing anything funky with optimizations or other compiler/linker flags, I kind of assume this has to be somewhat of a common problem for people, and I was wondering if anyone else has seen it, and if you fixed it, how???? If this description is too vague I can elaborate, but like I said I am hoping this is some kind of halfway common problem. I''m just at the end of my rope in what to try next. Thanks!!!!
-ns-
-ns-

This topic is closed to new replies.

Advertisement