Author Topic: Wiimote Whiteboeard debugging problem  (Read 4728 times)

Offline doggy

  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
on: December 16, 2008, 01:07:11 AM
hi i am new to this forum

i face a problem when debugging wiimote whiteboard v03 source code from johnny lee

basically after i try to calibrate the 4th point, the problem occurs

the attach file is the printscreen i saved

anyone knows what is the problem? The exe file works fine...




Offline boonjin

  • *
  • Posts: 929
  • Karma: +28/-0
  • Smoothboard Developer
    • View Profile
    • Smoothboard
Reply #1 on: December 16, 2008, 02:29:42 AM
hi i am new to this forum

i face a problem when debugging wiimote whiteboard v03 source code from johnny lee

basically after i try to calibrate the 4th point, the problem occurs

the attach file is the printscreen i saved

anyone knows what is the problem? The exe file works fine...



hi,

Try this instead

BeginInvoke((MethodInvoker)delegate() { cf.Close(); });

Regards,
Boon Jin


Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url


Offline doggy

  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Reply #2 on: December 16, 2008, 02:58:36 AM
thx boonjin, but i encountered another problem after i replaced the cf.Close() wif ur statement

a window "Exception: object reference not set to an instance of an object" appeared

the attach file is my printscreen

did i modified it correctly?

bear wif my poor understanding becoz i m actually an absolute programming beginner  :)