-
hi all,
I am creating a ActiveX DLL proj. in the declaration section i am using the below code:
Public Type ComboIndexType
ID As Variant
Value As Variant
Other As Variant
End Type
After it has been converted to DLL the public type is not getting exposed in the client.problem is Illegal operation.....
any1 suggest me out....
kandan.
-
You have to declare a variable of that type:
Code:
Public Type ComboIndexType
ID As Variant
Value As Variant
Other As Variant
End Type
Public tComboIndexType As ComboIndexType
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819
[This message has been edited by Serge (edited 12-15-1999).]
-
Hi serge,
Thanx for ur response..butt while i am making that proj. into DLL its giving compile time error..
User-Defined type and declare statements not allowed as public members of object modules.
plzzz help me out from this...
kandan.
-
Because you're probably declaring it in a Class Module. If yes, then change it to Private and still have your variable tComboIndexType As ComboIndexType as Public.
Code:
Private Type ComboIndexType
ID As Variant
Value As Variant
Other As Variant
End Type
Public tComboIndexType As ComboIndexType
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819
[This message has been edited by Serge (edited 12-16-1999).]
-
hi serge,
Still the same problem....same error giving....
help me out....
kandan