Cableguy,
That's my problem.
When I go to the MS website looking for the referenced SDK, Microsoft .NET Compact Framework 2.0 SDK, there doesn't seem to be such a thing. Any time I find a reference to that name and link to it, I get shown the Microsoft .NET Framework 2.0 SDK (x86).
I already have installed:
Microsoft .NET Compact Framework 2.0 SP2
Micorsoft .NET Framework 2.0
which I believe are correct.
Never needed them....BTW, are nCOver, FXCop, and SVN????? also needed as documented.
P.S. Where in Portugal are you? I've spent some wonderful days in Lisbon on business trips.
cPPC - True if the application is running on a Device and false if it is running on the Desktop.
False
True
Version (Basic4ppc version)
.......
If cPPC= True then RunOnDevice Else RunOnDeskTop
.......
Sub RunOnDevice
'Set the app to run on the device
......
End sub
Sub RunOnDeskTop
´Set the app to run on DeskTop
......
End Sub
Yes, let's...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.
As I sayed before, any DLL targeting the Compact(ed) FrameWork, WILL run on bothe platforms.
Are you saying the that PC and Device DLL are identical? Aren't the architectures of the CPU's different and thus the instruction set and thus the generated code or am I really missing something?
Thank's, i will try..Hope you have a nice weekend.
Regards,
Jim
Cableguy,
Is the following true? (I think you may have already said this but it didn't sink in.)
If I compile my C# DLL targeting NET CF and I compile my B4P program as a device .exe, both will run on both platforms?
Is C# coupled with Net CF interpreted like Java? If not, I really need an explanation.
NO! The Dll will be useable by both a device compiled or a desktop compiled app, but, a device compiled app will NOT run in the desktop and vice-versa, even if the source file (.spb) is the same.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?