Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1649: VA outline - problems moving code

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Uniwares Posted - Dec 04 2008 : 11:23:30 AM
		[DllImport("advapi32")]
		[return: MarshalAs(UnmanagedType.Bool)]
		public static extern bool ControlService(IntPtr hService, ServiceControl dwControl, ref ServiceStatus lpServiceStatus);

		[StructLayout(LayoutKind.Sequential)]
		public struct ServiceStatus
		{
			ScServiceType		dwServiceType;
			ServiceState		dwCurrentState;
			ServiceAccept		dwControlsAccepted;
			int			dwWin32ExitCode;
			int			dwServiceSpecificExitCode;
			uint			dwCheckPoint;
			uint			dwWaitHint;
		}


With the code above, select ControlService in the VA Outline window and move the code to another place in the source. The attributes are totally off now, instead of taking the [DllImport] and [return:] attributes with it, it takes the [StructLayout]. Bad, very bad.

4   L A T E S T    R E P L I E S    (Newest First)
foxmuldr Posted - Jan 04 2014 : 08:57:08 AM
quote:
Originally posted by UniwaresWhat a shame! Now that I am no longer active as developer you fix all the bugs. Almost makes me come back just to find some more bugs to keep you busy




We would welcome you back as we can always use more excellent developers. :-)
Uniwares Posted - Jan 04 2014 : 06:35:50 AM
quote:
Originally posted by sean

case=7606 is fixed in build 2023.



What a shame! Now that I am no longer active as developer you fix all the bugs. Almost makes me come back just to find some more bugs to keep you busy
sean Posted - Dec 21 2013 : 01:34:25 AM
case=7606 is fixed in build 2023.
accord Posted - Dec 04 2008 : 1:31:05 PM
I am seeing the same effect here. Thank you for the clear description.

case=7606

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000