tobject Posted August 10, 2010 Share Posted August 10, 2010 Never used DllCall before and I need some help 1st I need to get a referece to an object Dim tw As New TwitterVB2.TwitterAPI when I need to call GetAuthorizationLink function Dim Url as String = tw.GetAuthorizationLink(ConsumerKey,ConsumerKeySecret) How do I get a reference ot an object? dllCall($Dll,"handle","TwitterVB2.TwitterAPI") returns 0 Thanks Global $Tw; Global $ConsumerKey="xxxx"; Global $ConsumerKeySecret="xxxxx"; $Dll=DllOpen("TwitterVB.dll"); $Tw=dllCall($Dll,"handle","TwitterVB2.TwitterAPI"); $sURL=$Tw.GetAuthorizationLink($ConsumerKey,$ConsumerKeySecret) ;$Tw=dllCall($Dll,"str","GetAuthorizationLink","str",$ConsumerKey,"str",$ConsumerKeySecret); Link to comment Share on other sites More sharing options...
trancexx Posted August 10, 2010 Share Posted August 10, 2010 You can't. You probably wouldn't understand why so there is no point in explaining it. This is out of your league. Learn more. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
tobject Posted August 10, 2010 Author Share Posted August 10, 2010 I'd thank you for the joke, but you would not understand why. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now