|
-
July 23rd, 1999, 01:47 AM
#1
'Form' object unknown as BuildIn Type in ActiveX
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|