摘要:
Video Manager and Video Title Set IFO file headersOffsetsizeVMG IFO ContentsFile StructuresVTS IFO Contents000012DVDVIDEO-VMGVMG Files00000000Video_ts.ifo(001C)->(00C0)->Video_ts.vobVideo_ts.bup(000C)->VTS Files Vts_xx_0.ifo00000000<-(001C)Vts_xx_0.vob<-(00C0)Vts_xx_1.vob:Vts_xx_9.vob 阅读全文
摘要:
//取Exif信息functionGetExifItem(GPImage:TGPImage;ItemID:PROPID):String;varPropSize:UINT;PropItem:PPropertyItem;S:PChar;S1,S2:String;beginPropSize:=GPImage.GetPropertyItemSize(ItemID);ifPropSize=0thenbeginResult:='';Exit;end;GetMem(PropItem,PropSize);GPImage.GetPropertyItem(ItemID,PropSize,PropI 阅读全文
摘要:
1、写注册表lResult = Registry.DoesKeyExist(HKEY_LOCAL_MACHINE, "SOFTWARE\\MapInfo\\MapX\\5.0");if not lResult thenRegistry.CreateKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\MapInfo\\MapX\\5.0"); end;Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\MapInfo\\MapX\\5.0", "ProgramDi 阅读全文
摘要:
Delphi端发消息,VC接收消息参见:VC Delphi WM_COPYDATA 消息本节是VC发消息,DELPHI端接收,VC字符集分为“Unicode”和”多字节“。VC---->Unicode发送端代码:CString strSend = "要发送的信息";strSend.ReleaseBu... 阅读全文
摘要:
原文地址:http://www.cnblogs.com/chinadhf/archive/2010/09/03/1817336.html本文描述了使用ATL开发一个ActiveX控件的完整过程。一、创建项目单击起始页中的“New Project…”,选择“ATL”分类下的“ATL Project”项目,项目名称为“Calculator”。在随后出现的项目向导中,使用默认配置即可。二、添加控件在解决方案管理器中的项目上右击,依次选择“Add”、“Class”,在添加类对话框中选择ATL分类下的ATL Control类型。单击“Add”按钮,将会出现添加ATL Control向导。在向导的第二步中 阅读全文
摘要:
#include"qt_xsp.h"#include<iostream>#ifdef__cplusplusextern"C"{#endifHRESULTexternWINAPIWFPCancelAsyncRequest(HSERVICEhService,REQUESTIDRequestID){returnWFS_SUCCESS;}HRESULTexternWINAPIWFPClose(HSERVICEhService,HWNDhWnd,REQUESTIDReqID){returnWFS_SUCCESS;}HRESULTexternWINAPI 阅读全文
摘要:
HANDLEhThread;voidSpeakThread(LPVOIDpParam);DWORDdwThreadId,dwThrdParam=1;voidCSound::Begin(void){//TODO:在此添加实现代码hThread=CreateThread(NULL,//defaultsecurityattributes0,//usedefaultstacksize(LPTHREAD_START_ROUTINE)SpeakThread,//threadfunction&dwThrdParam,//argumenttothreadfunction0,//usedefaultcr 阅读全文
摘要:
HANDLE hThread; void SpeakThread(LPVOID pParam);DWORD dwThreadId, dwThrdParam = 1; void CSound::Begin(void){ // TODO: 在此添加实现代码 hThread = Crea... 阅读全文
摘要:
#include "qt_xsp.h"#include #ifdef __cplusplusextern "C" {#endifHRESULT extern WINAPI WFPCancelAsyncRequest ( HSERVICE hService, REQUESTID RequestID){... 阅读全文
摘要:
Run-Time Check Failure #3 - The variable 'comstat' is being used without being initialized.参考:http://blog.sina.com.cn/s/blog_5d2412000100ojx3.html方案1: 改变项目配置属性 一种解决方案是改变基本运行时检查(changing the runtime checks in project settings):在菜单Project->Project properties-> C/C++ -> Code generation 阅读全文