I have a simple IDL file which declares one interface and one source dispinterface.
The dispinterface definition is in the library block. The interface definition is out.
I tryed to move the interface definition within the library block and it worked fine. The tbl and lib files generated where the same as before
Then I tryed to do the contrary moving both definitions out of the library brackets.
Then the idl file compiled well.(ie. no error) But when compiling the full project I got the error "DIID_<<dispinterface name>> not found". Along with a bunch of warnings.
Can anyone tell me why?
What does exactly the library keyword mean to the MIDL compliler?
I use VC5.0 with MIDL v.3.01.75.