Well... you shouldn't have needed to write this muach code for string
marshaling if you'd just use the SDF's MarshalEx.StringToHGlobalUni method:
http://blog.opennetcf.org/ayakhnin/PermaLink.aspx?guid=44f7179b-502d-4ca9-9d4e-520e8d3b236a
BTW, I've updated the Network class to support enumeration of the network
resources as well and it will be a part of SDF.
HTH... Alex
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org
"Benjamin Lukner" wrote:
Quote:
Hi!
I've seen that several folks around here have problems with that
function. I think I've solved the problem and posted the code to
http://opennetcf.org/forums/topic.asp?TOPIC_ID=701
I don't post it here because it's pretty long and the format will be
wrecked because the lines are too long.
Kind regards,
Benjamin Lukner |