delphi2007 很大的乙個bug

2021-09-08 03:12:09 字數 456 閱讀 2633

delphi2007 很大的乙個bug

2010-05-19 22:08

剛才用delphi2007做三層的系統,在伺服器端已經編譯並執行了remote data module ,但是客戶端的servername地方怎麼也不出來我剛才編譯的那個遠端伺服器的名字,點解?

後來想起這個以前已經解決過這個問題,這是delphi的乙個bug,在remote data module 裡面漏了一句關鍵的comserver.updateregistry(true); 補上即可 。

原文:initialization

tcomponentfactory.create(comserver, ttrain,

class_train, cimultiinstance, tmapartment);

comserver.updateregistry(true); 就是這句!!!!!

Delphi2007的新功能之呼叫chm型別幫助

在delphi2007中的windows單元增加了許多api函式,其中就包括 function htmlhelp hwndcaller hwnd pszfile pchar ucommand uint dwdata dword hwnd function htmlhelpa hwndcaller h...

建立乙個很大的EMP表 EMP LARGE

create table emp large as select from emp 先複製一張emp表 declare 宣告變數 v loop number v num number too large exception begin 開始執行 for v loop in 1 100 loop em...

第乙個delphi程式

unit unit1 inte ce uses windows,messages,sysutils,variants,classes,graphics,controls,forms,dialogs,stdctrls var flag integer var n1 cardinal type tfor...