Visual Studio – Project Settings – Register Card “Compile” – Button “Build Events” – Post-build-process and insert
call "$(DevEnvDir)..\Tools\VsDevCmd.bat"
tlbexp.exe "$(TargetFileName)" /out:"$(ProjectDir)bin\$(TargetName).tlb"
Adapt paths for your need!