[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-java-com
Subject:    Re: Calling CoCreateGuid()
From:       Igor Kats <igork () SKYHIGH ! CO ! IL>
Date:       1998-11-24 18:06:03
[Download RAW message or body]


        /**
         * @dll.import("OLE32", ole)
         */
        public static native _Guid CoCreateGuid();

        private void button2_click(Object source, Event e) {
                _Guid pguid;
                pguid = CoCreateGuid();
                String res = pguid.toString();
                this.setText(res);
        }

Igor


----- Original Message -----
From: Alex Harvey <aharvey@GIANTSTEP.COM>
To: <Java-COM@DISCUSS.MICROSOFT.COM>
Sent: Tuesday, November 24, 1998 5:03 PM
Subject: Calling CoCreateGuid()


>I'd like to call CoCreateGuid() from Java, but can't figure out how. I
can't
>seem to find anything like this function within com.ms.com. Is it there
>someplace? Also, if I try and use the J/Direct call builder, it does not
>know about CoCreateGuid(). How can I call it?
>
>-Alex Harvey
>Giant Step
>www.giantstep.com
>
>----------------------------------------------------------------
>Users Guide http://www.microsoft.com/workshop/essentials/mail.asp
>contains important info including how to unsubscribe.  Save time, search
>the archives at http://discuss.microsoft.com/archives/index.html

----------------------------------------------------------------
Users Guide http://www.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic