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

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


MFC in VC++ 4.1 -> 4.2 question

Christopher A. Patti -- feoh@dayroom.org
Wednesday, January 08, 1997

Environment: VC++ 4.2-flat Windows NT 4.0

We have a back-end application that was built under VC++ 4.1 but *fails*
under 4.2 with the error: Function GetFieldLength is not defined in
CRecordSet or similar, along with identical errors for IsFieldFlagDirty)_
and a bunch of others.

In Visual C++ 4.1, these functions are all defined in AFXDB.h, but in 4.2,
they're not.

These functions don't appear to be *documented* ANYWHERE, but they're used
in Microsoft's suggested workarounds for a number of bugs.  In fact the
code we have in place is copied nearly verbatim from the fix suggestion in
the KB (The articles where they suggest this fix are easy to find, simply
do a Query on GetFieldLength in the VC++ 4.1 or 4.2 help subsystem)

Does anyone have any iodea where these functions went? I didn't see any
readily available analog in 4.2, so we're sticking with 4.1 until we can
figure this out.

Thanks for any suggestions you may have.

Chris Patti
Fidelity Investments
(Sending from home because MSMail doesn't do filtering. Bleah :)
Christopher.Patti@fmr.com (Work)
feoh@dayroom.org (Home)








Neil Van Note -- nvannote@msn.com
Saturday, January 11, 1997

[Mini-digest: 2 responses]

Hello Christopher,

	This function appears to be defined in afxdao.h
and implemented in afxcore.cpp now.

Cheers,

----------
From: 	owner-mfc-l@majordomo.netcom.com on behalf of Christopher A. Patti
Sent: 	Wednesday, January 08, 1997 11:00 PM
To: 	mfc-l@netcom.com
Subject: 	MFC in VC++ 4.1 -> 4.2 question

Environment: VC++ 4.2-flat Windows NT 4.0

We have a back-end application that was built under VC++ 4.1 but *fails*
under 4.2 with the error: Function GetFieldLength is not defined in
CRecordSet or similar, along with identical errors for IsFieldFlagDirty)_
and a bunch of others.

In Visual C++ 4.1, these functions are all defined in AFXDB.h, but in 4.2,
they're not.

These functions don't appear to be *documented* ANYWHERE, but they're used
in Microsoft's suggested workarounds for a number of bugs.  In fact the
code we have in place is copied nearly verbatim from the fix suggestion in
the KB (The articles where they suggest this fix are easy to find, simply
do a Query on GetFieldLength in the VC++ 4.1 or 4.2 help subsystem)

Does anyone have any iodea where these functions went? I didn't see any
readily available analog in 4.2, so we're sticking with 4.1 until we can
figure this out.

Thanks for any suggestions you may have.

Chris Patti
Fidelity Investments
(Sending from home because MSMail doesn't do filtering. Bleah :)
Christopher.Patti@fmr.com (Work)
feoh@dayroom.org (Home)






-----From: David Little 

Go get the 4.2B patch....4.2-flat has problems that were fixed with B....

----------
From: 	Christopher A. Patti[SMTP:feoh@dayroom.org]
Sent: 	Wednesday, January 08, 1997 10:00 PM
To: 	mfc-l@netcom.com
Subject: 	MFC in VC++ 4.1 -> 4.2 question

Environment: VC++ 4.2-flat Windows NT 4.0

We have a back-end application that was built under VC++ 4.1 but *fails*
under 4.2 with the error: Function GetFieldLength is not defined in
CRecordSet or similar, along with identical errors for IsFieldFlagDirty)_
and a bunch of others.

In Visual C++ 4.1, these functions are all defined in AFXDB.h, but in 4.2,
they're not.

These functions don't appear to be *documented* ANYWHERE, but they're used
in Microsoft's suggested workarounds for a number of bugs.  In fact the
code we have in place is copied nearly verbatim from the fix suggestion in
the KB (The articles where they suggest this fix are easy to find, simply
do a Query on GetFieldLength in the VC++ 4.1 or 4.2 help subsystem)

Does anyone have any iodea where these functions went? I didn't see any
readily available analog in 4.2, so we're sticking with 4.1 until we can
figure this out.

Thanks for any suggestions you may have.

Chris Patti
Fidelity Investments
(Sending from home because MSMail doesn't do filtering. Bleah :)
Christopher.Patti@fmr.com (Work)
feoh@dayroom.org (Home)




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