J
Joe
Hi,
We used to use Pocket PC 2002 and embedded visual tools 3 for
development of applications and a driver dll. Recently we have been
required to bring our software up-to-date so developers can use it
with the .net compact framework.
Our driver dll previously used callback functionality, which is of
course not supported in .net, so we added functions which would take
the window handle of the application and pass back messages to it. We
also recompiled the dll in eVC++ 4, to be compatible with Pocket PC
2003.
To test this new functionality, we have written a VB.net application.
However, after seeming to work ok after a few function calls to the
dll, when going through the same process again, on the second or third
time through (usually depends on how fast you are executing, if not
stepping into code it will do it on the second run through, if
debugging then it can be 4th or 5th time!), the program will just
disappear, with no exception or any trace to explain why. Also it
doesn't do this disappearing act at the same dll function every time
either, as far as I can tell at least.
I am having a great deal of trouble tracing the cause of this, and am
wondering if anyone has experienced this as well, and/or has any tips
on how to proceed?
Thanks in advance of help,
Zief
We used to use Pocket PC 2002 and embedded visual tools 3 for
development of applications and a driver dll. Recently we have been
required to bring our software up-to-date so developers can use it
with the .net compact framework.
Our driver dll previously used callback functionality, which is of
course not supported in .net, so we added functions which would take
the window handle of the application and pass back messages to it. We
also recompiled the dll in eVC++ 4, to be compatible with Pocket PC
2003.
To test this new functionality, we have written a VB.net application.
However, after seeming to work ok after a few function calls to the
dll, when going through the same process again, on the second or third
time through (usually depends on how fast you are executing, if not
stepping into code it will do it on the second run through, if
debugging then it can be 4th or 5th time!), the program will just
disappear, with no exception or any trace to explain why. Also it
doesn't do this disappearing act at the same dll function every time
either, as far as I can tell at least.
I am having a great deal of trouble tracing the cause of this, and am
wondering if anyone has experienced this as well, and/or has any tips
on how to proceed?
Thanks in advance of help,
Zief