View previous topic :: View next topic |
Author |
Message |
.lua Expert Cheater
Reputation: 1
Joined: 13 Sep 2018 Posts: 202
|
Posted: Sun Feb 13, 2022 11:41 am Post subject: How to createobject |
|
|
This code will dm2.DLL registered to the system
Code: | shellExecute('cmd','/c regsvr32 dm2.dll ',nil,0) |
This is the simulation of keys in vbs script
Set dm = createobject("dm.dmsoft")
dm.KeyPressChar "W"
Because it's not a dynamic link library, it's just a COM component
If you can create its object, you may call the function
Description: |
|
Filesize: |
74.07 KB |
Viewed: |
1309 Time(s) |

|
Description: |
|
Filesize: |
66.24 KB |
Viewed: |
1309 Time(s) |

|
|
|
Back to top |
|
 |
Frouk Grandmaster Cheater
Reputation: 5
Joined: 22 Jun 2021 Posts: 510
|
Posted: Sun Feb 13, 2022 2:14 pm Post subject: |
|
|
why do you need this?
you can't create object and use it functions if its dll,otherwise if its lua file then that ok
Those functions aren't confirmed
|
|
Back to top |
|
 |
.lua Expert Cheater
Reputation: 1
Joined: 13 Sep 2018 Posts: 202
|
Posted: Mon Feb 14, 2022 4:39 am Post subject: |
|
|
Because I need to use it to simulate some buttons in the game。
The dokeypress that comes with CE doesn't work. The game may need to drive level simulation。
When calling signed functions, there will be an error prompt of access conflict, because they are not standard API interfaces, but just COM components。
|
|
Back to top |
|
 |
Frouk Grandmaster Cheater
Reputation: 5
Joined: 22 Jun 2021 Posts: 510
|
Posted: Mon Feb 14, 2022 7:16 am Post subject: |
|
|
can you show how you calling doKeyPress?
|
|
Back to top |
|
 |
|