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

C / C++ / MFC

 
GeneralRe: Tab Control Help Pin
Erik Funkenbusch30-Aug-00 13:50
Erik Funkenbusch30-Aug-00 13:50 
GeneralRe: Tab Control Help Pin
jschacker31-Aug-00 9:59
jschacker31-Aug-00 9:59 
GeneralData to Printer Port Pin
Gary30-Aug-00 10:36
Gary30-Aug-00 10:36 
GeneralMultimedia Timer Class Pin
C. Hampton30-Aug-00 7:33
sussC. Hampton30-Aug-00 7:33 
GeneralRe: Multimedia Timer Class Pin
Paolo Messina30-Aug-00 8:26
professionalPaolo Messina30-Aug-00 8:26 
GeneralAcquiring PSID for ReportEvent Pin
sai30-Aug-00 5:52
sai30-Aug-00 5:52 
GeneralSocketproblem using service Pin
Andreas30-Aug-00 5:03
Andreas30-Aug-00 5:03 
GeneralGenerating COM-TypeLibraries with MIDL Pin
Sven Wiegand30-Aug-00 4:08
Sven Wiegand30-Aug-00 4:08 
Hi there,

I am having problems creating Type Libraries (TBLs) out of an IDL-file using the MIDL-compiler shipped with Visual C++ 6.0 professional edition (no service packs).

I have a lot of IDL-files where several COM-interfaces are declared in. Then I have one IDL-file where I create a library:

...
[
uuid(...),
version(1.0),
helpstring("...")
]
library XyzObjects {
importlib("stdole32.tlb");

And then I import all the IDL-files containing the interface declarations. Before closing the library block, I declare all the interfaces, I would like to have in the resulting type library the way

import "interface1.idl";
import "interface2.idl";
...

interface IInterface1;
interface IInterface2;
...
}

where "interface1.idl" contains the declaration of "IInterface1"...

The problem is, that the resulting TBL does not contain *all* interfaces declared that way and there is really no reason why. I.e. there is an idl-file which contains two interface declarations. I am importing this one inside of the library block and declaring both interfaces after that, but, though the midl-compiler does not bring up any errors, there is only one of the both interfaces in the resulting TBL.

Does someone know this problem? Does someone know the solution?

Regards...

Sven
QuestionHow can I use ownerdraw in a CCtrlView based on listbox Pin
Ronald L. Russell (Ron)30-Aug-00 4:00
sussRonald L. Russell (Ron)30-Aug-00 4:00 
GeneralTransparency ... Pin
Oleg Zhuk30-Aug-00 0:29
Oleg Zhuk30-Aug-00 0:29 
QuestionHow do you use the CToolTipCtrl? Pin
Newbie29-Aug-00 17:37
Newbie29-Aug-00 17:37 
AnswerRe: How do you use the CToolTipCtrl? Pin
Jeremy Davis29-Aug-00 22:23
Jeremy Davis29-Aug-00 22:23 
AnswerRe: How do you use the CToolTipCtrl? Pin
jschacker1-Sep-00 8:12
jschacker1-Sep-00 8:12 
GeneralAbout SMB (CIFS) example code Pin
Joe Huang29-Aug-00 17:18
Joe Huang29-Aug-00 17:18 
GeneralTab Contorl Pin
sunny29-Aug-00 10:22
sunny29-Aug-00 10:22 
GeneralPrinting in Document-View architecture Pin
André Dewispelaere29-Aug-00 5:55
André Dewispelaere29-Aug-00 5:55 
GeneralRe: Printing in Document-View architecture Pin
jschacker31-Aug-00 10:48
jschacker31-Aug-00 10:48 
GeneralRe: Printing in Document-View architecture Pin
André Dewispelaere20-Sep-00 3:52
André Dewispelaere20-Sep-00 3:52 
GeneralString Table - message boxes interference Pin
André Dewispelaere29-Aug-00 5:33
André Dewispelaere29-Aug-00 5:33 
GeneralRe: String Table - message boxes interference Pin
André Dewispelaere20-Sep-00 4:06
André Dewispelaere20-Sep-00 4:06 
GeneralHooks:WH_HARDWARE Pin
alainserge26-Aug-00 6:35
alainserge26-Aug-00 6:35 
GeneralRe: Hooks:WH_HARDWARE Pin
Michael Dunn26-Aug-00 7:33
sitebuilderMichael Dunn26-Aug-00 7:33 
GeneralDialog from console Pin
Erik26-Aug-00 4:53
Erik26-Aug-00 4:53 
GeneralRe: Dialog from console Pin
Paolo Messina26-Aug-00 7:15
professionalPaolo Messina26-Aug-00 7:15 
GeneralRe: Dialog from console Pin
Erik28-Aug-00 4:04
Erik28-Aug-00 4:04 

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.