Peter Gerber
July 23rd, 1999, 01:47 AM
I just wrote my first dll's an ocx's and I needed to pass the Form object as a parameter to a public routine inside the dll. It all works fine as Function but trying to compile it to an activeX dll rises the error message that a user defined type is not allowed in a public member module.
Usually the word 'Form' turns blue after typing it as a hint that it is recognized as a BuildIn Type. Here it stays black, as well as other types like 'Control'.
The Procedure Call in the Dll is:
Public Sub LoadResStrings(ByVal frm As Form, ByVal sSEP As String, ByVal iLanguage As Integer)
Thanks fo any help
Pete
Pete
Usually the word 'Form' turns blue after typing it as a hint that it is recognized as a BuildIn Type. Here it stays black, as well as other types like 'Control'.
The Procedure Call in the Dll is:
Public Sub LoadResStrings(ByVal frm As Form, ByVal sSEP As String, ByVal iLanguage As Integer)
Thanks fo any help
Pete
Pete