Click here to Skip to main content
16,011,974 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Bit Copying Pin
Luc Pattyn16-Dec-07 4:26
sitebuilderLuc Pattyn16-Dec-07 4:26 
GeneralUser Controls Pin
mikobi15-Dec-07 0:09
mikobi15-Dec-07 0:09 
GeneralRe: User Controls Pin
Christian Graus15-Dec-07 0:24
protectorChristian Graus15-Dec-07 0:24 
Question[Message Deleted] Pin
(Steven Hicks)n+114-Dec-07 12:39
(Steven Hicks)n+114-Dec-07 12:39 
GeneralRe: Question about redeclaring header files Pin
Christian Graus14-Dec-07 14:48
protectorChristian Graus14-Dec-07 14:48 
QuestionRe: [Message Deleted] Pin
Hamid_RT20-Dec-07 2:23
Hamid_RT20-Dec-07 2:23 
QuestionClass intantiation renders app unresponsive Pin
Dewm Solo14-Dec-07 9:42
Dewm Solo14-Dec-07 9:42 
GeneralRe: Class intantiation renders app unresponsive [modified] Pin
Luc Pattyn14-Dec-07 10:24
sitebuilderLuc Pattyn14-Dec-07 10:24 
Hi,

some ideas:

1.
is there any static code in your class? i.e. code that needs to execute as soon as the class
gets loaded (because somewhere else a method gets JIT-compiled that will eventually need something
from your class). Your static class code may either take a long time to complete,
or fail all together,
even before you actually ask it to do something for you. Inserting one more method may alleviate
(or just delay) the problem, since the new method will be looked up but not yet JIT-compiled
until it is needed for execution.

2.
exceptions that occur in a constructor or in another thread may go unnoticed, unless you
implement a try-catch construct in the constructor; of course in the catch you should output
as much information as possible, at least Exception.ToString().

3.
I guess 2 also holds true for any static code in a class.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]


Sorry for any delays in replying, I currently don't always get e-mail notifications.


modified on Friday, December 14, 2007 4:49:28 PM

GeneralRe: Class intantiation renders app unresponsive Pin
Dewm Solo14-Dec-07 10:36
Dewm Solo14-Dec-07 10:36 
GeneralRe: Class intantiation renders app unresponsive Pin
Dewm Solo14-Dec-07 10:50
Dewm Solo14-Dec-07 10:50 
GeneralRe: Class intantiation renders app unresponsive Pin
Luc Pattyn14-Dec-07 11:14
sitebuilderLuc Pattyn14-Dec-07 11:14 
GeneralRe: Class intantiation renders app unresponsive Pin
Dewm Solo14-Dec-07 11:20
Dewm Solo14-Dec-07 11:20 
GeneralRe: Class intantiation renders app unresponsive Pin
Luc Pattyn14-Dec-07 11:34
sitebuilderLuc Pattyn14-Dec-07 11:34 
GeneralRe: Class intantiation renders app unresponsive Pin
Mark Salsbery14-Dec-07 11:41
Mark Salsbery14-Dec-07 11:41 
GeneralRe: Class intantiation renders app unresponsive Pin
Luc Pattyn14-Dec-07 12:05
sitebuilderLuc Pattyn14-Dec-07 12:05 
GeneralRe: Class intantiation renders app unresponsive Pin
Mark Salsbery14-Dec-07 12:10
Mark Salsbery14-Dec-07 12:10 
GeneralRe: Class intantiation renders app unresponsive Pin
Luc Pattyn14-Dec-07 12:26
sitebuilderLuc Pattyn14-Dec-07 12:26 
GeneralRe: Class intantiation renders app unresponsive Pin
Mark Salsbery14-Dec-07 11:45
Mark Salsbery14-Dec-07 11:45 
GeneralRe: Class intantiation renders app unresponsive Pin
Dewm Solo14-Dec-07 17:54
Dewm Solo14-Dec-07 17:54 
GeneralRe: Class intantiation renders app unresponsive Pin
Jeffrey Walton16-Dec-07 2:28
Jeffrey Walton16-Dec-07 2:28 
GeneralRe: Class intantiation renders app unresponsive Pin
Dewm Solo17-Dec-07 7:41
Dewm Solo17-Dec-07 7:41 
GeneralConfusion Pin
Dewm Solo17-Dec-07 8:25
Dewm Solo17-Dec-07 8:25 
GeneralRe: Confusion Pin
Dewm Solo17-Dec-07 9:21
Dewm Solo17-Dec-07 9:21 
GeneralRe: Confusion Pin
Dewm Solo18-Dec-07 5:26
Dewm Solo18-Dec-07 5:26 
QuestionI'm lost [modified] Pin
Dewm Solo18-Dec-07 5:41
Dewm Solo18-Dec-07 5:41 

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.