The issue is a problem with modopt in the CLR.Since it is the same thing
from your perspective, please use int

On Mon, Jan 19, 2009 at 5:24 AM, Colin Desmond <
colin.desm...@btopenworld.com> wrote:

>
> OK,
>
> If I change the C++/CLI syntax from
>
> CoreLibrary::Common::IMSMContact^ LoadSMContact(long nId);
>
> to
>
> CoreLibrary::Common::IMSMContact^ LoadSMContact(int nId);
>
> it all works, it doesn't like the long. This is interesting given that
> "int" and "long" both map to System.Int32!
>
> Colin
>
> On Jan 19, 9:32 am, Colin Desmond <colin.desm...@btopenworld.com>
> wrote:
> > We're using 3.5 SP1.
> >
> > When I rewrite the interface as C# it is happy. I'll try playing with
> > the C++/CLI syntax a little and see if I can get it to work.
> >
> > Colin
> >
> > On Jan 18, 9:15 pm, Ayende Rahien <aye...@ayende.com> wrote:
> >
> > > what version of the runtime?if you write the same thing in C#, does it
> cause
> > > any issues?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to RhinoMocks@googlegroups.com
To unsubscribe from this group, send email to 
rhinomocks+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RhinoMocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to