Object reference not set to an instance of an object

Hi expert,

I have downloaded the callEvent application and hope that I can use this application to send SMS to my pocket PC emulator. However, when I click the connect button an error message saying that "Object reference not set to an instance of an object."

I try to debug it and i found out that the following bold code is the cause of the error message.

m_conman = new Microsoft.VisualStudio.DeviceConnectivity.ConMan();
m_conman.SetLocale(1033); // English
m_conman.Initialize();

m_ds = m_conman.DataStore;
m_platform= m_ds.Platforms.FindPlatformByInvariantName(platformName);
m_device = m_platform.FindDeviceByInvariantName(deviceName);

In addition, I have already read all the stuff about callEvent application in the this link but I still have no idea how to connect the callEvent application to my Pocket PC emulator.

PS: I am using visual studio .NET 2003 and I am new to moblie application.

Please help me on this urgent problem! Thanks in advance.




Answer this question

Object reference not set to an instance of an object

  • CJ_1234

    I am sorry but this forum is dedicated to questions related to Device Emulator shipped with Visual Studio 2005 only. You may want to contact the support link given from where you downloaded this app or contact Product support.

    -Thanks,

    Mohit


  • Object reference not set to an instance of an object