A
Aaron
Hello All,
First, I'm newer than a Newbie... I know its sad, but i'm trying to start
somewhere.
I'm attempting to write what I thought was a very simple program that would
call another program from a command line. Now I got that part to work, but
got hung up on packaging the exe (and its supporting dll) to the target
computer.
So I found an open source program that extracts and create cab files. So
using that I created a small progy to create the cab file containing the the
two other files I need. Then modified my code to call the dll file that I
included into the program(the cab extractor program.. I might also mention
that the open source program is writen in C++ not C# and comes as a dll file
that I included into my project). Everything was working fine till I moved
my program to another computer and discovered that the dll file from the cab
program is not included in my exe file. It has to be copied to the same
directory as my exe.
So does anyone know how integrate that dll file into my exe, or a way to
include it as a resource file and extract it to the working directory(i've
search high and low for that and can not find anything).
I've tried to use the al.exe program included with the SDK's in VS08 but its
fighting me every step of the way. I keep getting caught up on finding the
main entry point. The main entry point in my app is under the program.cs
class - method main. So in the al.exe command line I include
"/mainrogram.main" like the tech net article refers to.. but it keeps
erroring out.
If anyone has suggestions please respond. I could use a little help before
the sanity fails!!! LOL
Thanks,
Aaron
First, I'm newer than a Newbie... I know its sad, but i'm trying to start
somewhere.
I'm attempting to write what I thought was a very simple program that would
call another program from a command line. Now I got that part to work, but
got hung up on packaging the exe (and its supporting dll) to the target
computer.
So I found an open source program that extracts and create cab files. So
using that I created a small progy to create the cab file containing the the
two other files I need. Then modified my code to call the dll file that I
included into the program(the cab extractor program.. I might also mention
that the open source program is writen in C++ not C# and comes as a dll file
that I included into my project). Everything was working fine till I moved
my program to another computer and discovered that the dll file from the cab
program is not included in my exe file. It has to be copied to the same
directory as my exe.
So does anyone know how integrate that dll file into my exe, or a way to
include it as a resource file and extract it to the working directory(i've
search high and low for that and can not find anything).
I've tried to use the al.exe program included with the SDK's in VS08 but its
fighting me every step of the way. I keep getting caught up on finding the
main entry point. The main entry point in my app is under the program.cs
class - method main. So in the al.exe command line I include
"/mainrogram.main" like the tech net article refers to.. but it keeps
erroring out.
If anyone has suggestions please respond. I could use a little help before
the sanity fails!!! LOL
Thanks,
Aaron