请教一个制作dll的问题
jfbao 2004-09-21 05:45:27 Private mvarArrivalTimes As Integer '局部复制
Private mvarRoomNights As Integer '局部复制
Private mvarNoShow As Integer '局部复制
Private mvarCancellation As Integer '局部复制
Private mvarAccumulationA As Single '局部复制
Private mvarAccumulationB As Single '局部复制
Private mvarAccumulationC As Single '局部复制
Private mvarAccumulationD As Single '局部复制
Private mvarScore As Integer '局部复制
Public Function SearchGuest(Conn As Variant, ByVal StrSql As String,Msg As string) As Variant
Dim SearchGuestRs As New ADODB.Recordset
On Error GoTo SearchGuest_Error
SearchGuestRs.Open StrSql, Conn, 3, 1
If Not SearchGuestRs.BOF Then
Set SearchGuest = SearchGuestRs
End If
ExitFunction
SearchGuest_Error:
Msg=Err.Description
End Function
这么个类怎么写成dll啊。可以指导一下吗?谢谢