You should not upgrade just because of this, but there certainly are plenty
of other cool new features and reasons for upgrading.
This page lists all the available service packs that might affect the C#
compiler:
http://msdn.microsoft.com/vstudio/do...pdates/sp.aspx
After you've installed the .Net framework 1.0 service pack 2, does the error
still happen? Can you please provide the complete error text, or even
better a small sample solution that also causes the problem?
--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
"Rajesh.S" <ra*******@hotmail.com> wrote in message
news:27****************************@phx.gbl...
I am using Visual Studio 2002 with
Microsoft .Net framework 1.0
I dont have any service packs installed.
Do you think that is the reason for the error?
If so can you please post what service pack(s)
I should install and if I should upgrade my VS?
Thanks
--Rajesh.S
-----Original Message-----
Which version of Visual Studio are you using? Have you
installed any of theservice packs?
--
--Grant
This posting is provided "AS IS" with no warranties, and
confers no rights.
"Rajesh.S" <ra*******@hotmail.com> wrote in message
news:20****************************@phx.gbl... some more info...
>-----Original Message-----
>I built a VC++.Net project as a dll and
>included it as a reference in a c# project.
>When I call a c++ function from the csharp
>project I get internal compiler error.
>
>The function in the c++ dll got the signature
>void __gc *CInitialContext::Lookup(char *)
> throw (CJMSException*)
>
>The function was called in csharp as
CInitialContext m_ic = new CInitialContext();
String m_tcfName = "primaryTCF";
>m_ic.Lookup((sbyte *)(Marshal.StringToHGlobalAnsi
>(m_tcfName)).ToPointer());
>
>.
>
.