I am getting Native exception while doing backgroung synchrnization.

Hello everybody,

I am doing autosync through webservice. but sometimes i am getting native exception and application quits sliently. I am not getting why this exception occurs as due to memory problem or anything else.please help me .

My code of thead .and i am calling method of sync fom NewSyncTest which further gives call to server .

This code executes within 2 minutes each .

public void AutoSync()

{

System.Threading.Thread myThread = new System.Threading.Thread(new System.Threading.ThreadStart(NewSyncTest));

if (isSyncActive == false)

{

myThread.Start();

}

}



Answer this question

I am getting Native exception while doing backgroung synchrnization.

  • Jian Zeng

    What version of NETCF are you working with (or what version of Visual Studio are you using and what kind of project are you creating )

    Also it would be helpful to know what you are doing in your thread NewSyncTest.

    Are you updating any UI from that thread

    Thanks.


  • I am getting Native exception while doing backgroung synchrnization.