Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
INetwork::SetCategory failing in Vista Posted by kaushik_forum on 15 Dec 2008 at 5:25 AM
Hi,

this is the first time i am doing some network related programming.
I wish to programatically set the n/w location of a new connection on a vista machine.

I am using the INetwork com interface's SetCategory method, to do the same.
But the method fails with a GetLastError showing an error code of "ERROR_NO_TOKEN".

Do you have any idea what is going wrong here..?



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.