Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #4519
| From | "Jozo" <racunalo@os.t-com.hr> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | UniqueKey |
| Date | 2012-12-26 19:29 +0100 |
| Organization | T-Com |
| Message-ID | <kbffli$t8s$1@ls237.t-com.hr> (permalink) |
Hello all, I have the function for creating UniqueKey for that the compiler signalizes next error: "Entity CoCreateGuid is unkonwn, bad function call " The problem is in next code: hr := CoCreateGuid(@GUID_New) Can somebody help me with correctly function or any correctly solution ? I work with Vo27b 2740, Windows XP. Thanks in advance. Jozo Source of function: FUNCTION CreateaUniqueKey AS STRING PASCAL LOCAL Guid_New IS _winGuid LOCAL hr AS LONG LOCAL lpBuffer AS PSZ LOCAL sGuid AS STRING hr := CoCreateGuid(@GUID_New) lpBuffer:= MemAlloc(255) hr := StringFromGUID2( @Guid_new , lpBuffer, 255) sGuid := Mem2String(lpBuffer, hr*2) // Unicode: char = 2 bytes MemFree(lpBuffer) sGuid := Wide2Multi(sGuid) // Undocumente in VO runtime RETURN sGuid
Back to comp.lang.clipper.visual-objects | Previous | Next — Next in thread | Find similar | Unroll thread
UniqueKey "Jozo" <racunalo@os.t-com.hr> - 2012-12-26 19:29 +0100
Re: UniqueKey "Willie Moore" <williem@wmconsulting.com> - 2012-12-26 12:43 -0600
Re: UniqueKey "Jozo" <racunalo@os.t-com.hr> - 2012-12-26 20:34 +0100
csiph-web