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

Managed C++/CLI

 
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 
GeneralRe: Class intantiation renders app unresponsive Pin
Dewm Solo14-Dec-07 10:36
Dewm Solo14-Dec-07 10:36 
1. This class does 3 things.
-Instantiate itself by saving the path for the file
-Read through the file and assimilate the template
-Return the template array

I didn't want to have to call the reading part. I wanted to initialize and return the template when asked. So the ReturnTemplate() method is public, but the ReadFile() method is private. ReadFile() is called in the ctor as you said. For test purposes I will make it public and call it from my application after initialization of the class. If it does initialize at that point.

2 & 3. When trying to figure out what was going on I did insert try-catch constructs everywhere. In the calling method, in the ctor, in the ReadFile() method, ......everwhere....nothing gets intercepted...nothing, nothing, nothing.


I will go change the ctor and make that read method public right now. I will post back my findings within the next minutes.
Dewm Solo - Managed C++ Developer

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 
GeneralOnPaint paints over objects Pin
BuckBrown14-Dec-07 9:27
BuckBrown14-Dec-07 9:27 

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.