这样试试:(Win10 VFP9)
1、注册
regasm itextsharp.dll /codebase
生成注册表文件.reg
regasm itextsharp.dll /codebase /regfile:itextsharp.reg
生成库文件.tlb
regasm itextsharp.dll /tlb:itextsharp.tlb
2、卸载
regasm itextsharp.dll /codebase /unregister
regasm itextsharp.dll /tlb /unregister
用VFP的对象浏览器载入库文件itextsharp.tlb查看相关的类:
	
		
			
        
				
				
					
						 
					
				
			
		
	
VFP测试代码:
oDocument = CREATEOBJECT("iTextSharp.text.Document")
MESSAGEBOX(oDocument.ToString)
	
		
			
        
				
				
					
						 
					
				
			
		
	
										
					
	
	
	
	      1、注册
regasm itextsharp.dll /codebase
生成注册表文件.reg
regasm itextsharp.dll /codebase /regfile:itextsharp.reg
生成库文件.tlb
regasm itextsharp.dll /tlb:itextsharp.tlb
2、卸载
regasm itextsharp.dll /codebase /unregister
regasm itextsharp.dll /tlb /unregister
用VFP的对象浏览器载入库文件itextsharp.tlb查看相关的类:
 
					
				
			VFP测试代码:
oDocument = CREATEOBJECT("iTextSharp.text.Document")
MESSAGEBOX(oDocument.ToString)
 
					
				
			
 
											





 
	    



 
					
				
			