TLikins
-Interested User-
Posts: 32
Joined: Jul 11, 2005
Howdy
|
Posted: Oct 6, 2005 10:14 AM
Msg. 1 of 1
I'm trying to lookup symbols using a function in one of the DTN libraries. The reference manual specifies the way to call these function. 1. Enable the lib in the references (check) 2. Declare sub or function - here'e mine. Private Declare Sub LookupSymbol Lib _ "C:\Program Files\DTN\IQFeed\DTNSymbollookup" (Symbol As String, Results As String)
Sub getsymbol() Dim Symbol As String Dim Results As String Symbol = "IBM" Call LookupSymbol(Symbol, Results) Debug.Print Results End Sub
3. Step into sub. 4. Fails at Call - Error message states:
Run-time error '453' Can't find DLL entry point LookupSymbol in C:\Program Files\DTN\IQFeed\DTNSymbollookup.
I've tried variation in these parameters but it's not working. Any ideas about what's wrong?
Thanks for your help!
|