From: mrodsilva on 4 Jan 2007 06:57 I'm using SDF version 2.0.0.0 Runtime Version v2.0.50727 "<ctacke/>" wrote: > SDF 2.0 definitely does have a Monitor2 class. You've added a reference to > the assembly? You're looking in the OpenNETCF.THreading namespace? > > > -- > Chris Tacke > OpenNETCF Consulting > Managed Code in the Embedded World > www.opennetcf.com > -- > > > "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message > news:3D18F5A1-0B2B-499C-A414-FACE39D0F4B1(a)microsoft.com... > > Hi, > > > > In fact I already checked OpenNETCF 2, the online documentation state that > > there is a Monitor2 class within the OpenNETCF.Threading namespace. I have > > the SDF installed and there is no Monitor2 class... > > > > I don't know what to do... > > > > "<ctacke/>" wrote: > > > >> The OpenNETCF SDF [1] has these implemented. The other option is to wrap > >> them with your own P/Invokes. > >> > >> > >> -- > >> Chris Tacke > >> OpenNETCF Consulting > >> Managed Code in the Embedded World > >> www.opennetcf.com > >> -- > >> > >> > >> [1]www.opennetcf.com/sdf > >> > >> "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message > >> news:6919F2B7-3407-4FC5-81CB-E737A44679A1(a)microsoft.com... > >> > Hi there, > >> > > >> > I need some similar to Monitor.Wait()/Monitor.Pulse() on cf... Does > >> > anyone > >> > know how can I do this? > >> > > >> > thanks in advance > >> > > >> > mrodsilva > >> > >> > >> > > >
From: mrodsilva on 4 Jan 2007 07:03 My target device is running Windows CE 5.0 (build 1400) at an Intel, ARM920T-PXA270 processor "<ctacke/>" wrote: > SDF 2.0 definitely does have a Monitor2 class. You've added a reference to > the assembly? You're looking in the OpenNETCF.THreading namespace? > > > -- > Chris Tacke > OpenNETCF Consulting > Managed Code in the Embedded World > www.opennetcf.com > -- > > > "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message > news:3D18F5A1-0B2B-499C-A414-FACE39D0F4B1(a)microsoft.com... > > Hi, > > > > In fact I already checked OpenNETCF 2, the online documentation state that > > there is a Monitor2 class within the OpenNETCF.Threading namespace. I have > > the SDF installed and there is no Monitor2 class... > > > > I don't know what to do... > > > > "<ctacke/>" wrote: > > > >> The OpenNETCF SDF [1] has these implemented. The other option is to wrap > >> them with your own P/Invokes. > >> > >> > >> -- > >> Chris Tacke > >> OpenNETCF Consulting > >> Managed Code in the Embedded World > >> www.opennetcf.com > >> -- > >> > >> > >> [1]www.opennetcf.com/sdf > >> > >> "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message > >> news:6919F2B7-3407-4FC5-81CB-E737A44679A1(a)microsoft.com... > >> > Hi there, > >> > > >> > I need some similar to Monitor.Wait()/Monitor.Pulse() on cf... Does > >> > anyone > >> > know how can I do this? > >> > > >> > thanks in advance > >> > > >> > mrodsilva > >> > >> > >> > > >
From: " ctacke/>" on 4 Jan 2007 09:10 You're right - I just verified that it's not there (no idea what happened - I'll investigate). You might look at the EventHandle which exposes WaitOne. -- Chris Tacke OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com -- "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message news:8946B3AA-B84F-4E4A-B0F3-64E2D6366C6E(a)microsoft.com... > Yes, I've added a reference to the Assembly and yes I'm looking to > OpenNETCF.Threading namespace... > > Using Intellisense I got a list of the classes beloging to > OpenNETCF.Threading namespace... and all classes (EventWaitHandle, > NamedMutex, Thread2, etc) are there but the Monitor2. > > "<ctacke/>" wrote: > >> SDF 2.0 definitely does have a Monitor2 class. You've added a reference >> to >> the assembly? You're looking in the OpenNETCF.THreading namespace? >> >> >> -- >> Chris Tacke >> OpenNETCF Consulting >> Managed Code in the Embedded World >> www.opennetcf.com >> -- >> >> >> "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message >> news:3D18F5A1-0B2B-499C-A414-FACE39D0F4B1(a)microsoft.com... >> > Hi, >> > >> > In fact I already checked OpenNETCF 2, the online documentation state >> > that >> > there is a Monitor2 class within the OpenNETCF.Threading namespace. I >> > have >> > the SDF installed and there is no Monitor2 class... >> > >> > I don't know what to do... >> > >> > "<ctacke/>" wrote: >> > >> >> The OpenNETCF SDF [1] has these implemented. The other option is to >> >> wrap >> >> them with your own P/Invokes. >> >> >> >> >> >> -- >> >> Chris Tacke >> >> OpenNETCF Consulting >> >> Managed Code in the Embedded World >> >> www.opennetcf.com >> >> -- >> >> >> >> >> >> [1]www.opennetcf.com/sdf >> >> >> >> "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message >> >> news:6919F2B7-3407-4FC5-81CB-E737A44679A1(a)microsoft.com... >> >> > Hi there, >> >> > >> >> > I need some similar to Monitor.Wait()/Monitor.Pulse() on cf... Does >> >> > anyone >> >> > know how can I do this? >> >> > >> >> > thanks in advance >> >> > >> >> > mrodsilva >> >> >> >> >> >> >> >> >>
From: mrodsilva on 4 Jan 2007 11:33 Thank you... I'll check the EventHandle... Please let me know when you have an answer about the Monitor2 class. Thanks again mrodsilva "<ctacke/>" wrote: > You're right - I just verified that it's not there (no idea what happened - > I'll investigate). You might look at the EventHandle which exposes WaitOne. > > > -- > Chris Tacke > OpenNETCF Consulting > Managed Code in the Embedded World > www.opennetcf.com > -- > > > "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message > news:8946B3AA-B84F-4E4A-B0F3-64E2D6366C6E(a)microsoft.com... > > Yes, I've added a reference to the Assembly and yes I'm looking to > > OpenNETCF.Threading namespace... > > > > Using Intellisense I got a list of the classes beloging to > > OpenNETCF.Threading namespace... and all classes (EventWaitHandle, > > NamedMutex, Thread2, etc) are there but the Monitor2. > > > > "<ctacke/>" wrote: > > > >> SDF 2.0 definitely does have a Monitor2 class. You've added a reference > >> to > >> the assembly? You're looking in the OpenNETCF.THreading namespace? > >> > >> > >> -- > >> Chris Tacke > >> OpenNETCF Consulting > >> Managed Code in the Embedded World > >> www.opennetcf.com > >> -- > >> > >> > >> "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message > >> news:3D18F5A1-0B2B-499C-A414-FACE39D0F4B1(a)microsoft.com... > >> > Hi, > >> > > >> > In fact I already checked OpenNETCF 2, the online documentation state > >> > that > >> > there is a Monitor2 class within the OpenNETCF.Threading namespace. I > >> > have > >> > the SDF installed and there is no Monitor2 class... > >> > > >> > I don't know what to do... > >> > > >> > "<ctacke/>" wrote: > >> > > >> >> The OpenNETCF SDF [1] has these implemented. The other option is to > >> >> wrap > >> >> them with your own P/Invokes. > >> >> > >> >> > >> >> -- > >> >> Chris Tacke > >> >> OpenNETCF Consulting > >> >> Managed Code in the Embedded World > >> >> www.opennetcf.com > >> >> -- > >> >> > >> >> > >> >> [1]www.opennetcf.com/sdf > >> >> > >> >> "mrodsilva" <mrodsilva(a)discussions.microsoft.com> wrote in message > >> >> news:6919F2B7-3407-4FC5-81CB-E737A44679A1(a)microsoft.com... > >> >> > Hi there, > >> >> > > >> >> > I need some similar to Monitor.Wait()/Monitor.Pulse() on cf... Does > >> >> > anyone > >> >> > know how can I do this? > >> >> > > >> >> > thanks in advance > >> >> > > >> >> > mrodsilva > >> >> > >> >> > >> >> > >> > >> > >> > > >
First
|
Prev
|
Pages: 1 2 Prev: Help for Marshalling Next: Loading resources: "Value does not fall within the expected range." |