I'm stuck need help Hi ! i am a novice programmer......trying to code a gnutella clone for my class project.. I am facing trouble with using the GUID in the header.... My problem is :- a) As the cocreateguid function returns a GUID structure....how do i convert that into a byte array sos that i can send it on it's way....the UUidtostring () function is not working for me.....is causing an exception in the application code. b)Could anyone also please...clarify the purpose the GUID serves and how do i hanlde it in my application..... ----Thanks help will be highly appreciated.... |
Re: I'm stuck need help Quote:
note that you dont need to use CoCreateguid function! Code:
|
is this Basic? |
Yes it is.. Visual Basic |
Thanks ! hi! Thanks for posting the solution!...I am using VC++..but ur post gave me some new ideas..anyway for those who are using the GUID struct....i think....just copying the struct members into a byte array would suffice....using the wsprintf and a format string consisting of %x...this is pretty dumb....but i think it works...:-) |
All times are GMT -7. The time now is 08:36 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.