Thank your answer,yes,i just start to study com.
but i do as you told me,and i meet some questions
1.i have only .tlb file how can i get .idl file?
2.In my project,i do as follows,but it's wrong!
import "mycom.tlb"
....
mycominterface* pI;
Complier tells me not declare mycominterface.
why?
can you give me some code?