Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VS2008 MFC project. Broken Wizard ... Pin
Jerry Evans4-Jun-09 7:24
Jerry Evans4-Jun-09 7:24 
QuestionHow to change icon at upper left corner of window Pin
pandit844-Jun-09 3:18
pandit844-Jun-09 3:18 
QuestionRe: How to change icon at upper left corner of window Pin
norish4-Jun-09 4:06
norish4-Jun-09 4:06 
AnswerRe: How to change icon at upper left corner of window Pin
pandit844-Jun-09 4:14
pandit844-Jun-09 4:14 
GeneralRe: How to change icon at upper left corner of window Pin
norish4-Jun-09 5:04
norish4-Jun-09 5:04 
GeneralRe: How to change icon at upper left corner of window Pin
pandit844-Jun-09 5:20
pandit844-Jun-09 5:20 
QuestionWOL/shut down Active directory snap-in Pin
Blunts4-Jun-09 3:06
Blunts4-Jun-09 3:06 
QuestionAccess denied when calling the cluster-api (clusapi.dll) Pin
Calla4-Jun-09 2:28
Calla4-Jun-09 2:28 
Hi,
I have an application that uses the cluster-api (clusapi.dll) on Windows Server 2003. When I run my application under the Administrator account the call to the method OpenCluster works fine, but the problem is that not all users of my application are in fact administrators and when I call GetLastError after the call fails it says: Access is denied

I realize that someone belonging to the Users group are not allowed to make that call, but I can't find in MSDN (or anywhere else) why this is the case and I'd like to check if anyone knows a way around this.

This code always returns NULL since hCluster is NULL after the call to OpenCluster:
HCLUSTER hCluster;
hCluster = OpenCluster( NULL );
if( hCluster == NULL )
{
   return NULL;
}


I'm more used to C# coding, but I have written a dll in C++ containing all the cluster functionality I need (and then using that dll in my C# project via p/Invoke).

Any ideas around this would be appreciated.

Thanks!
AnswerRe: Access denied when calling the cluster-api (clusapi.dll) Pin
led mike4-Jun-09 4:17
led mike4-Jun-09 4:17 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
Calla4-Jun-09 5:14
Calla4-Jun-09 5:14 
QuestionRe: Access denied when calling the cluster-api (clusapi.dll) Pin
led mike4-Jun-09 7:49
led mike4-Jun-09 7:49 
AnswerRe: Access denied when calling the cluster-api (clusapi.dll) Pin
Calla4-Jun-09 8:04
Calla4-Jun-09 8:04 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
led mike4-Jun-09 8:46
led mike4-Jun-09 8:46 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
Rajesh R Subramanian28-Jul-09 0:34
professionalRajesh R Subramanian28-Jul-09 0:34 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
led mike28-Jul-09 5:49
led mike28-Jul-09 5:49 
GeneralRe: Access denied when calling the cluster-api (clusapi.dll) Pin
Rajesh R Subramanian28-Jul-09 5:59
professionalRajesh R Subramanian28-Jul-09 5:59 
QuestionVisual C++ 6.0 SETUPAPI help! [modified] Pin
callousfantom4-Jun-09 2:23
callousfantom4-Jun-09 2:23 
AnswerRe: Visual C++ 6.0 SETUPAPI help! Pin
CPallini4-Jun-09 2:38
mveCPallini4-Jun-09 2:38 
GeneralRe: Visual C++ 6.0 SETUPAPI help! Pin
callousfantom4-Jun-09 18:43
callousfantom4-Jun-09 18:43 
GeneralRe: Visual C++ 6.0 SETUPAPI help! Pin
callousfantom4-Jun-09 19:23
callousfantom4-Jun-09 19:23 
AnswerRe: Visual C++ 6.0 SETUPAPI help! Pin
CPallini4-Jun-09 21:14
mveCPallini4-Jun-09 21:14 
GeneralRe: Visual C++ 6.0 SETUPAPI help! Pin
callousfantom5-Jun-09 0:31
callousfantom5-Jun-09 0:31 
QuestionC++ code Pin
shyampasari4-Jun-09 0:34
shyampasari4-Jun-09 0:34 
AnswerRe: C++ code Pin
Hamid_RT4-Jun-09 1:06
Hamid_RT4-Jun-09 1:06 
GeneralRe: C++ code Pin
shyampasari4-Jun-09 1:12
shyampasari4-Jun-09 1:12 

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.