By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,958 Members | 2,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,958 IT Pros & Developers. It's quick & easy.

How to compile c to dll

P: n/a
aze
Hi,

I am by no means a c programmer... far too difficult a language for the
likes of me :-)

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??

Thanks in advance for any help at all.

Justin

Nov 1 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On 1 Nov 2006 08:41:46 -0800, "aze" <co*****@parkesconsultancy.co.uk>
wrote:
>Hi,

I am by no means a c programmer... far too difficult a language for the
likes of me :-)

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??

Thanks in advance for any help at all.

Justin
You posted this 30 minutes ago under a different title. Usenet is not
a chat room. You need to give your message time to circulate and
people time to respond.
Remove del for email
Nov 1 '06 #2

P: n/a
aze wrote:
Hi,

I am by no means a c programmer... far too difficult a language for the
likes of me :-)

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??

Thanks in advance for any help at all.

Justin
Presumably from what you have said you are doing this on Microsoft Windows.
You would be better addressing this to
comp.os.ms-windows.programmer.win32
If you are lucky then it is as simple as:
1. Open a "Command Prompt" window
2. Change directory to where the three files are stored.
3. Type "nmake -f pdfp.mak"

If you are unlucky then ask there.
--
Bill Medland
Nov 1 '06 #3

P: n/a
aze wrote:
Hi,

I am by no means a c programmer... far too difficult a language for the
likes of me :-)

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??
Use a compilation system that supports whatever sort of file the .mak
file is.
Thanks in advance for any help at all.
I suggest asking where ever you got the files from. We deal with
standard C here, not the vagaries of every implementation or identifying
which of the many implementations a given set of files were written for.
--
Flash Gordon
Nov 1 '06 #4

P: n/a
On Wed, 1 Nov 2006 16:41:46 UTC, "aze"
<co*****@parkesconsultancy.co.ukwrote:
Hi,

I am by no means a c programmer... far too difficult a language for the
likes of me :-)

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??
You'll need a compiler that compiles your c files and a linker that
will be able to link the object files the compiler produces.
Thanks in advance for any help at all.
The rest is off topic on this group. Go to a programming roup that
handles your OS.

--
Tschau/Bye
Herbert

Visit http://www.ecomstation.de the home of german eComStation
eComStation 1.2 Deutsch ist da!
Nov 1 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.