Home > Software engineering >  Provide the external interface exe
Provide the external interface exe

Time:09-17

I have an exe program I would like to provide an interface that calls for another program, want the interface to make it a DLL file, could you tell me how to write this should be

CodePudding user response:

Pulled out function code rewritten into a DLL is luo

Or open a pipe (or other method of communication between processes), let other programs to indirect call your interface through a pipe

CodePudding user response:

CodePudding user response:

Create a DLL project, take an examination of the past, the code EXE for interface to provide export the corresponding function

CodePudding user response:

reference 1st floor shenyi0106 response:
pulled out function code rewritten into a DLL is luo

Or open a pipe (or other method of communication between processes), for other applications via pipelines to indirect call your interface

The DLL is not I want to have the function of exe just want to get the data in the exe, exe is, of course, can be changed but I don't know how to do, can you give directions in more detail

CodePudding user response:

reference CharlesSimonyi reply: 3/f
create a DLL project, take an examination of the past, the EXE code for interface to provide export corresponding function

The DLL is not I want to have the function of exe just want to get the data in the exe, exe is, of course, can be changed but I don't know how to do, can you give directions in more detail

CodePudding user response:

Related functions in the exe encapsulated into a DLL, provides the necessary interfaces,

CodePudding user response:

EXE and DLL can use inter-process communication technology to transfer data between Windows interprocess communication can be used on the pipeline, mail slot, Shared memory, WM_COPYDATA, DLL Shared section, etc.,

CodePudding user response:

I just have this demand, why no one PC do similar WeChat open android/apple firmware interface?
  • Related