Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Image processing discussion forum? Pin
Chris Losinger31-Mar-14 10:37
professionalChris Losinger31-Mar-14 10:37 
AnswerRe: Image processing discussion forum? Pin
leon de boer1-Apr-14 5:21
leon de boer1-Apr-14 5:21 
GeneralRe: Image processing discussion forum? Pin
Vaclav_4-Apr-14 3:50
Vaclav_4-Apr-14 3:50 
GeneralRe: Image processing discussion forum - CCL "trace" issue ?? Pin
Vaclav_4-Apr-14 4:50
Vaclav_4-Apr-14 4:50 
GeneralRe: Image processing discussion forum - CCL "trace" issue ?? Pin
leon de boer13-Apr-14 3:17
leon de boer13-Apr-14 3:17 
QuestionBitwise operation for mod operation Pin
econy31-Mar-14 4:23
econy31-Mar-14 4:23 
AnswerRe: Bitwise operation for mod operation Pin
Richard MacCutchan31-Mar-14 21:38
mveRichard MacCutchan31-Mar-14 21:38 
AnswerRe: Bitwise operation for mod operation Pin
CPallini31-Mar-14 23:37
mveCPallini31-Mar-14 23:37 
QuestionDATABASE PROBLEM Pin
Fawaz Ajani31-Mar-14 1:01
Fawaz Ajani31-Mar-14 1:01 
AnswerRe: DATABASE PROBLEM Pin
Freak3031-Mar-14 4:42
Freak3031-Mar-14 4:42 
AnswerRe: DATABASE PROBLEM Pin
SujayG2-Apr-14 0:21
SujayG2-Apr-14 0:21 
QuestionRe: DATABASE PROBLEM Pin
David Crow2-Apr-14 17:27
David Crow2-Apr-14 17:27 
QuestionHow to use ReadFile API Read HID Device synchronous Pin
cedricvictor30-Mar-14 6:32
cedricvictor30-Mar-14 6:32 
AnswerRe: How to use ReadFile API Read HID Device synchronous Pin
Richard Andrew x6431-Mar-14 10:13
professionalRichard Andrew x6431-Mar-14 10:13 
AnswerRe: How to use ReadFile API Read HID Device synchronous Pin
Heng Xiangzhong8-Apr-14 23:31
Heng Xiangzhong8-Apr-14 23:31 
Question#imports for MS Office2013 Pin
Bryan Anslow28-Mar-14 10:08
Bryan Anslow28-Mar-14 10:08 
AnswerRe: #imports for MS Office2013 Pin
SujayG1-Apr-14 22:26
SujayG1-Apr-14 22:26 
GeneralRe: #imports for MS Office2013 Pin
Bryan Anslow2-Apr-14 4:23
Bryan Anslow2-Apr-14 4:23 
Hi Sujayg,

I am trying to create a *.lib file to wrap some of the Word Automation Functions.

So, tell me if I got this all wrong...

I created a Win32 project, selecting MFC and Static Library.

I used Add Class -> MFC Class From Typelib and selected File and used C:\\Program Files\\Microsoft Office\\Office15\\MSWORD.OLB

As I did not know which classes I would need, I just selected them all.

So it generated a lot of Class Header files.

I selected a few Header files for the classes I needed and added #includes for them.

The build created the msword.tlh file etc.

It also gave me over 100 errors, all due to missing items in the msword.tlh file.

In the Add Class step, should I just be selecting the MSWord classes I need, and not just all of them?

Or have I got this whole thing wrong?

It worked OK back in the days of Office 97 and 2000.

BTW, at this stage learning C# is not really an option.

Thanks,

Bryan.
GeneralRe: #imports for MS Office2013 Pin
SujayG3-Apr-14 1:04
SujayG3-Apr-14 1:04 
GeneralRe: #imports for MS Office2013 Pin
Bryan Anslow3-Apr-14 5:02
Bryan Anslow3-Apr-14 5:02 
GeneralRe: #imports for MS Office2013 Pin
SujayG4-Apr-14 18:43
SujayG4-Apr-14 18:43 
QuestionAn algorithm question Pin
econy26-Mar-14 15:53
econy26-Mar-14 15:53 
AnswerRe: An algorithm question Pin
Richard MacCutchan26-Mar-14 23:08
mveRichard MacCutchan26-Mar-14 23:08 
GeneralRe: An algorithm question Pin
econy27-Mar-14 3:38
econy27-Mar-14 3:38 
AnswerRe: An algorithm question Pin
CPallini28-Mar-14 10:31
mveCPallini28-Mar-14 10:31 

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.