比 比尔-禽兽 Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-21 #1 var GUID:TGUID; 在程序中怎么对GUID赋值??
比 比尔-禽兽 Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-21 #3 为什么?? 我问的问题没有一个被解决过 这对大富翁好像不算问题吧 棒棒忙撒
水 水晶城 Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-21 #6 不知道你用的是不是编写com组件的GUID,如果是的话,你无需为他赋值, 在代码编辑器按ctrl+shift+g就可以自动生成一个GUID,或者可以用type libarary editor来生成
L liuxiaouo Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-21 #7 不是没人回答你,主要是DFW们看你不顺眼。 如此简单的问题 。。。。。 你四年大学算打水漂了
比 比尔-禽兽 Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-21 #8 你好 我是连接远程服务器程序 用制定GUID方法是最好的
Z zw84611 Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-21 #10 建议改个文明些的名字[] the TGUID and PGUID types, declared in the System unit, are used to manipulate GUIDs. type PGUID = ^TGUID; TGUID = packed record D1: Longword; D2: Word; D3: Word; D4: array[0..7] of Byte; end; When you declare a typed constant of type TGUID, you can use a string literal to specify its value. For example, const IID_IMalloc: TGUID = '{00000002-0000-0000-C000-000000000046}'; ---------------------------------------------------------- 我举个例子: procedure TForm1.Button1Click(Sender: TObject); const ID_C: TGUID = '{2E7D3330-EB94-4518-B0FE-E05379A5C1CB}'; var id: TGUID; begin id := ID_C; end;
建议改个文明些的名字[] the TGUID and PGUID types, declared in the System unit, are used to manipulate GUIDs. type PGUID = ^TGUID; TGUID = packed record D1: Longword; D2: Word; D3: Word; D4: array[0..7] of Byte; end; When you declare a typed constant of type TGUID, you can use a string literal to specify its value. For example, const IID_IMalloc: TGUID = '{00000002-0000-0000-C000-000000000046}'; ---------------------------------------------------------- 我举个例子: procedure TForm1.Button1Click(Sender: TObject); const ID_C: TGUID = '{2E7D3330-EB94-4518-B0FE-E05379A5C1CB}'; var id: TGUID; begin id := ID_C; end;
比 比尔-禽兽 Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-21 #16 Zw84611请你帮忙 http://www.delphibbs.com/delphibbs/dispq.asp?lid=1527616