|
1. Start VC++, open your service
project. To edit your code, go to control panel | services again, stop the service. Go to VC1 for code changes and a re-comp, then start the service again, build/debug/attach/show system... all over again. It seems a little lengthy at first, but once you do it a couple of times you get used to it. After you are finished working, save the VC2 workspace (it will prompt you when it exits with F4). That way when you open VC2 again later you can just open that workspace in the recent list and it will have all the files and debug breaks, etc... If you have trouble attaching to the service, make sure you have "Act as part of the operating system" enabled for your logon. To check it, start User Manager. Policies | User Rights. Select "Show Advanced User Rights" and go to the right "Act as part of the operating system" and add yourself to the list if you're not there. on the start/stop of IIS you can create a batch file that uses 'net start' style commands and put a link in your quick launch to quickly start and stop instead of fooling with the services panel.
|
_______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
