ddraw非法内存访问

必须在IDirectDrawSurface_Lock后引用DDSURFACEDESC2结构体的lpSurface成员才有效,否则非法内存访问,lpSurface不会是一直不变的,且不会在初始化调用IDirectDraw7_CreateSurface时被赋值。

StretchDIBits裂纹失真

在调用StretchDIBits之前,调一下下面这一句就不会出裂纹了。

SetStretchBltMode(hDC, COLORONCOLOR);

还有换成下面这一句,平滑效果更好些:

SetStretchBltMode(hDC, STRETCH_HALFTONE);

ftp找不到元素

打开IE浏览器,再Internet选项,高级,点击重置按钮,重置IE所有设置,ftp就可连接得上了。

手机听VOA美国之音的方法

在网上找相应的APP找了很久,现在都没APP可直接听美国之音的了,是版权问题?

其实只要知道传输原理,就可很方便地用手机听到美国之音了。

先下个能播放网络音频流的APP,比如VLC,到http://www.videolan.org/有下,有安卓版的。

再播放这个地址:VOA

euhat-replayer-v3.1.3.2

This is a mouse and keyboard record-replayer in Windows. It has a feature of targeting window basing on window's relative location, so its replaying ability upgrades very obviously.

Here is the official site of Euhat Replayer or Euyao Replayer.

Download link: euhat-replayer-v3.1.3.2.zip

Backup link: http://pan.baidu.com/s/1pJqiRDh

Backup link: http://1drv.ms/1Ci4Nzl

Backup link: http://xiazai.zol.com.cn/detail/43/429997.shtml

euhat-language-v0.7.0.8

Euhat language is very similar to C language, but she does not need to compile first, she can directly run.

Euhat language can directly call windows api or dll api.

The entrance code file must have a "main" function, and it should include all relative code files through include instruction. so this method allows us run all the code files without writing makefile.

Definition is composed of function definition, structure definition, normal variable definition and func variable definition. The default accessability of definition in a code file is accessable among all code files. If you want definition not shared by other code files, you need to add "static" keyword in front of the definition statement.

An entrance code file and its relative code files construct a program, you can compile a program into a binary file which you can protect your right for un-disassembling, through compilation, you will find a syms file generated, which contains meaningful variable name to non-meaningful variable name projection, you can use it debug you program, and keep it secret not publishing.

Download link: euhat-language-v0.7.0.8.zip

Backup link: http://pan.baidu.com/s/1sj19Inb

Backup link: http://1drv.ms/1vic9DB