Click here to Skip to main content
15,909,466 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: How to use digital camera in dual mode using C# program and physically using shutter release button Pin
Dave Kreskowiak16-Apr-09 12:54
mveDave Kreskowiak16-Apr-09 12:54 
GeneralRe: How to use digital camera in dual mode using C# program and physically using shutter release button Pin
vsaratkar20-Apr-09 2:25
vsaratkar20-Apr-09 2:25 
QuestionDerived PictureBox and OnKeyPress Events Pin
jensph16-Apr-09 9:57
jensph16-Apr-09 9:57 
AnswerRe: Derived PictureBox and OnKeyPress Events Pin
Henry Minute16-Apr-09 12:10
Henry Minute16-Apr-09 12:10 
GeneralRe: Derived PictureBox and OnKeyPress Events Pin
jensph16-Apr-09 12:39
jensph16-Apr-09 12:39 
GeneralRe: Derived PictureBox and OnKeyPress Events Pin
Luc Pattyn16-Apr-09 13:26
sitebuilderLuc Pattyn16-Apr-09 13:26 
QuestionNGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
dyonik16-Apr-09 3:39
dyonik16-Apr-09 3:39 
AnswerRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
Dave Kreskowiak16-Apr-09 4:27
mveDave Kreskowiak16-Apr-09 4:27 
dyonik wrote:
#1: How can my program find out it is not running as native in the assembly cache?


It is ALWAYS running as native. There isn't a processor on this planet that can run MSIL code natively. The JIT compiler detects if the native image is no longer valid for the platform it's running on and will automatically recompile the code and cache a new native image. Your code will never know this happened.


dyonik wrote:
#2: Is it possible to start "ngen update <myapp>" while <myapp> is running? (Will that work?)


No, not while the .EXE is running. You'd have to use a seperate update app to do the download and launch the NGEN.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
dyonik16-Apr-09 4:42
dyonik16-Apr-09 4:42 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
led mike16-Apr-09 5:40
led mike16-Apr-09 5:40 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
Dave Kreskowiak16-Apr-09 6:36
mveDave Kreskowiak16-Apr-09 6:36 
QuestionRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
led mike16-Apr-09 10:13
led mike16-Apr-09 10:13 
AnswerRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
Dave Kreskowiak16-Apr-09 10:31
mveDave Kreskowiak16-Apr-09 10:31 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
led mike16-Apr-09 11:39
led mike16-Apr-09 11:39 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
dyonik16-Apr-09 22:30
dyonik16-Apr-09 22:30 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
dyonik16-Apr-09 22:28
dyonik16-Apr-09 22:28 
QuestionHow to get the DateTime Format String from a string that represents a datetime value? Pin
JW73816-Apr-09 3:10
JW73816-Apr-09 3:10 
AnswerRe: How to get the DateTime Format String from a string that represents a datetime value? Pin
Dave Kreskowiak16-Apr-09 4:23
mveDave Kreskowiak16-Apr-09 4:23 
GeneralRe: How to get the DateTime Format String from a string that represents a datetime value? Pin
JW73816-Apr-09 5:02
JW73816-Apr-09 5:02 
GeneralRe: How to get the DateTime Format String from a string that represents a datetime value? Pin
Dave Kreskowiak16-Apr-09 6:38
mveDave Kreskowiak16-Apr-09 6:38 
AnswerRe: How to get the DateTime Format String from a string that represents a datetime value? Pin
Luc Pattyn16-Apr-09 6:18
sitebuilderLuc Pattyn16-Apr-09 6:18 
QuestionWindows Setup Project - Copying DLL' and Exe in separate folders Pin
wasifahmad16-Apr-09 2:42
wasifahmad16-Apr-09 2:42 
AnswerRe: Windows Setup Project - Copying DLL' and Exe in separate folders Pin
Dave Kreskowiak16-Apr-09 4:20
mveDave Kreskowiak16-Apr-09 4:20 
AnswerRe: Windows Setup Project - Copying DLL' and Exe in separate folders Pin
wasifahmad17-Apr-09 1:10
wasifahmad17-Apr-09 1:10 
Questioncapture image Pin
p_m_kanthi15-Apr-09 22:58
p_m_kanthi15-Apr-09 22:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.