sgufa Posted May 8, 2007 Share Posted May 8, 2007 how to manage this with autoit if possible?here's the C code#include #include typedef void (__declspec(dllimport) *STARTSERVER)(char *, char *,char *,int,char *); //void Start_server(char *ID, char *repeater,char *direct,int port,char *passwd,bool proxy); //BETA7 typedef void (__declspec(dllimport) *STARTSERVER)(char *, char *,char *,int,char *,bool); int main(int argc, char* argv[]) {HMODULE hDLL = LoadLibrary ("1SCDLL.dll"); STARTSERVER pStart_server; if (hDLL != NULL) {pStart_server = (STARTSERVER) GetProcAddress(hDLL,"Start_server"); if (!pStart_server) { // handle the error FreeLibrary(hDLL); return 0; } else { // call the function pStart_server("","","localhost",5500,""); // Beta 7 pStart_server("","","localhost",5500,"",0); } } return 0; } Link to comment Share on other sites More sharing options...
sgufa Posted May 8, 2007 Author Share Posted May 8, 2007 found here Link to comment Share on other sites More sharing options...
ghetek Posted July 30, 2007 Share Posted July 30, 2007 found heredid you get that script working? I am very interested in the outcome. Link to comment Share on other sites More sharing options...
thor918 Posted September 13, 2007 Share Posted September 13, 2007 (edited) did you get that script working? I am very interested in the outcome.looks like he did!http://forum.ultravnc.info/viewtopic.php?p=40190http://therap.svn.sourceforge.net/viewvc/t...20by%20Piccaso/looks like it's a part of a bigger project built in autoithttp://sourceforge.net/projects/therap/ Edited September 13, 2007 by thor918 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now