472,964 Members | 2,452 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,964 software developers and data experts.

compiler question.

I am using al.exe to build a exe from a .netmodule and adding a
resource. I was able to do it and al.exe ran fine. I was expecting
that the exe that get generated will have both my .netmodule and the
resource and it seems not. When I copy just the exe to another
directory and run it, I get filenotfound error on the .netmodule. Am I
missing something? here is the command line question

al /out:u1.exe /t:winexe /embed:b.resources u.netmodule /
main:NameSpace.Program.Main

When I run u1.exe with u.netmodule, it works fine, but if I delete
u.netmodule from the current directory, u.exe fails with .netmodule
not found. Can someone help me?
Mar 31 '08 #1
1 1205
On Mar 31, 11:25*am, CSharper <cshar...@gmx.comwrote:
I am using al.exe to build a exe from a .netmodule and adding a
resource. I was able to do it and al.exe ran fine. I was expecting
that the exe that get generated will have both my .netmodule and the
resource and it seems not. When I copy just the exe to another
directory and run it, I get filenotfound error on the .netmodule. Am I
missing something? here is the command line question

al /out:u1.exe /t:winexe /embed:b.resources u.netmodule /
main:NameSpace.Program.Main

When I run u1.exe with u.netmodule, it works fine, but if I delete
u.netmodule from the current directory, u.exe fails with .netmodule
not found. Can someone help me?
Ok, after some research I found out that, if you have al.exe to
combaine the resource and .netmodule, you still need to redistribute
the .netmodule and ILMerge noway will include the .netmodule in
the .exe
Thanks.
Mar 31 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: madhu.mys | last post by:
Which C++ compiler do you use for Windows and why ?
7
by: Tao Wang | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I saw cuj's conformance roundup, but the result is quite old. I think many people like me want to know newer c++ standard conformance test...
10
by: Ardhendu Nandan | last post by:
I am trying to compile Gcc compiler in Windows O/S.I have downloaded entire source Code of this compiler at tries to run it in DEVCPP but I am gating some linker error and some header files missing...
14
by: joshc | last post by:
I'm writing some C to be used in an embedded environment and the code needs to be optimized. I have a question about optimizing compilers in general. I'm using GCC for the workstation and Diab...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.