Hi Folke,
Folke said:
Created : VS .NET 2003 Visual C++ Extended Stored Procedure .dll
Compile Error:
c:\Folke\VCNet\TestXP\proc.cpp(58): error C2061: syntax error : identifier 'WsXpService'
c:\Folke\VCNet\TestXP\proc.cpp(58): error C2065: 'xsp' : undeclared identifier
c:\Folke\VCNet\TestXP\proc.cpp(58): error C2653: 'localhost' : is not a class or namespace name
c:\Folke\VCNet\TestXP\proc.cpp(58): error C2653: 'localhost' : is not a class or namespace name
c:\Folke\VCNet\TestXP\proc.cpp(58): error C2882: 'WsXpService' : illegal
use of namespace identifier in expression
c:\Folke\VCNet\TestXP\proc.cpp(59): error C2064: term does not evaluate to a function taking 1 arguments
c:\Folke\VCNet\TestXP\proc.cpp(59): error C2065: 's' : undeclared identifier
c:\Folke\VCNet\TestXP\proc.cpp(59): error C2065: 'String' : undeclared identifier
c:\Folke\VCNet\TestXP\proc.cpp(59): error C2227: left of '->WsXpMethod2'
must point to class/struct/union
c:\Folke\VCNet\TestXP\proc.cpp(59): error C3861: 'xsp': identifier not
found, even with argument-dependent lookup
Did you enable "Use Managed Extensions" in your general project properties?
Did you add a "Web Reference" to the WebService? If yes, is the resulting
code ATL or CLR based? You can verify this by looking at the proxy in the
generated header: Is there an #include of <atlsoap.h> or using namespace
System::Web::Services?
HTH,
SvenC