aze wrote:
I have a 2 c files (pdfp.c, PrinterUtils.c) and 1 .h file
(PrinterUtils.h) and 1 .mak file (pdfp.mak). What I need to do is
compile these files into a dll so I can use them in my asp.net
application.
Does anyone have any idea how I can compile these files into a dll??
Open Visual Studio and use New Project -DLL Project. You will get an empty
source file, maybe with a DllMain in it.
Add those two .c files to the file list, and compile.
You should get a .LIB file.
Use New Project -Console Application -Hello World, and build a Hello
World program.
Add the .LIB file to its file list. Then #include the .h file into your
Hello World program. Try to call one of the functions in pdfp.c.
If you can, you are ready to use ASP.NET. Investigate (on a .NET newsgroup)
how to link to a DLL, and then call it.
All that is my guess, from doing similar things. This newsgroup is only
qualified to discuss the raw C++ language itself, so your questions will get
much better help on some .NET newsgroup.
--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!