![]() |
|
#1
|
|||
|
|||
AfxLoadLibrary() failsHello,
I have an application that I developed in EVC++ 4.0. This application runs on PocketPC 2003 platform and uses DLLs that I also have created. I am currently trying to build and run the app in debug mode so that I can use a diagnostic program to catch problems but if I build it in debug mode (all of my modules), the AfxLoadLibrary() function fails and GetLastError() returns 193 meaning ERROR_BAD_EXE_FORMAT. Does anyone know why this is happening or if there is some kind of solution? |
|
#2
|
|||
|
|||
Re: AfxLoadLibrary() failshave used before the LoadLibrary() function from Win32 API where you can return error value if some bad things happen.
I suggest you create a small file that contain only the AfxLoadLibrary() function only. I hope this help. __________________
Linux is the best OS in the world. |
|
#3
|
|||
|
|||
Re: AfxLoadLibrary() failsThanks for the suggestion. It actually had to do with one of the system debug version DLLs not being installed. It is resolved now.
|
Recent GIDBlog
Toyota - 2008 July Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Progress Indicator called from other class fails | robalo | MS Visual C++ / MFC Forum | 1 | 08-Nov-2007 23:47 |
| reasons why malloc fails? | prasath | C Programming Language | 2 | 05-Apr-2006 09:14 |
| Child Thread fails to update Shared Memory Correctly | j_kenpo | CPP / C++ Forum | 1 | 12-Jul-2005 17:06 |
| CListCtrl problems - FindItem fails after Sort Items | dotygr | MS Visual C++ / MFC Forum | 0 | 03-Mar-2005 14:23 |
| Apache Make Fails | beardo | Apache Web Server Forum | 6 | 09-Mar-2004 10:44 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The