add working uncompiled dll to project?
Posted on 2004-10-04
first off: NEWB ALERT!!!! i don't know much about c++.
I have a managed c++ libary that works great. The way I compile it is with vs command prompt with a makefile. This libary consists of a single c++ file that compiles into a dll. I would like the file to compile with my entire solution, a mix of c, and vb.net projects, instead of it being a separate referenced dll. I am not the author of the file.
I have tried adding it into it's own c++ class project with in my solution, but I can't get it to compile. There are several errors. Pretty much what I did was try to create a blank C++ project, add the file, and compile it. I also used the wizards blank c++ class library, but still no luck.
How can I create a project in my solution that i can just copy the contents of this already working code?
here is the working makefile that I'm using currently with vs.net command prompt using nmake:
cl /nologo /clr /LD src\AfS.cpp /link /nodefaultlib /noentry mscoree.lib nochkclr.obj
If this is a super newbie question, forgive me :/
thx in advance.