|
-
Mar 21st, 2002, 06:41 PM
#1
Thread Starter
Junior Member
Creating ActiveX DLL with Global Functions
Howdy,
I made an ActiveX DLL called myDLL. In this I had a class called myDate and a member of that class was
LastDayOfMonth(Date datSourceDate) as integer
I could see the function in the library browser (or whatever F2 is) as a global function (as well as a member of myDate)
Thus I could call it from my project as
myInteger = LastDayOfMonth( CDate("2001-12-27") )
and
myInteger = someDateObject.LastDayOfMonth...
My problem now, is that I can't seem to do it again !
ie. I'm making a DLL and I want it to have global functions which I can use without having to instantiate objects but to no avail.
Why ?????
& Also, is there an equivalent of "static" which I can use, ie to call a member method using the class rather than an object?
Thanks in advance
Damian Del Campo
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
|