全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:881
推到 Plurk!
推到 Facebook!

怎樣能取得novel的登入名稱?

尚未結案
benxben
一般會員


發表:3
回覆:1
積分:0
註冊:2003-07-31

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-10-27 19:37:05 IP:202.175.xxx.xxx 未訂閱
當使用novel登入win xp後 怎樣在DELPHI能取得novel的登入名稱? 要不要使用什麼DLL檔案? thank you very much^^
P.D.
版主


發表:603
回覆:4038
積分:3874
註冊:2006-10-31

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-10-28 11:13:30 IP:61.71.xxx.xxx 未訂閱
引言: 當使用novel登入win xp後 怎樣在DELPHI能取得novel的登入名稱? 要不要使用什麼DLL檔案? thank you very much^^
你可能要用 nwlib 的工具, 不過因為novell已經式微, nwlib 能支援到何版 不知道, 我也沒有用過!
brucetsao
一般會員


發表:1
回覆:33
積分:11
註冊:2002-09-11

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-10-29 12:33:54 IP:61.219.xxx.xxx 未訂閱
function getwindowsuser():string; var sdir:string; nsize:dword; begin nsize:=254; setlength(sdir,254); if getusername(pchar(sdir),nsize) then begin setlength(sdir,strlen(pchar(sdir))); result:=sdir; end else begin result:=''; end; end;
pgdennis
資深會員


發表:41
回覆:526
積分:443
註冊:2002-05-23

發送簡訊給我
#4 引用回覆 回覆 發表時間:2003-10-29 17:04:55 IP:218.163.xxx.xxx 未訂閱
參考官方資料,年代久遠 http://developer.novell.com/research/devnotes/1996/august/04/ Writing NetWare Applications with Borland Delphi Borland's Delphi allows developers an extremely easy and efficient method to create object-oriented, event-controlled Windows applications with a minimum of coding. Therefore many programmers have switched to Delphi as their primary development platform. Typically Delphi makes Windows programming easier than other visual development platforms, while still allowing full access to all Windows events and direct source code. Delphi's component-based concept relieves the developer from much of the burden of creating a user interface and reacting to Windows events. This article shows how to write NetWare applications with 16- Contents        * Introduction     * Calling External DLLs from Delphi     * Using Generic Windows Network APIs     * Using NetWare DLL Functions     * Sample Code Snippets     * What Will You See Next?     * 3rd-Party Offerings     * Distributing Your Applications     * Where to Find Other Useful Information     * Accessing NetWare DLLs From Other Platforms     * Appendix: Function and Unit Cross Reference (16-bit Delphi) 
------
星期一,二...無窮迴圈@@
brucetsao
一般會員


發表:1
回覆:33
積分:11
註冊:2002-09-11

發送簡訊給我
#5 引用回覆 回覆 發表時間:2004-07-08 18:48:21 IP:218.162.xxx.xxx 未訂閱
如果windoss使用者與novell一同登入 可以用以下 function getwindowsuser():string; var sdir:string; nsize:dword; begin nsize:=254; setlength(sdir,254); if getusername(pchar(sdir),nsize) then begin setlength(sdir,strlen(pchar(sdir))); result:=sdir; end else begin result:=''; end; end;
系統時間:2024-05-18 22:01:17
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!