A
adnanhr81
Hi all,
We have a C# app running on Windows CE that communictes with on board
GPS receiver using dll written in C++. C++ opens the port on which
receiver is connected using CreateFile with all the appropriate flags
and options. Its been working great but lately we have been having few
problems with the createfile function. It returns error saying
resources could not be allocated. The thread that calls the createfile
function was running on below normal priority. We changed the priority
to normal and the error went away and have not seen it since then.
Even though the problem appears to be fixed, I am just wondering how
thread priority could interfere with Createfile function. Any help be
greatly appreciated.
Thanks
We have a C# app running on Windows CE that communictes with on board
GPS receiver using dll written in C++. C++ opens the port on which
receiver is connected using CreateFile with all the appropriate flags
and options. Its been working great but lately we have been having few
problems with the createfile function. It returns error saying
resources could not be allocated. The thread that calls the createfile
function was running on below normal priority. We changed the priority
to normal and the error went away and have not seen it since then.
Even though the problem appears to be fixed, I am just wondering how
thread priority could interfere with Createfile function. Any help be
greatly appreciated.
Thanks