摘要: void __fastcall TForm1::Button1Click(TObject *Sender) { TStringList *FileList = new TStringList(); SearchDir("c:\WINNT", FileList); Memo1->Lines->Assi 阅读全文
posted @ 2016-02-25 15:52 風行 阅读(537) 评论(0) 推荐(0) 编辑
摘要: // // MODULE: Ado.h // // AUTHOR: Carlos Antollini // // Date: 6/28/2001 // // Version 1.2 // #ifndef _ADO_H_ #define _ADO_H_ #if _MSC_VER >= 1000 #pr 阅读全文
posted @ 2016-02-25 15:51 風行 阅读(1406) 评论(0) 推荐(0) 编辑
摘要: #import "c:test.dll" using namespace test; HRESULT ComInit() { HRESULT hr = S_OK; if FAILED(CoInitialize(NULL)) { CoUninitialize(); hr = E_UNEXPECTED; 阅读全文
posted @ 2016-02-25 15:49 風行 阅读(321) 评论(0) 推荐(0) 编辑
摘要: DECLARE @DateTimeVaue VARCHAR(30) SET @DateTimeVaue = '20130402140837' -- 2013/04/02 14:08:37 --使用字串函數先將字串轉成日期格式字串再轉成DateTime (20130402140837 => 20130 阅读全文
posted @ 2016-02-25 15:49 風行 阅读(163) 评论(0) 推荐(0) 编辑
摘要: BOOL CDcmAssit::MultibmpConvertToDCM(const char * filename , const char * outputfilename ) { OFCondition status; DcmFileFormat fileformat; DcmDataset* 阅读全文
posted @ 2016-02-25 15:48 風行 阅读(763) 评论(0) 推荐(0) 编辑
摘要: 同样编译DCMTK之后会在相对应的APP文件夹下产生dcmpsprt.exe以及dcmprscu.exe这两个程序 使用命令: D:/>dcmpsprt -v -c dcmpstat.cfg –printer PRINTER image.dcm 会在database目录下生成三个文件 然后在使用命令 阅读全文
posted @ 2016-02-25 15:47 風行 阅读(293) 评论(0) 推荐(0) 编辑
摘要: void WriteLog(CString Msg) { CTime tm =CTime::GetCurrentTime(); CString str = tm.Format("%Y-%m-%d-%H-%M-%S"); CString sPage = str + " "+Msg+"r"+"n"; C 阅读全文
posted @ 2016-02-19 12:58 風行 阅读(1098) 评论(0) 推荐(0) 编辑
摘要: 今天是学习Python的第一天,主要学习了python的输入,输出以及基本配置,记录如下代码# -*- coding: utf-8 -*-print ('Please input your name :\n')name = input()print ('Please input your money... 阅读全文
posted @ 2016-01-13 15:56 風行 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 设置在C++builder中,使程序有自启动功能void __fastcall AutoRun(bool pRun){ /**//****************************************************** ** 函数名: AutoRun ** 输入: 是否... 阅读全文
posted @ 2015-12-29 09:56 風行 阅读(229) 评论(0) 推荐(0) 编辑