How to join assembly code in VC?

zhaozj2021-02-08  481

How to join assembly code in VC? In fact, it is very simple, write to the compilation statement below: __ASM {

// Compilation statement

}

How do I know that the computer is connected to the Internet? You can use the following procedure to know if it is connected to the network. This is only available for RAS services, which is dial-up service. BOOL IsInternetConnected () {DWORD nRasDevices = 999; DWORD nSize = 999; RASCONN rasconnected [10]; rasconnected [0] .dwSize = sizeof (RASCONN); RasEnumConnections (rasconnected, & nSize, & nRasDevices); return (BOOL (nRasDevices)); } Of course, you can also use the following functions: BOOL InternetGetConnectedState (Out LPDWORD LPDWFLAGS, IN DWORD DWRESERVED); to determine whether it is connected to the Internet.

转载请注明原文地址:https://www.9cbs.com/read-863.html

New Post(0)