Click here to Skip to main content
15,889,034 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHelp:Multi-threading Pin
himuskanhere10-Oct-07 19:26
himuskanhere10-Oct-07 19:26 
QuestionUuidFromString not creating GUID correctly - Help! Pin
Priya_Sundar10-Oct-07 19:10
Priya_Sundar10-Oct-07 19:10 
AnswerRe: UuidFromString not creating GUID correctly - Help! Pin
Sachinpatole10-Oct-07 19:15
Sachinpatole10-Oct-07 19:15 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Priya_Sundar10-Oct-07 19:27
Priya_Sundar10-Oct-07 19:27 
AnswerRe: UuidFromString not creating GUID correctly - Help! Pin
Nibu babu thomas10-Oct-07 19:36
Nibu babu thomas10-Oct-07 19:36 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Priya_Sundar10-Oct-07 19:43
Priya_Sundar10-Oct-07 19:43 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Nibu babu thomas10-Oct-07 19:47
Nibu babu thomas10-Oct-07 19:47 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Priya_Sundar10-Oct-07 20:34
Priya_Sundar10-Oct-07 20:34 
MSDN:

This is the syntax of the function UuidFromString() for the version vc++6.0

RPC_STATUS RPC_ENTRY UuidFromString
(
unsigned char *StringUuid,
UUID *Uuid
);

New 2005 version:
RPC_STATUS RPC_ENTRY UuidFromString
(
unsigned char __RPC_FAR* StringUuid,
UUID __RPC_FAR* Uuid
);

I am using vc++6.0 with PSDK and i guess __RPC_FAR wont be the cause of the problem.

Further, i have modified it as,

unsigned char *GuidString;
GuidString = (unsigned char *)szValue;
//szValue being declared as "char szValue[MAX_GUID_STRING_LEN];" and having a val "{A89377EA-D4ED-4A03-A37F-4A9DE785E1A9}"

GUID ret = { 0 };
UuidFromString(GuidString,&ret);

now UuidFromString returns RPC_S_INVALID_STRING_UUID stating that the string UUID is invalid.




Priya Sundar

GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Nibu babu thomas10-Oct-07 20:37
Nibu babu thomas10-Oct-07 20:37 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Priya_Sundar10-Oct-07 21:07
Priya_Sundar10-Oct-07 21:07 
QuestionWhat is core dump ? Pin
Yashusid10-Oct-07 18:52
Yashusid10-Oct-07 18:52 
QuestionMessagebox problem Pin
Lakshmi_p10-Oct-07 18:41
Lakshmi_p10-Oct-07 18:41 
AnswerRe: Messagebox problem Pin
Sachinpatole10-Oct-07 19:18
Sachinpatole10-Oct-07 19:18 
AnswerRe: Messagebox problem Pin
Nibu babu thomas10-Oct-07 19:31
Nibu babu thomas10-Oct-07 19:31 
GeneralRe: Messagebox problem Pin
Naveen10-Oct-07 20:06
Naveen10-Oct-07 20:06 
GeneralRe: Messagebox problem Pin
Nibu babu thomas10-Oct-07 22:10
Nibu babu thomas10-Oct-07 22:10 
GeneralRe: Messagebox problem Pin
Lakshmi_p10-Oct-07 20:14
Lakshmi_p10-Oct-07 20:14 
QuestionHow to locate application folder? Pin
TooShy2Talk10-Oct-07 15:46
TooShy2Talk10-Oct-07 15:46 
AnswerRe: How to locate application folder? Pin
Naveen10-Oct-07 16:14
Naveen10-Oct-07 16:14 
GeneralRe: How to locate application folder? Pin
TooShy2Talk10-Oct-07 16:58
TooShy2Talk10-Oct-07 16:58 
AnswerRe: How to locate application folder? Pin
David Crow11-Oct-07 3:31
David Crow11-Oct-07 3:31 
QuestionPlease help me using ipl98library version 2.20 in Borland C++!!! Pin
Tien Manh10-Oct-07 15:35
Tien Manh10-Oct-07 15:35 
QuestionNeed local C++/WinMobile consulting help [modified] Pin
billsh10-Oct-07 14:51
billsh10-Oct-07 14:51 
QuestionWSAGetLastError() Pin
dellthinker10-Oct-07 14:51
dellthinker10-Oct-07 14:51 
QuestionRe: WSAGetLastError() Pin
David Crow11-Oct-07 3:30
David Crow11-Oct-07 3:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.