Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VC++ .NET 2003 migration trouble

Status
Not open for further replies.

wapoc

Programmer
Jan 29, 2003
14
FR
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top