Jump to content

Recommended Posts

Posted

I create a function Following:

Func _SSC_Auto($IE)
    ConsoleWrite("running"&@CRLF)
    Local $oEditor,$oSubmi,$text
                $text ="this is a string"
            
    $oEditor = _IEGetObjById($IE, "vB_Editor_QR_textarea")
    $oSubmit = _IEGetObjById($IE, "qr_submit")
    $numberwait = 0
    While((Not IsObj($oEditor)) And ($numberwait<10))
        Sleep(2000)
        $oEditor = _IEGetObjById( $IE, "vB_Editor_QR_textarea")
    WEnd
    _IEFormElementSetValue($oEditor, $text)
    _IEAction($oSubmit,"click")     
    Return 1
EndFunc

And in Main function I want to use DLL to call that Function

$IE = _IECreate("www.abc.com",0,1,1,1)
               $handle = DLLCallbackRegister ("_SSC_Auto", "int", "IE") 
               DllCall ( "user32.dll", "int", "_SSC_Auto" [, "type", param ] )

In function DllCall i dont know what type of paramater of _SSC_Auto Function .Because paramater of this function is object' IE

Please show me a solution for this. Thanks alot

Posted

Hi!

What is _SSC_auto? Google didn't even have a single result for it.

I could't see it as a exported function in user32.dll either.

Broken link? PM me and I'll send you the file!

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
×
×
  • Create New...