File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,6 @@ public MainForm( string[] args )
503503 debugToolStripMenuItem . Visible = false ;
504504#endif
505505
506-
507506 statusProgress . Visible = false ;
508507
509508 StudioCore . MainForm = this ;
Original file line number Diff line number Diff line change @@ -174,9 +174,11 @@ public override bool Equals( object Object )
174174 static extern bool InvalidateRect ( IntPtr hWnd , IntPtr lpRect , bool bErase ) ;
175175 [ DllImport ( "user32.dll" ) ]
176176 static extern bool ValidateRect ( IntPtr hWnd , ref GR . Image . FastImage . RECT lpRect ) ;
177-
178- //[DllImport( "Kernel32.dll", EntryPoint = "CopyMemory" )]
179- [ DllImport ( "Kernel32.dll" , EntryPoint = "RtlCopyMemory" ) ] // not working in Ubuntu?
177+ #if NET5_0_OR_GREATER
178+ [ DllImport ( "Kernel32.dll" , EntryPoint = "RtlCopyMemory" ) ]
179+ #else
180+ [ DllImport ( "Kernel32.dll" , EntryPoint = "CopyMemory" ) ]
181+ #endif
180182 static extern void CopyMemory ( IntPtr dest , IntPtr src , uint length ) ;
181183
182184 [ DllImport ( "user32.dll" ) ]
You can’t perform that action at this time.
0 commit comments