Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to send messages to windows Pin
Goggelmoggel27-Mar-07 1:27
Goggelmoggel27-Mar-07 1:27 
QuestionBackground color of a property page Pin
Farhat Aisha27-Mar-07 0:56
Farhat Aisha27-Mar-07 0:56 
AnswerRe: Background color of a property page Pin
prasad_som27-Mar-07 2:20
prasad_som27-Mar-07 2:20 
QuestionUsing Excel from C++ Pin
BusyDeveloper27-Mar-07 0:44
BusyDeveloper27-Mar-07 0:44 
AnswerRe: Using Excel from C++ Pin
Roger Stoltz27-Mar-07 2:30
Roger Stoltz27-Mar-07 2:30 
GeneralRe: Using Excel from C++ Pin
BusyDeveloper27-Mar-07 20:12
BusyDeveloper27-Mar-07 20:12 
QuestionRe: Using Excel from C++ Pin
Roger Stoltz27-Mar-07 20:47
Roger Stoltz27-Mar-07 20:47 
AnswerRe: Using Excel from C++ Pin
BusyDeveloper27-Mar-07 22:09
BusyDeveloper27-Mar-07 22:09 
I read some 30 Excel files. Amount of data in each file varies from 50 to 600 cells.
Total time is in the range of 4 seconds (P4 2.4 GHz, 1GB RAM, XP SP2, Excel 2003)

From the previous reply, I suppose a big amount of the time comes from the out-of-process switch.

It's not a big problem in my machine, but some users have older PC's and I've been trying to improve the startup time. Excel reading was one of the targets and I've improved that, caching some values. I have to check the library used to access Excel, because I think it's doing some redundant work.

Do you have some criteria to decide when to stop improving that way (because of the limits of using Excel that way) and go to another method ?? Maybe text files or a database would do the work, but currently our customer is very happy with Excel (he can change settings very easily), and I don't want to build a front end interface for another method.
GeneralRe: Using Excel from C++ Pin
Roger Stoltz27-Mar-07 23:01
Roger Stoltz27-Mar-07 23:01 
GeneralRe: Using Excel from C++ Pin
BusyDeveloper28-Mar-07 22:46
BusyDeveloper28-Mar-07 22:46 
QuestionDestroyWindow & Focus Pin
baerten27-Mar-07 0:15
baerten27-Mar-07 0:15 
QuestionAbout storing file content Pin
siddharthsan26-Mar-07 23:37
siddharthsan26-Mar-07 23:37 
AnswerRe: About storing file content Pin
David Crow27-Mar-07 2:54
David Crow27-Mar-07 2:54 
Questionto call GlobalAlloc Pin
zon_cpp26-Mar-07 23:17
zon_cpp26-Mar-07 23:17 
AnswerRe: to call GlobalAlloc Pin
toxcct26-Mar-07 23:21
toxcct26-Mar-07 23:21 
GeneralRe: to call GlobalAlloc Pin
zon_cpp27-Mar-07 0:03
zon_cpp27-Mar-07 0:03 
GeneralRe: to call GlobalAlloc Pin
toxcct27-Mar-07 0:12
toxcct27-Mar-07 0:12 
QuestionRe: to call GlobalAlloc Pin
zon_cpp27-Mar-07 0:27
zon_cpp27-Mar-07 0:27 
AnswerRe: to call GlobalAlloc Pin
toxcct27-Mar-07 0:33
toxcct27-Mar-07 0:33 
GeneralRe: to call GlobalAlloc [modified] Pin
zon_cpp27-Mar-07 1:11
zon_cpp27-Mar-07 1:11 
GeneralRe: to call GlobalAlloc Pin
toxcct27-Mar-07 2:02
toxcct27-Mar-07 2:02 
GeneralRe: to call GlobalAlloc Pin
zon_cpp27-Mar-07 2:38
zon_cpp27-Mar-07 2:38 
GeneralRe: to call GlobalAlloc Pin
toxcct27-Mar-07 2:42
toxcct27-Mar-07 2:42 
GeneralRe: to call GlobalAlloc Pin
zon_cpp27-Mar-07 2:46
zon_cpp27-Mar-07 2:46 
GeneralRe: to call GlobalAlloc Pin
_808627-Mar-07 3:28
_808627-Mar-07 3:28 

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.