Exception in GetComputerObjectName

I

ialexei

Hi,

I get a First-chance exception (0x000006BA: The RPC server is unavailable.)
on my VS.NET output window, when I call GetComputerObjectName. Here is the code
frament.
....
TCHAR szDn[1000];
DWORD dwLen = 1000;
BOOL bRes = ::GetComputerObjectName(NameFullyQualifiedDN,szDn,&dwLen);
....

Can anybody there tell me what is wrong with my code.

Thanks
-Alexei
 
Joined
Mar 17, 2011
Messages
1
Reaction score
0
The only solution I have found that works its to turn of expeptions in Visual Studio...

That is Debug -> Expections ->

And turn off "Win32 Expections" box... You can later turn all the individual exceptions on but the parent box has to be off.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top