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

how can I integrate a .EXE file into a C program?

P: n/a
hi,

I am writing a C program and I would like to integrate some executables
(.EXE files) from my C program. Is this possible and how should one do
this exactly?

kind regards

Apr 11 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
pd***********@hotmail.com wrote:
I am writing a C program and I would like to integrate some executables
(.EXE files) from my C program. Is this possible and how should one do
this exactly?

While the usual caveats about posting off-topic content apply, the
answer is "it depends".

<div class="off-topic">
What do you mean by "integrate"? Some Windows coding tools allow you to
use resources within a DLL or EXE in different ways. Generally you
cannot refer to symbols within an EXE (you'd want a DLL or lib file for
that) but consult your system documentation.
</div>
Apr 11 '06 #2

P: n/a
Groovy hepcat pd***********@hotmail.com was jivin' on 11 Apr 2006
01:17:20 -0700 in comp.lang.c.
how can I integrate a .EXE file into a C program?'s a cool scene! Dig
it!
I am writing a C program and I would like to integrate some executables
(.EXE files) from my C program. Is this possible and how should one do
this exactly?


I recently posted code for c-embed, a utility to embed any file as
an array. Someone pointed out that one compiler gives a warning about
string length exceding that guaranteed by C90. That's easily fixed by
splitting the string in two. And it's fine in C99.
Anyhow, search Google for a thread entitled "Raw image in header
file".

--

Dig the even newer still, yet more improved, sig!

http://alphalink.com.au/~phaywood/
"Ain't I'm a dog?" - Ronny Self, Ain't I'm a Dog, written by G. Sherry & W. Walker.
I know it's not "technically correct" English; but since when was rock & roll "technically correct"?
Apr 12 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.