Jump to content

RunDll32 Refs


MattX
 Share

Recommended Posts

Just a quickie - someone pointed out this excellent site the other day:

http://www.dx21.com/SCRIPTING/RUNDLL32/REF...E.ASP?ISF=0&P=A

Which I have been using in various batch progs. My question is can you call RunDLL32's from within Autoit ?

I have only done one and my way to get around it was to call the DLL from a CMD file I already made with relevant DLL line in. I would rather call it from Autoit - if this can be done - can someone explain how + [ me being rather sad I still use Autoit Ver 2 for some of my stuff ] can you use it there also ?

Link to comment
Share on other sites

  • Developers

Just a quickie - someone pointed out this excellent site the other day:

http://www.dx21.com/SCRIPTING/RUNDLL32/REF...E.ASP?ISF=0&P=A

Which I have been using in various batch progs. My question is can you call RunDLL32's from within Autoit ?

I have only done one and my way to get around it was to call the DLL from a CMD file I already made with relevant DLL line in. I would rather call it from Autoit - if this can be done - can someone explain how + [ me being rather sad I still use Autoit Ver 2 for some of my stuff ] can you use it there also ?

<{POST_SNAPBACK}>

Why not just do a RunWait() for RUNDLL32 ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

runwait(), RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4    ?

<{POST_SNAPBACK}>

Ver3:

Runwait("RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4")

Ver2:

SetEnv,temp,RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4
Runwait,%temp%

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Ver3:

Runwait("RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4")

Ver2:

SetEnv,temp,RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4
Runwait,%temp%

<{POST_SNAPBACK}>

Thankyou and thankyou again - I have no idea what I would do without this forum.
Link to comment
Share on other sites

  • Developers

Thankyou and thankyou again - I have no idea what I would do without this forum.

<{POST_SNAPBACK}>

no problem...

by the way... it's better use a different env. variable name for temp.

Temp is ofcourse already used and you don't want to change that... :)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...