Cableguy,
Let' start over.
An example:
I want to build a B4P library DLL that provides .Net Event processing. Using their C++ names, I will use the .Net equivalent of CreateEvent, SetEvent, ResetEvent, WaitForMultipleObjects, and CloseHandle.
All of those methods exist in both .Net for the PC and .Net CF (both 2.0) and have the same parameters.
My assumption, which could be very wrong, is that I can write one piece of source code that provides the functionality for creating an event, waiting for event to be posted, posting the event, and destroying the event.
In the simpliest case, I would have to compile that source twice, once for the PC and once for the device, in each case creating a DLL with the same name.
So far, is my assumption correct?
If so, how do I manage the source file, the two output files, and the project file?
Or, is the simpliest way to simply treat them as two different projects (one for the PC and one for the device) and manually keep the source the same in both.
Regards,
Jim
|