Sign in to follow this  
Followers 0
devilyn

DLLCALL question

5 posts in this topic

#1 ·  Posted (edited)

i'm trying to call a dll but my script is crashing all the time. can someone please point me to the right call.

function description from the dll document

Description Establishes a connection to a Player object on a particular Director

ReturnError PlrOpen(

const TCHAR * pDN,

const TCHAR * pPN,

Handle * pPH);

thanks

Edited by devilyn

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Maybe something like this

$result = DllCall("name.dll", "int", "PlrOpen", "str", $pdn, "str", $ppn, "hwnd", $pph)

Thank you but its still crashing.

i uploaded the full document page of this function.

thanks again.

Edited by devilyn

Share this post


Link to post
Share on other sites

It's this:

$aCall = DllCall("name.dll", "long", "PlrOpen", "str", $sDN, "str", $sPN, "handle*", 0)
$hHandle = $aCall[3]

Only thing that could be wrong is calling convention (read help file to get it right).


♡♡♡

.

eMyvnE

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  
Followers 0