Click here to Skip to main content
15,917,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C1010 help... Pin
Mike Dimmick11-Jul-03 12:28
Mike Dimmick11-Jul-03 12:28 
GeneralRe: error C1010 help... Pin
Michael Dunn11-Jul-03 12:09
sitebuilderMichael Dunn11-Jul-03 12:09 
GeneralRe: error C1010 help... Pin
JoeSox11-Jul-03 12:17
JoeSox11-Jul-03 12:17 
GeneralRe: error C1010 help... Pin
John R. Shaw11-Jul-03 12:11
John R. Shaw11-Jul-03 12:11 
GeneralRe: error C1010 help... Pin
JoeSox11-Jul-03 12:19
JoeSox11-Jul-03 12:19 
GeneralOrdianl error in MFC dll Pin
11-Jul-03 11:26
suss11-Jul-03 11:26 
GeneralRe: Ordianl error in MFC dll Pin
Toni7811-Jul-03 12:07
Toni7811-Jul-03 12:07 
GeneralRe: Ordianl error in MFC dll Pin
Mike Dimmick11-Jul-03 12:51
Mike Dimmick11-Jul-03 12:51 
It's there, it's just at ordinal 6374 in the release build (look at MFC42.DEF in C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\Intel [typically]).

Since the linking is done by ordinal, if you somehow had the wrong version under the wrong name, you'd get erroneous behaviour by the app, not an error like this.

MFC42.DLL is supposed to be compatible from version 4.2 of MFC right up to version 6.0 (i.e. new functions were added at the end, semantics are meant to be identical, and structure and class sizes remain the same).

I think you may have a corrupted copy of MFC42D.DLL, or possibly one from an older version of MFC (although the ordinal numbers should be the same). Try reinstalling it from the Visual Studio CDs, or reinstalling the service pack - you did apply Service Pack 5[^], didn't you?

My version of MFC42D.DLL (from SP5) is version 6.00.8665.0, dated 2000-07-15, size 929,844 bytes.

Sidenote: MFC uses ordinals rather than names because nearly 7000 decorated names, averaging about 40 characters long, would take up 280Kb (guesstimated) in the final DLL. Quite a hit for a DLL that's already nearly 1Mb in size. It would take the loader a bit longer to fix up the import table, too.

--
Mike Dimmick
GeneralRe: Ordianl error in MFC dll Pin
Toni7811-Jul-03 13:27
Toni7811-Jul-03 13:27 
GeneralRe: Ordianl error in MFC dll Pin
Apollo102411-Jul-03 14:19
Apollo102411-Jul-03 14:19 
GeneralRe: Ordianl error in MFC dll Pin
KaЯl11-Jul-03 12:17
KaЯl11-Jul-03 12:17 
GeneralRe: Ordianl error in MFC dll Pin
Toni7811-Jul-03 12:41
Toni7811-Jul-03 12:41 
GeneralRe: Ordianl error in MFC dll Pin
John M. Drescher11-Jul-03 17:45
John M. Drescher11-Jul-03 17:45 
GeneralRe: Ordianl error in MFC dll Pin
hongge11-Jul-03 20:36
hongge11-Jul-03 20:36 
GeneralDynamically change SAPI grammar file Pin
clmckinley11-Jul-03 10:30
clmckinley11-Jul-03 10:30 
General:-D VST hosting Pin
Mad Docs Hairy Belly11-Jul-03 10:06
Mad Docs Hairy Belly11-Jul-03 10:06 
QuestionLimiting display of decimal places? Pin
cbruno11-Jul-03 9:44
cbruno11-Jul-03 9:44 
AnswerRe: Limiting display of decimal places? Pin
Mike Dimmick11-Jul-03 9:56
Mike Dimmick11-Jul-03 9:56 
AnswerRe: Limiting display of decimal places? Pin
David Crow11-Jul-03 10:34
David Crow11-Jul-03 10:34 
GeneralCustomizing CColorDialog Pin
mcguile25711-Jul-03 9:21
mcguile25711-Jul-03 9:21 
GeneralStrange Behaviour of GetAdaptersInfo() Pin
Hashim Saleem11-Jul-03 9:01
Hashim Saleem11-Jul-03 9:01 
GeneralProblem accessing remote datasource Pin
Terry O'Nolley11-Jul-03 7:51
Terry O'Nolley11-Jul-03 7:51 
Questionwhat function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:39
johnstonsk11-Jul-03 7:39 
AnswerRe: what function will convert a char to its number value Pin
John M. Drescher11-Jul-03 7:43
John M. Drescher11-Jul-03 7:43 
GeneralRe: what function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:56
johnstonsk11-Jul-03 7:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.