Click here to Skip to main content
15,892,575 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionImage::GetThumbnailImage() issue Pin
David Crow1-Mar-11 9:07
David Crow1-Mar-11 9:07 
AnswerRe: Image::GetThumbnailImage() issue Pin
Hans Dietrich1-Mar-11 11:26
mentorHans Dietrich1-Mar-11 11:26 
AnswerRe: Image::GetThumbnailImage() issue Pin
Niklas L1-Mar-11 11:51
Niklas L1-Mar-11 11:51 
GeneralRe: Image::GetThumbnailImage() issue Pin
David Crow2-Mar-11 2:22
David Crow2-Mar-11 2:22 
GeneralRe: Image::GetThumbnailImage() issue Pin
Niklas L2-Mar-11 5:54
Niklas L2-Mar-11 5:54 
QuestionRe: Image::GetThumbnailImage() issue [modified] Pin
David Crow2-Mar-11 6:18
David Crow2-Mar-11 6:18 
AnswerRe: Image::GetThumbnailImage() issue Pin
Niklas L2-Mar-11 8:45
Niklas L2-Mar-11 8:45 
QuestionRegistering a 64 bit DLL from a 32 bit application Pin
Rajesh R Subramanian1-Mar-11 4:31
professionalRajesh R Subramanian1-Mar-11 4:31 
Hi all,

I've a 32 bit DLL that needs to register 2 other DLLs. One of these DLLs are 64 bit, and another is 32 bit. I know that I can simply load the DLL and call DllRegisterServer for the 32 bit DLL.

However, I am not sure how can I proceed with registering the 64 bit DLL. There are several ways like:

1. RegSvr32.exe [DLL name here]
2. RunDll32.exe [Dll name here] [DllRegisterServer]
and so on...

However, windows is forcing file system virtualisation upon my process since it's 32 bit, and the calls to the above executables are invoking the corresponding 32 bit versions (from within C:\Windows\SysWOW64), even if I hardcode the path to C:\Windows\System32 (where the 64 bit versions reside). And because the 32 bit versions of those applications are called, they fail to load my 64 bit DLL.

Is there a way to temporarily disable WOW from within my code, so that I can actually execute the 64 bit version of those applications? Or is there any other workaround?

Note: I do not want to build a 64 bit version of this particular DLL (the one which wants to do all the registration).

Any help will be appreciated. Thanks!
"Real men drive manual transmission" - Rajesh.

AnswerRe: Registering a 64 bit DLL from a 32 bit application Pin
Richard Andrew x641-Mar-11 7:59
professionalRichard Andrew x641-Mar-11 7:59 
GeneralRe: Registering a 64 bit DLL from a 32 bit application Pin
Rajesh R Subramanian1-Mar-11 8:36
professionalRajesh R Subramanian1-Mar-11 8:36 
AnswerRe: Registering a 64 bit DLL from a 32 bit application Pin
Rajesh R Subramanian1-Mar-11 23:18
professionalRajesh R Subramanian1-Mar-11 23:18 
QuestionHow to check if a string is base64 encoded string? Pin
rahul.kulshreshtha28-Feb-11 18:06
rahul.kulshreshtha28-Feb-11 18:06 
AnswerRe: How to check if a string is base64 encoded string? Pin
Cool_Dev28-Feb-11 18:29
Cool_Dev28-Feb-11 18:29 
GeneralRe: How to check if a string is base64 encoded string? Pin
rahul.kulshreshtha28-Feb-11 20:11
rahul.kulshreshtha28-Feb-11 20:11 
AnswerRe: How to check if a string is base64 encoded string? PinPopular
Hans Dietrich28-Feb-11 18:33
mentorHans Dietrich28-Feb-11 18:33 
GeneralRe: How to check if a string is base64 encoded string? Pin
rahul.kulshreshtha28-Feb-11 20:11
rahul.kulshreshtha28-Feb-11 20:11 
GeneralRe: How to check if a string is base64 encoded string? Pin
CPallini28-Feb-11 23:15
mveCPallini28-Feb-11 23:15 
QuestionGet Volume Name From Path Pin
Richard Andrew x6428-Feb-11 17:31
professionalRichard Andrew x6428-Feb-11 17:31 
AnswerRe: Get Volume Name From Path Pin
Richard Andrew x6428-Feb-11 17:44
professionalRichard Andrew x6428-Feb-11 17:44 
AnswerRe: Get Volume Name From Path Pin
Hans Dietrich28-Feb-11 17:44
mentorHans Dietrich28-Feb-11 17:44 
AnswerRe: Get Volume Name From Path Pin
Niklas L1-Mar-11 0:43
Niklas L1-Mar-11 0:43 
GeneralRe: Get Volume Name From Path Pin
Hans Dietrich1-Mar-11 1:23
mentorHans Dietrich1-Mar-11 1:23 
GeneralRe: Get Volume Name From Path Pin
Niklas L1-Mar-11 1:47
Niklas L1-Mar-11 1:47 
QuestionMFC command line in VC6.0 - repost Pin
Vaclav_28-Feb-11 4:07
Vaclav_28-Feb-11 4:07 
AnswerRe: MFC command line in VC6.0 - repost Pin
Hans Dietrich28-Feb-11 4:50
mentorHans Dietrich28-Feb-11 4:50 

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.