DLL
Publicado por Gcko (2 intervenciones) el 28/05/2006 23:57:18
Hola buen dia para todos, tengo un porblema cree un DLL activeX y puse este codigo
Public Function Aleatorio(a As Integer, c As Integer, m As Integer, Optional inicio As Boolean) As Double
Static x
If inicio Then x = Second(Time)
x = ((a * x) + c) Mod m
Aleatorio = x / m
End Function
luego genere un .dll
cuando lo quiero llamar en otro proyecto me aparece un mensajeen esta partee
Private Sub Form_Load()
aleatorio txtA, txtC, txtM, True
End Sub
"procedure sub o function no definido"
ya esta agregado en referencias.
Me aparece esto
"procedure sub o function no definido"
Gracias
Que hago !!!!!!!!!!
Public Function Aleatorio(a As Integer, c As Integer, m As Integer, Optional inicio As Boolean) As Double
Static x
If inicio Then x = Second(Time)
x = ((a * x) + c) Mod m
Aleatorio = x / m
End Function
luego genere un .dll
cuando lo quiero llamar en otro proyecto me aparece un mensajeen esta partee
Private Sub Form_Load()
aleatorio txtA, txtC, txtM, True
End Sub
"procedure sub o function no definido"
ya esta agregado en referencias.
Me aparece esto
"procedure sub o function no definido"
Gracias
Que hago !!!!!!!!!!
Valora esta pregunta


0