Hi,
I'm having a whole load of grief trying to get my old VC6 project built in VC++ .NET 2003.
I get a huge series of the same error, that being "definition of dllimport function not allowed" (C2491).
I didn't write any of the problematic code myself. I can't find any reference in it with regard to the above problem, and regardless I'm fairly sure I shouldn't have to change it anyway.
Presumably I have missed something from my configuration, in which case, any tips? Otherwise it looks like I'll have to return to my aging VC6, or attempt a transition to Eclipse et al.
Cheers!
Rob
I'm having a whole load of grief trying to get my old VC6 project built in VC++ .NET 2003.
I get a huge series of the same error, that being "definition of dllimport function not allowed" (C2491).
I didn't write any of the problematic code myself. I can't find any reference in it with regard to the above problem, and regardless I'm fairly sure I shouldn't have to change it anyway.
Presumably I have missed something from my configuration, in which case, any tips? Otherwise it looks like I'll have to return to my aging VC6, or attempt a transition to Eclipse et al.
Cheers!
Rob