15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


MFC and PDATE32 Access Violation

Nayab Khan -- nkh069@iadfw.net
Monday, November 11, 1996

Environment: VC++ 4.2b, Win95

I'm using the Pdate32 control that comes with VC++ 4.2 in a modal dialog
box. If this modal dialog is closed and the parent window loses focus I get
an Access violation. Here is the stack dump:

586c2524()
MFC40! 5f801051()
PDATE32! 03aeea18()
KERNEL32! bff93d4b()
KERNEL32! bff73663()
KERNEL32! bff928e0()
00698acc()
058f64c9()


Please help!





Mike Blaszczak -- mikeblas@nwlink.com
Tuesday, November 12, 1996

At 05:15 11/11/96 -0600, Nayab Khan wrote:
>Environment: VC++ 4.2b, Win95

>I'm using the Pdate32 control that comes with VC++ 4.2 in a modal dialog
>box. If this modal dialog is closed and the parent window loses focus I get
>an Access violation. Here is the stack dump:

>586c2524()
>MFC40! 5f801051()
>PDATE32! 03aeea18()
>KERNEL32! bff93d4b()
>KERNEL32! bff73663()
>KERNEL32! bff928e0()
>00698acc()
>058f64c9()

This is almost meaningless.  You need to show symbols when you give
a stack dump to other people.

The dump does show, though, that you're linking to MFC40.DLL.  You can't mix
MFC40.DLL and MFC42.DLL in the same process without being very careful.  Maybe
your control uses MFC40.DLL and needs to be updated.  Maybe there's something
wrong with the control.  Maybe you've done some other thing wrong that causes
this problem.


.B ekiM
http://www.nwlink.com/~mikeblas/
I'm afraid I've become some sort of speed freak.
These words are my own. I do not speak on behalf of Microsoft.





| Вернуться в корень Архива |