Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. NotSupportedException

NotSupportedException

Scheduled Pinned Locked Moved C#
csharpdotnetjsonhelpquestion
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Developer611
    wrote on last edited by
    #1

    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 using SizeOf or any other methods of Marshal class, it gives me NotSupportedException exception. Please tell me how can i solve this problem. Thank you.

    DMASTER

    P C L 3 Replies Last reply
    0
    • D Developer611

      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 using SizeOf or any other methods of Marshal class, it gives me NotSupportedException exception. Please tell me how can i solve this problem. Thank you.

      DMASTER

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      Please do not cross post :)

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

      1 Reply Last reply
      0
      • D Developer611

        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 using SizeOf or any other methods of Marshal class, it gives me NotSupportedException exception. Please tell me how can i solve this problem. Thank you.

        DMASTER

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        Now what do YOU think 'not supported' means ?

        Christian Graus Driven to the arms of OSX by Vista.

        U 1 Reply Last reply
        0
        • C Christian Graus

          Now what do YOU think 'not supported' means ?

          Christian Graus Driven to the arms of OSX by Vista.

          U Offline
          U Offline
          User 5307191
          wrote on last edited by
          #4

          Hi dear Christian, I know what it means BROTHER :), if you refer to MSDN you can see that, it's marked as supported on .net CF. But I don't know what's that exception reason, and why gives it to me? Thanks for your reply.

          1 Reply Last reply
          0
          • D Developer611

            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 using SizeOf or any other methods of Marshal class, it gives me NotSupportedException exception. Please tell me how can i solve this problem. Thank you.

            DMASTER

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            Hi, there are several WSA versions, not all of them are implemented on each platform. This might help you.[^] :)

            Luc Pattyn [Forum Guidelines] [My Articles]


            Fixturized forever. :confused:


            modified on Wednesday, December 3, 2008 4:15 AM

            U 1 Reply Last reply
            0
            • L Luc Pattyn

              Hi, there are several WSA versions, not all of them are implemented on each platform. This might help you.[^] :)

              Luc Pattyn [Forum Guidelines] [My Articles]


              Fixturized forever. :confused:


              modified on Wednesday, December 3, 2008 4:15 AM

              U Offline
              U Offline
              User 5307191
              wrote on last edited by
              #6

              Hi Luc, Ok, Let's suppose you're right. So what about Marshalling and methods of Marshal Class ?

              L 1 Reply Last reply
              0
              • U User 5307191

                Hi Luc, Ok, Let's suppose you're right. So what about Marshalling and methods of Marshal Class ?

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #7

                Marshaling what? SizeOf what? something that is not supported maybe? check the exact exception, note the line numbers, look at the source code, teach your IDE to display line numbers. Try to be as specific as you want the answers to be. :)

                Luc Pattyn [Forum Guidelines] [My Articles]


                Fixturized forever. :confused:


                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups