vb中关于return的问题。
Imports System
Imports System.Text
Imports System.Runtime.InteropServices
Imports System.IO
Imports FujiXerox.DocuWorks.Toolkit.Xdwapi
Namespace TestmainDLL
Public Class XdwapiWrapper
Public Shared Function XDW_ExtractFromSfxDocument(ByRef foundHandle As XDW_FOUND_HANDLE)As Integer
Return foundHandle
End Function
End Class
End Namespace
想要返回一个XDW_FOUND_HANDLE类型的foundHandle,但是总是提示“Value of type ‘XDW_FOUND_HANDLE‘ cannot be converted to 'Integer'.“这是怎么回事,请哪位高手帮忙解决下!!!谢谢了!