Can you please post the implementation of GetDeviceID?
Mike Boilen
Developer
.NET Compact Framework
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.gotdotnet.com/team/netcf/FAQ.aspx
--------------------
| From: "Ofer B." <(E-Mail Removed)>
| Subject: Different behavior for 2002 and 2003 (string.replace())
| Date: Mon, 22 Sep 2003 10:10:50 +0200
| Lines: 19
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.0
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Message-ID: <#(E-Mail Removed)>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 62-90-161-166.barak.net.il 62.90.161.166
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:34063
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I had a code that ran on PPC 2002, It is not ranning on PPC 2003
|
| This is the code:
|
| string key = GetDeviceID();
| key = key.replace("-", "+");
|
| on the 2002 it works fine, on the 2003 I got this string:
"+++++++++++++++"
|
| to solve this problem i use the same fanction but with char and not
strings
|
| key = key.replace('-', '+');
|
| this is work fine on both, 2002, 2003.
|
| ofer
|
|
|
|