Feb 6 2010

各种影视资源不同版本和文件格式解释

Category: MISC Ryan @ 19:51
CAM(枪版) - CAM通常是用数码摄像机从电影院盗录。即所谓的“电影版”,有时可以使用小三角架在电影院进行盗录,但大多数时候不可能,除非管理员是你家亲戚或者你把管理员都干掉了,出于这种原因摄像机会经常抖动。并且由于声音是从摄像机自带的话筒录制,所以经常会录到观众的笑声等声音,尤其是喜剧片。因为这些因素,图象和声音质量通常都很差。我们平常说的枪版就是CAM版。 TELESYNC (TS) - TS比CAM优越的地方是,在偷录的时候使用了外置的音源(一般是影院座椅上为听力不好的人而设的耳机孔),但是这并不代表TELESYSNC(TS) 比CAM好很多,外置的音源通... [More]

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 5 2010

Win32 API Programming Tutorial - Dialog FAQ

Example: dlg_three Now don't get me wrong, this is a Tutorial, not a Reference, but some questions people ask SO often that I figured I might as well include them here. Changing Colours In general, the only reason you'd want to do this is to simulate an link on a dialog box or some ... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 5 2010

Win32 API Programming Tutorial - Standard Controls: Button, Edit, List Box

Example: ctl_one I realize I've already used buttons in previous examples, so you should already be more or less familiar with them, however I figured that since I was using them in this example I might as well add it to the title for the sake of being complete. Controls One thing to remember... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 5 2010

Win32 API Programming Tutorial - Modeless Dialogs

Example: dlg_two Now we take a look at CreateDialog(), DialogBox()'s sister function. The difference is that while DialogBox() implements it's own message loop and does not return untill the dialog is closed, CreateDialog() acts more like a window created withCreat... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 5 2010

Win32 API Programming Tutorial - Dialogs, GUI coders best friend

Example: dlg_one There's hardly a windows program out there that doesn't use dialog boxes. Just go File -> Open in any text editor or any other kind of editor for that matter and voila, you are presented with a dialog box, one that probably allows you to select a file to be opened. Dialogs ar... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 5 2010

Win32 API Programming Tutorial - Menus and Icons

Example: menu_one This is just a small section to show how to add basic menus to your window. Usually you use a pre-made menu resource. This will be in an .rc file and will be compiled and linked into your .exe. This is rather compiler specific, commercial compilers will have a resource editor ... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 5 2010

Win32 API Programming Tutorial - Using Resources

You may also want to refer to the Appendices at the end of this tutorial for more information on resources with VC++ and BC++. Before we get any deeper I will cover the topic of resources so that I won't have to re-write it for each section.You don't actually need to compile the stuff in this sec... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 5 2010

How to run a scheduled task via a batch job

Category: Windows Ryan @ 02:52
Assuming XP...C:\>schtasks /?SCHTASKS /parameter [arguments]Description:Enables an administrator to create, delete, query, change, run andend scheduled tasks on a local or remote system. Replaces AT.exe.Parameter List:/Create Creates a new scheduled task./Delete Deletes the scheduled task(s)./Que... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 4 2010

Fixed: Solve fatal error RC1004: unexpected end of file found in C++ resource.h header file

Category: Programming | Windows Ryan @ 02:00
The issue: Always get fatal error RC1004: unexpected end of file found while building. The Sample file as below [resource.h] #define IDI_MYICON 101#define ID_FILE_EXIT 401 [test.rc]   #include "resource.h"#include <tchar.h>IDI_MYICON ICON _T("money.ico")/// MenusIDR_MYMENU MENUBEGIN... [More]

Tags: , ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 3 2010

Win32 API Programming Tutorial - Understanding the Message Loop

Understanding the message loop and entire message sending structure of windows programs is essential in order to write anything but the most trivial programs. Now that we've tried out message handling a little, we should look a little deeper into the whole process, as things can get very confusing... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 3 2010

Win32 API Programming Tutorial - Handling Messages

Example: window_clickAlright, we've got a window, but it doesn't do anything except what DefWindowProc() allows it to, like be sized, maximised, etc... Not really all that exciting.In the next section I am going to show you how to modify what you already have to do something new. This way ... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Feb 3 2010

Win32 API Programming Tutorial - A Simple Window

Example: simple_window Sometimes people come on IRC and ask "How do I make a window?"...Well it's not entirely that simple I'm afraid. It's not difficult once you know what you're doing but there are quite a few things you need to do to get a window to show up; And they're more than can be simply... [More]

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5