Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Chris Richardson2-Oct-02 12:19
Chris Richardson2-Oct-02 12:19 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Harold Bamford2-Oct-02 12:20
Harold Bamford2-Oct-02 12:20 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Chris Richardson2-Oct-02 12:40
Chris Richardson2-Oct-02 12:40 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Harold Bamford2-Oct-02 12:48
Harold Bamford2-Oct-02 12:48 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Chris Richardson2-Oct-02 12:55
Chris Richardson2-Oct-02 12:55 
GeneralRe: Getting an HWND from an HINSTANCE Pin
JT Anderson2-Oct-02 13:07
JT Anderson2-Oct-02 13:07 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Harold Bamford3-Oct-02 7:39
Harold Bamford3-Oct-02 7:39 
GeneralSaving File Formats Pin
SanShou2-Oct-02 6:17
SanShou2-Oct-02 6:17 
I feel like I should know this question, but it seems to me to be harder than I want it too.

Preface: I am working on a windows GUI interface for a embedded system. My boss wants to save off the current state of the system in to a file. However he has laid some requirements on the file format 1) it should be hand editable, 2) other applications should be able to open it, and 3) we don't need to rely on the having an outside application. My boss understands enough about software to be annoying and he is insisting that the file save be ODBC, however I admit I am not familiar enough with it. I do realize that you need to register a datasource and I am not sure how to do this on a different machine. My predecessor wrote the GUI in VB and he saved the file in Access format which was not hand editable.

I have cruised the site here and found some nice demonstrations. I had orginally thought that I would save the file in an Excel format. I noticed it used ODBC and my boss would be pleased. However I began to be concerned that it might fail on machines that don't have excel. We cannot require installation of Excel on a machine to run our GUI.

I think automation solutions I found on Microsofts site will also have this problem. I am not sure how the orginal VB code got around this problem with the Access format file using type libraries. (Not real familiar with those either.)

Does anyone have any advice on what to do and where to find documentation on doing it? I mean I can use ODBC if I can find a way to automate the registration of the data source.. but I need to brush up on this stuff again..

Thanks for any help,

Brian

If you start a fire for a man, he will be warm for a day. If you start that same man on fire, he will be warm for the rest of his life.
GeneralRe: Saving File Formats Pin
JohnnyG2-Oct-02 6:38
JohnnyG2-Oct-02 6:38 
GeneralRe: Saving File Formats Pin
SanShou2-Oct-02 7:10
SanShou2-Oct-02 7:10 
GeneralRe: Saving File Formats Pin
Phil J Pearson2-Oct-02 7:21
Phil J Pearson2-Oct-02 7:21 
GeneralRe: Saving File Formats Pin
Rickard Andersson202-Oct-02 8:28
Rickard Andersson202-Oct-02 8:28 
GeneralRe: Saving File Formats Pin
Scott H. Settlemier2-Oct-02 9:57
Scott H. Settlemier2-Oct-02 9:57 
GeneralRe: Saving File Formats Pin
SanShou2-Oct-02 10:11
SanShou2-Oct-02 10:11 
GeneralRe: Saving File Formats Pin
Patje2-Oct-02 21:27
Patje2-Oct-02 21:27 
GeneralSet index in CListCtrl Pin
Telefonen2-Oct-02 5:54
Telefonen2-Oct-02 5:54 
GeneralRe: Set index in CListCtrl Pin
Chris Richardson2-Oct-02 9:55
Chris Richardson2-Oct-02 9:55 
GeneralChanging dialog properties programatically Pin
adamUK2-Oct-02 5:53
adamUK2-Oct-02 5:53 
QuestionHow do I convert a double to char Pin
Jose Cruz2-Oct-02 5:20
Jose Cruz2-Oct-02 5:20 
AnswerRe: How do I convert a double to char Pin
Jon Hulatt2-Oct-02 5:23
Jon Hulatt2-Oct-02 5:23 
AnswerRe: How do I convert a double to char Pin
jhwurmbach2-Oct-02 5:50
jhwurmbach2-Oct-02 5:50 
Generalquestion about safearray Pin
Gérald Mercet2-Oct-02 4:59
Gérald Mercet2-Oct-02 4:59 
GeneralDoWaitCursor(true) not staying up Pin
2-Oct-02 4:40
suss2-Oct-02 4:40 
GeneralRe: DoWaitCursor(true) not staying up Pin
Paul M Watt2-Oct-02 5:00
mentorPaul M Watt2-Oct-02 5:00 
GeneralA simple array question Pin
ns2-Oct-02 4:29
ns2-Oct-02 4:29 

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.