Archived from groups: microsoft.public.dotnet.framework.compactframework,microsoft.public.pocketpc,microsoft.public.pocketpc.developer (More info?)
Hi
I am designing a small app which I want to have versions available for
PocketPC, and for PC using WinForms.
In order to tier the app logically, I want to use the same Middle tier
(Business Layer / Data Access Layer) for the 2 apps, which will be
functionally the same, but have different presentation layers.
Is it possible to use the same Middle tier for both PocketPC and WinForm
projects?? Do I need to compile one of the .CS files against .NET, and
..NETCF?? or will the same DLL work on both platforms without the need to
compile twice against each platform?
"Paul Aspinall" <paul@aspy.co.uk> wrote in message
news:YsyFd.125253$48.70171@fe1.news.blueyonder.co.uk...
> Hi
> I am designing a small app which I want to have versions available for
> PocketPC, and for PC using WinForms.
>
> In order to tier the app logically, I want to use the same Middle tier
> (Business Layer / Data Access Layer) for the 2 apps, which will be
> functionally the same, but have different presentation layers.
>
> Is it possible to use the same Middle tier for both PocketPC and WinForm
> projects?? Do I need to compile one of the .CS files against .NET, and
> .NETCF?? or will the same DLL work on both platforms without the need to
> compile twice against each platform?
>
> Thanks
>
>
> Paul
>
Archived from groups: microsoft.public.dotnet.framework.compactframework,microsoft.public.pocketpc,microsoft.public.pocketpc.developer (More info?)
Thanks for your reply to my post in the NG.
Should the same DLL run on both CF and full FW?
What needs to be done to tell VS that the DLL will be used on CF??
I have a DLL which works fine in a fullFW version. I have written a very
simple piece of code which calls the same DLL from PocketPC. However, I
constantly get the error:
"An unhandled exception of type 'System.MissingMethodException' occurred in
System.Windows.Forms.dll"
Which I believe is because it can't find the method. If I remove the call to
my own DLL the app runs fine on pocketPC
For this reason, I believe that my DLL is not being compiled or accessed
correctly by PocketPC.
Do you have any suggestions or ideas??
Thanks
Paul
"Daniel Moth" <dmoth74@hotmail.com> wrote in message
news:%236dzxgZ%23EHA.2012@TK2MSFTNGP15.phx.gbl...
> You can either share the same codebase:
> http://www.danielmoth.com/Blog/200 [...] me_17.html >
> or if you don't want to "compile twice":
> http://www.danielmoth.com/Blog/200 [...] e-256.html >
> Cheers
> Daniel
> --
> http://www.danielmoth.com/Blog/ >
>
> "Paul Aspinall" <paul@aspy.co.uk> wrote in message
> news:YsyFd.125253$48.70171@fe1.news.blueyonder.co.uk...
>> Hi
>> I am designing a small app which I want to have versions available for
>> PocketPC, and for PC using WinForms.
>>
>> In order to tier the app logically, I want to use the same Middle tier
>> (Business Layer / Data Access Layer) for the 2 apps, which will be
>> functionally the same, but have different presentation layers.
>>
>> Is it possible to use the same Middle tier for both PocketPC and WinForm
>> projects?? Do I need to compile one of the .CS files against .NET, and
>> .NETCF?? or will the same DLL work on both platforms without the need to
>> compile twice against each platform?
>>
>> Thanks
>>
>>
>> Paul
>>
>
>
"Paul Aspinall" <paul@aspy.co.uk> wrote in message
news:NdAFd.127745$48.101228@fe1.news.blueyonder.co.uk...
> Thanks for your reply to my post in the NG.
>
> Should the same DLL run on both CF and full FW?
>
> What needs to be done to tell VS that the DLL will be used on CF??
>
> I have a DLL which works fine in a fullFW version. I have written a very
> simple piece of code which calls the same DLL from PocketPC. However, I
> constantly get the error:
>
> "An unhandled exception of type 'System.MissingMethodException' occurred
> in System.Windows.Forms.dll"
>
> Which I believe is because it can't find the method. If I remove the call
> to my own DLL the app runs fine on pocketPC
>
> For this reason, I believe that my DLL is not being compiled or accessed
> correctly by PocketPC.
>
> Do you have any suggestions or ideas??
>
> Thanks
>
>
>
> Paul
>
>
>
> "Daniel Moth" <dmoth74@hotmail.com> wrote in message
> news:%236dzxgZ%23EHA.2012@TK2MSFTNGP15.phx.gbl...
>> You can either share the same codebase:
>> http://www.danielmoth.com/Blog/200 [...] me_17.html >>
>> or if you don't want to "compile twice":
>> http://www.danielmoth.com/Blog/200 [...] e-256.html >>
>> Cheers
>> Daniel
>> --
>> http://www.danielmoth.com/Blog/ >>
>>
>> "Paul Aspinall" <paul@aspy.co.uk> wrote in message
>> news:YsyFd.125253$48.70171@fe1.news.blueyonder.co.uk...
>>> Hi
>>> I am designing a small app which I want to have versions available for
>>> PocketPC, and for PC using WinForms.
>>>
>>> In order to tier the app logically, I want to use the same Middle tier
>>> (Business Layer / Data Access Layer) for the 2 apps, which will be
>>> functionally the same, but have different presentation layers.
>>>
>>> Is it possible to use the same Middle tier for both PocketPC and WinForm
>>> projects?? Do I need to compile one of the .CS files against .NET, and
>>> .NETCF?? or will the same DLL work on both platforms without the need to
>>> compile twice against each platform?
>>>
>>> Thanks
>>>
>>>
>>> Paul
>>>
>>
>>
>
>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.