Home > Software engineering >  Inquire of winsock encapsulated into a DLL
Inquire of winsock encapsulated into a DLL

Time:09-22

Rt, I put the winsock control encapsulated into a DLL (UDP), the control is to monitor port to charge, the problem is to the DLL when the incoming data is ok, because it performs a don't need to return, then how I'm going to charge data after coming,,,, this packaging as if does not have been listening to the window, is to call the DLL is done to shut down instantly,,,, how to solve ah,,,, urgent urgent

CodePudding user response:

With "control" as if must have a window to the right,

Do you want to use "of" pure API function modules, can be packaged into a DLL,

CodePudding user response:

You are using AcitveX DLL?
Can you load the window?
If you can, you put the WinSOCK control window, don't show it to go after the Load form bai,

CodePudding user response:

refer to the second floor Chen8013 response:
is the AcitveX DLL you use?
Can you load the window?
If you can, you put the WinSOCK control window, don't show it to go after the Load form bai,


Right, do not show, but I checked the port is not binding, this form is not running in the background

CodePudding user response:

refer to the second floor Chen8013 response:
is the AcitveX DLL you use?
Can you load the window?
If you can, you put the WinSOCK control window, don't show it to go after the Load form bai,


In the DLL can put a window, can use winsock, I winsock can receive incoming data, because I to enter port is ok, but wait for it to monitor port as if there's no way

CodePudding user response:

reference 4 floor love271832638 response:
Quote: refer to the second floor Chen8013 response:

You are using AcitveX DLL?
Can you load the window?
If you can, you put the WinSOCK control window, don't show it to go after the Load form bai,


In the DLL can put a window, can use winsock, I winsock can receive incoming data, because I to enter port is ok, but wait for it to monitor port if there's no way

Put the "form" of course, as long as the legal code grammar, have what can't be...
The key is you need to be able to correctly implement "the Load form XXX" just line!


CodePudding user response:

QQ2776478814, I often do this, find me
  • Related