Jump to content
Sign in to follow this  
tobject

DLLCall help needed

Recommended Posts

tobject

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);

Share this post


Link to post
Share on other sites
trancexx

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

Share this post


Link to post
Share on other sites
tobject

I'd thank you for the joke, but you would not understand why.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.