HighTechTalks DotNet Forums  

"Walkthru": WNetAddConnection3

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss "Walkthru": WNetAddConnection3 in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Benjamin Lukner
 
Posts: n/a

Default "Walkthru": WNetAddConnection3 - 12-10-2004 , 08:11 AM






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

Reply With Quote
  #2  
Old   
Alex Yakhnin [MVP]
 
Posts: n/a

Default RE: "Walkthru": WNetAddConnection3 - 12-10-2004 , 10:21 AM






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


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.