This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Warning (level 1) C4273
'function' : inconsistent DLL linkage. dllexport assumed
- A member function is declared in a class with dllexport linkage, then imported or a member function is declared in a class with dllimport linkage, but it is not imported, static, or inline.
The function is linked as dllexport.
The following sample generates C4273:
char __declspec(dllimport) c;
char c; // C4273, delete this line or the line above to resolve
void main (){
}