PDA

View Full Version : *.idl -> *.tlb via MS Visual 2008


ChrisF
12-23-2009, 02:03 PM
I used MS Visual Studio 2008 to compile an *.idl file to produce a *.tlb file (type library). I had to right-click->Compile the file. Is this supported in VBPro? I looked for MIDL or IDL in the help files to no avail.

kinook
12-23-2009, 08:02 PM
Configure the .idl file in Visual Studio such that building the project compiles the .idl file.

ChrisF
12-23-2009, 09:07 PM
I didn't originally setup the *.sln file, but I'll look into that. I believe the generated files are needed by the subsequent *.c/*.cpp compile, and the manual build instructions I have (which I'm trying to automate via VBPro) said to compile the *.idl file first.