LSS and DLL support

Ask for Help on Using the Language With Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

LSS and DLL support

Postby Ereb » Sun Jul 13, 2008 8:19 am

My apologies for the repetitive posting, i really like this software. I am currently working on sendkey support for [url = "http://hackshields.com/product.html"] hackshield pro [/url] because the standard KeyboardEvent() is mysteriously blocked. My solution thus far has been to use the working AutoIt3 commands Send and SendCommand, so i decided to use the AutoItX3.dll and the AutoIt3.h in hopes that it would work similarly to C / C++ with lss. No go.
Code: Select all
#include "AutoIt3.h"
void send_keys(){
   AU3_Send("Hello There");
}

void On_HK_1(){
   send_keys();
}

I recieve errors about the syntax of the first defined funtion in AutoIt3.h on line 36 (won't attach rather large file i'll post a link later). so how would one actually "include" a dll in lss. I'm assuming i'm missing something rather simple here so my apologies in advance. [/code]
Microsoft: "You've got questions. We've got dancing paperclips."
User avatar
Ereb
Hackleberry Fin
 
Posts: 20
Joined: Sat Jul 12, 2008 7:34 pm

Postby L. Spiro » Sun Jul 13, 2008 9:36 am

L. Spiro Script is a custom language with syntax close to but not exactly C. You can include many, but not all C header files. You can not include any C++ header files (unless they were written without using any C++ additions).

I will add the ability to load DLL’s and call their functions in the next release.
And L. Spiro Script does not link to DLL’s or external libraries so you usually do not need to include header files. You may want to extract struct/union/class definitions from them, however (convert classes to structs).

I will try to make a release with the ability to call functions from loaded DLL’s tonight, after getting out of the hospital.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby Ereb » Sun Jul 13, 2008 10:25 am

Ty so much, that really clears things up :)
and get well soon
Microsoft: "You've got questions. We've got dancing paperclips."
User avatar
Ereb
Hackleberry Fin
 
Posts: 20
Joined: Sat Jul 12, 2008 7:34 pm

Postby L. Spiro » Sun Jul 13, 2008 9:38 pm

MHS 5.000


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby Ereb » Mon Jul 14, 2008 1:26 am

awesome work. ty so much.
Microsoft: "You've got questions. We've got dancing paperclips."
User avatar
Ereb
Hackleberry Fin
 
Posts: 20
Joined: Sat Jul 12, 2008 7:34 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron