Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDialog Box Resize [modified] Pin
shiv@nand9-Mar-10 21:48
shiv@nand9-Mar-10 21:48 
AnswerRe: Dialog Box Resize Pin
Mohan Ramachandra9-Mar-10 21:53
Mohan Ramachandra9-Mar-10 21:53 
AnswerRe: Dialog Box Resize Pin
«_Superman_»9-Mar-10 22:10
professional«_Superman_»9-Mar-10 22:10 
QuestionProblem with WaitForSingleObject for multiple calls to ReleaseSemaphore Pin
temp.cyberfiles9-Mar-10 21:34
temp.cyberfiles9-Mar-10 21:34 
AnswerRe: Problem with WaitForSingleObject for multiple calls to ReleaseSemaphore Pin
Cool_Dev9-Mar-10 22:09
Cool_Dev9-Mar-10 22:09 
GeneralRe: Problem with WaitForSingleObject for multiple calls to ReleaseSemaphore Pin
temp.cyberfiles9-Mar-10 22:26
temp.cyberfiles9-Mar-10 22:26 
GeneralRe: Problem with WaitForSingleObject for multiple calls to ReleaseSemaphore Pin
Cool_Dev9-Mar-10 22:29
Cool_Dev9-Mar-10 22:29 
QuestionHow to register an ActiveX ocx file Pin
rahul.kulshreshtha9-Mar-10 20:16
rahul.kulshreshtha9-Mar-10 20:16 
Hello All,

I am registering an ActiveX as follows:

CString ocxFile = L" /s \"" + ocxFile + L"\""; // for silent install
HINSTANCE hInstance = ::ShellExecute(NULL, L"open", L"regsvr32.exe", ocxFile, NULL, SW_HIDE);


It works fine when user has admin rights . If user does not have admin rights then it can not register. Any solution of it ?
I am developing in XP and testing in xp and win7

Thanks,
Rahul
AnswerRe: How to register an ActiveX ocx file Pin
«_Superman_»9-Mar-10 20:24
professional«_Superman_»9-Mar-10 20:24 
GeneralRe: How to register an ActiveX ocx file Pin
rahul.kulshreshtha9-Mar-10 20:26
rahul.kulshreshtha9-Mar-10 20:26 
GeneralRe: How to register an ActiveX ocx file Pin
Rajesh R Subramanian9-Mar-10 20:28
professionalRajesh R Subramanian9-Mar-10 20:28 
GeneralRe: How to register an ActiveX ocx file Pin
rahul.kulshreshtha9-Mar-10 20:29
rahul.kulshreshtha9-Mar-10 20:29 
GeneralRe: How to register an ActiveX ocx file Pin
«_Superman_»9-Mar-10 20:28
professional«_Superman_»9-Mar-10 20:28 
GeneralRe: How to register an ActiveX ocx file Pin
rahul.kulshreshtha9-Mar-10 21:05
rahul.kulshreshtha9-Mar-10 21:05 
GeneralRe: How to register an ActiveX ocx file Pin
rahul.kulshreshtha9-Mar-10 21:22
rahul.kulshreshtha9-Mar-10 21:22 
AnswerRe: How to register an ActiveX ocx file Pin
Rajesh R Subramanian9-Mar-10 20:26
professionalRajesh R Subramanian9-Mar-10 20:26 
QuestionRe: How to register an ActiveX ocx file Pin
rahul.kulshreshtha9-Mar-10 21:15
rahul.kulshreshtha9-Mar-10 21:15 
AnswerRe: How to register an ActiveX ocx file Pin
Rajesh R Subramanian9-Mar-10 21:59
professionalRajesh R Subramanian9-Mar-10 21:59 
GeneralRe: How to register an ActiveX ocx file Pin
rahul.kulshreshtha10-Mar-10 21:56
rahul.kulshreshtha10-Mar-10 21:56 
GeneralRe: How to register an ActiveX ocx file Pin
rahul.kulshreshtha12-Mar-10 1:58
rahul.kulshreshtha12-Mar-10 1:58 
GeneralRe: How to register an ActiveX ocx file Pin
Rajesh R Subramanian12-Mar-10 5:41
professionalRajesh R Subramanian12-Mar-10 5:41 
AnswerRe: How to register an ActiveX ocx file Pin
Steve Thresher10-Mar-10 2:32
Steve Thresher10-Mar-10 2:32 
Questionwinsock setsockopt() returns SOCKET_ERROR ( -1 ) but WSAGetLastError returns 0 Pin
wk_leo989-Mar-10 20:07
wk_leo989-Mar-10 20:07 
AnswerRe: winsock setsockopt() returns SOCKET_ERROR ( -1 ) but WSAGetLastError returns 0 Pin
KarstenK9-Mar-10 21:05
mveKarstenK9-Mar-10 21:05 
AnswerRe: winsock setsockopt() returns SOCKET_ERROR ( -1 ) but WSAGetLastError returns 0 Pin
Moak9-Mar-10 22:47
Moak9-Mar-10 22:47 

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.