wrote:
I just downloaded and installed InThehand v1.6.5.1222. I'm using
VS2005
The code below generates the following error:
Error 1 Reference required to assembly 'System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes'
containing the type 'System.Net.Sockets.Socket'. Add one to your
project. .........
Does this mean there is a compatibility issue with VS2005 and/or
.netV2?
Yes and no. It appears that the 32feet.NET library is compiled
against the .NET CF v1. But this isn't a problem at runtime as the
reference is "Retargetable" and through a feature called unification
(
http://msdn2.microsoft.com/en-us/library/db7849ey.aspx) the runtime
will use its own version of the framework, e.g. if the v2 runtime loads
the library it will redirect references for v1 assemblies to its own.
Now, at compile time; with the CS compiler(s) there's no problem either.
A similar thing seems to happen; it sees the reference to the older
framework assembly, and just continues using its own framework version.
However with the VB compiler this seems not to be the case and this
error is reported. (And unsurprisingly trying supplying an explicit
reference to the old assembly makes the compiler even more confused; at
least when I try with a 1.1 version [...\v2.0.50727\vbc xxxx.vb
/r:System /r:...\v1.1.4322\System.dll]; complaining of ambiguous
references.)
So I guess this is a bug in the VB compiler, but I'm not really expert
enough to know for sure.
Anyone here have any comment?
I you get no answer here, then try posting in
http://32feet.net/forums/,
ahh wait I see you've done so already.

(
http://32feet.net/forums/452/ShowPost.aspx)
Const ServiceName As String = "IrDA:IRCOMM"
(Should be "IrDA:IrCOMM").