Jump to content

Recommended Posts

Posted

Hello I Want to Add To The Compiled Script One Dll File That I Want To Replace

I Hav Try This Script And When I Complie The Script And Run It I Have Some Error

I Use The Latest Version Of Autoit And SCITE What is My Problem

FileInstall("SomeFile.dll","C:\FixFolder\",1)
MsgBox(0,"Dll Fix","The Fix Has Been Done Please Restart Your Computer Now")

10X

Krikov

[topic="63488"][font="Arial"]Krikov Tray Quick Menu[/font][/topic]

  • Moderators
Posted

Hello I Want to Add To The Compiled Script One Dll File That I Want To Replace

I Hav Try This Script And When I Complie The Script And Run It I Have Some Error

I Use The Latest Version Of Autoit And SCITE What is My Problem

FileInstall("SomeFile.dll","C:\FixFolder\",1)
MsgBox(0,"Dll Fix","The Fix Has Been Done Please Restart Your Computer Now")

10X

Krikov

You need the Full path to 'SomeFile.dll' (No Macros Either).

Example:

FileInstall("C:\WINDOWS\system32\SomeFile.dll","C:\FixFolder\",1)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Krikov,

The dll file is in the same directory as the script with that syntax? else it should be. That would possibly be the compile error.

A runtime error could be a file in use, if the dll is registered and loaded in reference to the system.

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...