| Desktop | Multimedia | Database | Net and Internet |
| Security | System | Free books |
Loading an Image RapidlyIn the DirectDraw load images I described and example of loading images. The image was drawn on the surface using the StretchBlt() GDI function. The performance speed of this function leaves a lot to be desired, so now a more rapid function for loading bitmap images will be considered.Read full version: Loading an Image Rapidly |
Author: .NET Developer Date: 2012-02-03
|
Port Status on a Local ComputerIf you need to know the port status on a local computer, you don't have to scan its ports. There is a better method: Get the status of all the ports using the GetTcpTable function. You'll obtain comprehensive information that can be arranged in a table with the following columns:Read full version: Port Status on a Local Computer |
Author: CyD Software Labs Date: 2011-11-20
|
TCP/IP Sending/Receiving dataTCP/IP asynchronous functions allow you to implement the work with several clients simultaneously. In such a case a separate thread for exchanging messages would be excessive. Listing below contains an example, in which a server waits for a connection and works with a client within one function. Nevertheless, it can serve multiple clients simultaneously.Read full version: TCP/IP Sending/Receiving data |
Author: Michael Flenov Date: 2011-10-29
|
Creating network filesSometimes we need to create a file in a local network. It is very easy in Windows environment. It is as easy as creating a file on your local computer.Read full version: Creating network files |
Author: Michael Flenov Date: 2011-10-11
|
Working with a COM PortIn my work, I have to use the RS-232 interface often. This is the official name of the COM port. Contemporary hardware (such as controllers, information collecting devices, etc.) works via this port. Any modem, even an internal one, is accessed via this port. It is impossible to count external devices connected to this interface.Read full version: Working with a COM Port |
Author: Michael Flenov Date: 2011-10-02
|
DirectDraw: Drawing LinesWorking with graphics frequently involves drawing lines; DirectDraw, however, has no functions for drawing primitives as do the WinAPI and its GDI libraries. Where GDI offers all necessary primitives for drawing lines, rectangles, and circles, DirectDraw has none of these. It is possible to obtain the drawing context of a Direct-Draw surface and use the standard set of WinAPI functions; this, however, will only slow down the output speed, which is why it is best to forget that such a thing as GDI exists.Read full version: DirectDraw: Drawing Lines |
Author: Heapar Software Date: 2011-09-05
|
Fast window content updatingToday I want to talk about a small but really effective trick some game developers used in 90-x. Today’s hardware fast enough to render HD quality scenes, but we still can use it in some cases.Read full version: Fast window content updating |
Author: Heapar Software Date: 2011-09-02
|
Optimizing DirectXI always praised DirectX for having an ingenious solution to most problems; however, most of its interfaces are too universal, and sometimes it is better to do without them by locking a surface and accessing the surface memory directly.Read full version: Optimizing DirectX |
Author: Heapar Software Date: 2011-08-29
|
Sending and Receiving Data using WinsockToday I want to shaw how to use various methods and modes for exchanging data using WinSock. Sockets have two working modes, and you should learn how to use them correctly because this will make your programs faster and more effective.Read full version: Sending and Receiving Data using Winsock |
Author: CyD Software Labs Date: 2011-08-22
|
Processing Received DataYou should carefully verify all data received via the network. When it is necessary to control access to certain features by a password, I recommend that you first check the rights of executing the command. Then check the specified command and its parameters for correctness.Read full version: Processing Received Data |
Author: Michael Flenov Date: 2011-08-21
|