I have a .dll that I debug on my Computer. Now I want to use it on another PC. But copy and paste doesn't work, because as soon as I try to debug the copy after I change comething the VS2005 crashes.
When I create a new .dll project (Win32console app -> dll) and copy and paste the header file and the cpp file into the new dll-project, the compiler complains "error C2491: 'DriverModelSetValue' : definition of dllimport function not allowed
Why does he do that? I mean, he doesn't do that on my other version of the project on the old computer and i just copy and pasted the .h and the .cpp from that PC to the new one.