麻烦你 chenjl1031 :这是vb setup1中的一段。 我理解不透 Not RegisterTLB(strFilename) 为多少表示注册TLB失败。声明:我是非计算机科班的。乃自学发烧友。有些基础性的东西不行。' Call vb6stkit.dll's RegisterTLB export which calls ' LoadTypeLib and RegisterTypeLib. ' RetryTLBReg: If Not RegisterTLB(strFilename) Then....... ' ' Registration of the TLB file failed. '
实验下来,感觉RegisterTLB这个返回值为-1,表示调用成功。
我理解不透 Not RegisterTLB(strFilename) 为多少表示注册TLB失败。声明:我是非计算机科班的。乃自学发烧友。有些基础性的东西不行。' Call vb6stkit.dll's RegisterTLB export which calls
' LoadTypeLib and RegisterTypeLib.
'
RetryTLBReg:
If Not RegisterTLB(strFilename) Then.......
'
' Registration of the TLB file failed.
'