2

When running my freshly built application, I get the following error message:

Ordinal 12345 could not be located in dynamic link library mfc90u.dll

Apparently, my application calls a function that is not present in the given .DLL. Is there a way to determine which part of my source code that calls this function?

Update: I think I'm beginning to understand what's going on.

Community
  • 1
  • 1
Dimitri C.
  • 21,861
  • 21
  • 85
  • 101
  • @JRL: I think the exact number is irrelevant. I'm only interested in the process of tracking the client code calling the unavailable function. – Dimitri C. Jan 25 '10 at 16:04
  • perhaps, but for consistency's sake... select one or the other to make your title be like your question text. – JRL Jan 26 '10 at 20:26

2 Answers2

1

Dependency Walker can be an invaluable tool for problems like this.

Ruddy
  • 1,734
  • 10
  • 11
1

You should be able to use dumpbin /exports mfc90u.lib to find the function that is associated with ordinal 12404. This error typically occurs when the .lib does not match the .dll.

Mark Wilkins
  • 40,729
  • 5
  • 57
  • 110