|
-
May 13th, 2002, 01:28 PM
#1
Thread Starter
New Member
calling a function from activeX dll
Is it possible to access a function in an axtiveX dll without including the source code in the project? I know I can call a function from other dlls i.e. :
Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
from then on you can just call GetCursorPos from your app, but this is a windows type dll... can the same be done with a vb activeX dll?
I know I can include the source code, and declair a new whatever to call the function, but I am trying to create a dll I can give to other programers to use so they can't (easily) get my source code, but they can still use my functions...
anyone ever done this? when I try something like:
Declare Function MyFunction Lib "mydll.dll"
I get an error: "Run Time Error 453: Cannot find entry point MyFunction in "mydll.dll"
anyone knwo what I may be doing wrong?
thanks in advance...
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
|