大悟还俗

邮箱 key_ok@qq.com 我的收集 http://pan.baidu.com/share/home?uk=1177427271
  新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年10月29日

摘要: http://www.ccrun.com/ C++Builder 阅读全文

posted @ 2013-10-29 15:41 大悟还俗_2 阅读(291) 评论(0) 推荐(0) 编辑

摘要: 1. 首先需要设置程序生成 map 文件。Project -> Options -> Linker -> Map file , Detailed2. 计算公式Edit2.Text := IntToHex(StrToInt('$'+ Edit1.Text) - StrToInt('$00400000') - StrToInt('$00001000'), 8) ;将看到的地址错误,输入到 Edit1 中。3. 从 Map 文件中查这个地址。一般直接查是找不到的。根据获得的 Edit2 中的值。删掉最后 1 位,或者 2 位,查。得到 阅读全文

posted @ 2013-10-29 14:58 大悟还俗_2 阅读(1325) 评论(0) 推荐(0) 编辑

摘要: uses Winapi.GDIPAPI, Winapi.GDIPOBJ{, Winapi.GDIPUTIL};procedure TForm1.FormPaint(Sender: TObject);var graphics: TGPGraphics; pen: TGPPen;begin graphics := TGPGraphics.Create(Canvas.Handle); pen := TGPPen.Create(MakeColor(255,0,0)); graphics.DrawRectangle(pen, MakeRect(11, 22, 33, 44)); pen.Fr... 阅读全文

posted @ 2013-10-29 13:58 大悟还俗_2 阅读(212) 评论(0) 推荐(0) 编辑