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

P

pdmountaineer

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
 
V

void * clvrmnky()

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

Peter Shaggy Haywood

Groovy hepcat (e-mail address removed) 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"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top