Home > Archive > Visual Studio > February 2006 > Migrating from VS7.1 to VS8.0
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Migrating from VS7.1 to VS8.0
|
|
| Janiv Ratson 2006-02-16, 7:58 am |
| Hello,
I'm trying to migrate our application (c/c++/MFC) from .NET 7.1 to .NET 8.0.
Trying to compile my first dll, I get a compilation error saying:
d:\program files\microsoft visual studio
8\vc\platformsdk\include\wspiapi.h(44) : error C2894: templates cannot be
declared to have 'C' linkage
Can you please help me understand what is it?
I know that according to VS help the problem is caused by a template defined
inside an extern "C" block. But I cannot understand it, because it is a VS
file.
Thanks,
Janiv Ratson.
| |
| Janiv Ratson 2006-02-19, 7:00 pm |
| ?
"Janiv Ratson" <janivr@gmailcom> wrote in message
news:euQPa9vMGHA.1088@tk2msftngp13.phx.gbl...
> Hello,
> I'm trying to migrate our application (c/c++/MFC) from .NET 7.1 to .NET
> 8.0.
> Trying to compile my first dll, I get a compilation error saying:
>
> d:\program files\microsoft visual studio
> 8\vc\platformsdk\include\wspiapi.h(44) : error C2894: templates cannot be
> declared to have 'C' linkage
>
> Can you please help me understand what is it?
> I know that according to VS help the problem is caused by a template
> defined inside an extern "C" block. But I cannot understand it, because it
> is a VS file.
>
>
> Thanks,
> Janiv Ratson.
>
| |
| Janiv Ratson 2006-02-23, 3:57 am |
| ?
"Janiv Ratson" <janivr@gmailcom> wrote in message
news:%23GfdhFWNGHA.3888@TK2MSFTNGP12.phx.gbl...
> ?
> "Janiv Ratson" <janivr@gmailcom> wrote in message
> news:euQPa9vMGHA.1088@tk2msftngp13.phx.gbl...
>
>
|
|
|
|
|