Hi Zoltan

I', agree with you!

>Not the text representation. The Microsoft GUID internal structure different 
>from FB's. This causes different byte order of the structs members.

>This situation also happens in C or C++ using IBPP.

>The problem is the different internal representation of the guid.
>I can solve this by using stored procedures and UDFs, I just want to indicate 
>this problem.

I'm dealing with the same situation but I solved in this way:

MembershipUser u = Membership.GetUser(Variables.UserName);
Variables.UserGuid = (Guid)u.ProviderUserKey;

And for insert (for this user) I pass Variables.UserGuid as GUID for insert 
parameter.

It's working for me!

Best regards,
Paul



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to