Jump to content

request for a function!


lgvlgv
 Share

Recommended Posts

Not really a request more of a wish :graduated:

i seen some of u fantastic programmers work with importing dlls and stuff in ur apps.

ive also seen some great remotecontrol software from u guys, now im wondering if some one is interested in makeing a vnc wrapper or what u call it with this?

http://www.uvnc.com/docs/pchelpware.html

(on the bottom of the page)

unfortually im own skills is only to use what u guys make with small modifications ;)

PcHelpware API

For developers who want to incorporate Remote Control into their product, PcHelpware can be utilised as another DLL, allowing for full integration into your application.

Custom development

Here is the minimum code needed to make an PCHelpware Server executable.

This sample start a loopback connection on port 5500

Please see the forum for more details

#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

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