Re: Installing CF app on a desktop or server
- From: Michael Ray <ihatespam@xxxxxxxx>
- Date: Thu, 12 Jun 2008 21:00:59 GMT
Chris Tacke, eMVP wrote:
1. I can't seem to load what I'd think would be the appropriate CF, NETCFv2.wce4.x86.cab. Is there some special way to do this? The netcflaunch.exe doesn't work on Win32 apparently. I'm testing it on a clean install of XP SP 2 with no Framework installed.
You can't install the CF on a non-Windows CE device (like a desktop PC running XP or Vista). There are several reasons for this - like the fact that the CF engine would try calling Windows CE functions that don't exist or that exists in different locations (e.g. coredll v. kernel32).
CF assemblies are retargetable, meaning they will just run under the full framework. If you're not using any device-specific functionality in your app (unlikely but possible) then just run the binary and it will behave.
I had figured it would work with the full framework. I'm not doing anything with the device so it does work fine. This app just hits a database for the operator to see open orders and indicate their actions regarding those orders.
2. Another issue is we'd like to run this app from a server.
I don't understand exactly what you're asking. By "server" do you mean you want to run it on a PC with a Windows Server OS (2003, 2008)? If so, see #1 above. If you mean a CE device acting as a server then the CF has no code security in it at all, so there's nothing you have to do to make it work.
I mean Novell server. I guess the device cannot map a non-Windows server, but I'd think CE could map a Windows network drive like XP can. I assume as long as the device has the CF, it shouldn't be an issue if the exe is on a mapped drive. That brings up another stupid question I have:
Since these are old CE 4.2 units, how do I deploy CF 2.0 to them?
3. Is there a simple way to convert back and forth between a Smart Device WinForm project and a normal WinForm one? I ended up recreating the form all over and cutting and pasting the code.
Create an empty project of each and have them share all of the source files. No copy/paste needed.
That would be simple.
--
Sincerely,
Michael Ray
Topshot Systems LLC
.
- Follow-Ups:
- Re: Installing CF app on a desktop or server
- From: Paul G. Tobey [eMVP]
- Re: Installing CF app on a desktop or server
- References:
- Installing CF app on a desktop or server
- From: Michael Ray
- Re: Installing CF app on a desktop or server
- From: Chris Tacke, eMVP
- Installing CF app on a desktop or server
- Prev by Date: Re: C# event Handles
- Next by Date: Re: Installing CF app on a desktop or server
- Previous by thread: Re: Installing CF app on a desktop or server
- Next by thread: Re: Installing CF app on a desktop or server
- Index(es):
Relevant Pages
|