Click here to Skip to main content
15,891,700 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: cin issues Pin
David Crow24-Jul-06 9:41
David Crow24-Jul-06 9:41 
QuestionDisplaying Multiple form in vc++ Pin
ningthemcha24-Jul-06 6:01
ningthemcha24-Jul-06 6:01 
AnswerRe: Displaying Multiple form in vc++ Pin
David Crow24-Jul-06 6:05
David Crow24-Jul-06 6:05 
QuestionVC++ 6.0 IDE mse.exe Pin
bob1697224-Jul-06 5:58
bob1697224-Jul-06 5:58 
AnswerRe: VC++ 6.0 IDE mse.exe Pin
bob1697224-Jul-06 6:03
bob1697224-Jul-06 6:03 
QuestionWindows NT 4.0 DDK download Pin
szilardcs24-Jul-06 5:07
szilardcs24-Jul-06 5:07 
AnswerRe: Windows NT 4.0 DDK download Pin
toxcct24-Jul-06 5:46
toxcct24-Jul-06 5:46 
QuestionError in loading DLL in Windows XP and WIndows 2003 Server Pin
BlrBoy24-Jul-06 4:44
BlrBoy24-Jul-06 4:44 
Hello All

I am trying to load a DLL dynamically using LoadLibrary (). It works fine with Windows
2000 Professional. But when i am trying to load it in XP or 2003 Server I get error "The specified module could not be found" Error.

DLL is present in the path where EXE is present. (C:\Program Files\Test Application\MyDll.dll").

When loading the DLL i am specifing full path as parameter.

I placed the DLL path to C:\ and in System32 directory and changed the path still I get the error.

DLL is basic C DLL. Unfortunately I did not get lib file along with DLL so i have load that DLL
dynamically only.

For MSDN i found that
Windows Server 2003, Windows XP SP1: The default value of HKLM\System\CurrentControlSet\Control\Session Manager\SafeDllSearchMode is 1 (current directory is searched after the system and Windows directories).

But after searching Windows Directory it has to come to current directory to find DLL. But it fails D'Oh! | :doh:

Please tell me any idea why this strange behaviour with Windows XP and 2003 Server!!!!.

Thanks for your Time
Ravi
AnswerRe: Error in loading DLL in Windows XP and WIndows 2003 Server Pin
Mike Dimmick24-Jul-06 6:14
Mike Dimmick24-Jul-06 6:14 
QuestionImporting Makefile project to Visual Studio Pin
pgav24-Jul-06 4:21
pgav24-Jul-06 4:21 
QuestionRe: Importing Makefile project to Visual Studio Pin
David Crow24-Jul-06 4:57
David Crow24-Jul-06 4:57 
QuestionRe: Importing Makefile project to Visual Studio [modified] Pin
pgav24-Jul-06 5:19
pgav24-Jul-06 5:19 
AnswerRe: Importing Makefile project to Visual Studio Pin
David Crow24-Jul-06 5:48
David Crow24-Jul-06 5:48 
AnswerRe: Importing Makefile project to Visual Studio Pin
Mike Dimmick24-Jul-06 6:16
Mike Dimmick24-Jul-06 6:16 
QuestionMultiple dialog boxes Pin
alitokmen24-Jul-06 4:10
alitokmen24-Jul-06 4:10 
AnswerRe: Multiple dialog boxes Pin
Michael Dunn24-Jul-06 18:56
sitebuilderMichael Dunn24-Jul-06 18:56 
QuestionHow to use standard bitmaps in a toolbar Pin
Franken24-Jul-06 2:12
Franken24-Jul-06 2:12 
AnswerRe: How to use standard bitmaps in a toolbar Pin
kitty524-Jul-06 2:50
kitty524-Jul-06 2:50 
GeneralRe: How to use standard bitmaps in a toolbar Pin
Franken24-Jul-06 3:14
Franken24-Jul-06 3:14 
GeneralRe: How to use standard bitmaps in a toolbar [modified] Pin
kitty524-Jul-06 3:22
kitty524-Jul-06 3:22 
AnswerThe "brute force & pig ignorance" solution Pin
normanS24-Jul-06 19:57
normanS24-Jul-06 19:57 
QuestionType Cast Problem Pin
Uday Janaswamy24-Jul-06 2:02
Uday Janaswamy24-Jul-06 2:02 
AnswerRe: Type Cast Problem Pin
Chris Losinger24-Jul-06 2:13
professionalChris Losinger24-Jul-06 2:13 
GeneralRe: Type Cast Problem Pin
Uday Janaswamy24-Jul-06 2:30
Uday Janaswamy24-Jul-06 2:30 
AnswerRe: Type Cast Problem Pin
Stephen Hewitt24-Jul-06 13:53
Stephen Hewitt24-Jul-06 13:53 

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.