NotSupportedException
-
Hi, I wrote an application that able to connect another bluetooth device in .Net Framework 2.0 using bluetooth API, now I want to do this with .Net Compact Framework on my mobile device. That's the problem, When I'm Calling Bluetooth API like
WSAStartup
or usingSizeOf
method ofMarshal
class, it gives meNotSupportedException
exception. Please tell me how can i solve this problem. Thank you.DMASTER
-
Hi, I wrote an application that able to connect another bluetooth device in .Net Framework 2.0 using bluetooth API, now I want to do this with .Net Compact Framework on my mobile device. That's the problem, When I'm Calling Bluetooth API like
WSAStartup
or usingSizeOf
method ofMarshal
class, it gives meNotSupportedException
exception. Please tell me how can i solve this problem. Thank you.DMASTER
You're going to have to rewrite the code to do whatever it is you want a different way, since, well, what you're doing now is
NotSupported
on .NET CF. BTW: You might want to post future queries to this problem in the Mobile Development Forum.A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
You're going to have to rewrite the code to do whatever it is you want a different way, since, well, what you're doing now is
NotSupported
on .NET CF. BTW: You might want to post future queries to this problem in the Mobile Development Forum.A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Thanks for your reply dear Dave. But I hadn't rewrite my previous code in .net compact framework, I know all methods and parameters that should be set on .net compact framework. Ok, Lets suppose that you are right, so what about
SizeOf
Method . If you refer to msdn, you can see that, it's marked as supported on .net CF. Thank you. -
Thanks for your reply dear Dave. But I hadn't rewrite my previous code in .net compact framework, I know all methods and parameters that should be set on .net compact framework. Ok, Lets suppose that you are right, so what about
SizeOf
Method . If you refer to msdn, you can see that, it's marked as supported on .net CF. Thank you.You never showed the code and line where the exception occured, so it's impossible to say anything else.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008