Cancel
Showing results for 
Search instead for 
Did you mean: 

Interesting link error that appears to be relative to prior client run

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

 

I am working with a small test ITK client.

 

I get the following link error after I run my sample.exe client -

 

LINK : fatal error LNK1168: cannot open sample.exe for writing

 

After waiting a few minutes,  the link error goes away.

 

I presume I am not correctly exiting the client code,  and sample.exe is hung in memory for a few minutes ( until it somehow is released ).

 

I only have a main() call - no subroutines - and I am using 'return 0;' as my exit.

 

I am using VS-2013.

 

Appreciate any information about this.