473,793 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Controlling compiler output, possible?

Hi

When creating a windows application you get a specific file and folder
structure when you compilte your code. I was wondering what sort of control
(perhaps not using VS.NET but other tools and command line) I have to
influence the way the output is made? At the moment I would get something
like this

App
bin
Release (contains .exe file & .dll files)
Images
Resources

Would it be possible to get the output to

App
Images
Resources
.exe and .dll files

?? If so, then how would it be solved with files pathes? Atm you have to use
something like Path.Combine(En vironment.Curre ntDirectory, "../../Resources")
to step up in the folder hierarchy to get from your exe to your files..
would be much nicer if I could use root relative paths such as
Path.Combine(En vironment.Curre ntDirectory, "/Resources")

Then a bit more advanced.I think I've seen this in an article before but is
it possible to compile all the dll files into my exe file? So I only have

App
Images
Resources
myapplication.e xe

instead of
App
Images
Resources
myapplication.e xe
somedll.dll
someotherdll.dl l
yetanotherdll.d ll

???

Thanks!
Mar 14 '08 #1
0 1003

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

Similar topics

4
4191
by: Dennis | last post by:
Hi, I suppose this post could fall under comp.os.linux/comp.os.unix as well, but I figured since my end goal was control from C++ code I figured this group might be the place to start. As the subject states, is it possible to control an xterm running on a linux desktop from another standalone program? For example, suppose I have program running inside an xterm on the desktop. From another piece of software I would like to be able to...
25
3949
by: Mohd Hanafiah Abdullah | last post by:
Axiomatic Solutions Sdn Bhd announces the availability of AMPC version 1.2. You can purchase AMPC online now at: http://www.axiomsol.com/hedesu/shopping/index.php Major Changes ------------- Version 1.2 supports the MS Windows XP platform, beside Linux x86 and Mac OSX. It also supports the DOUBLE floating point type. Please see the README file for details on DOUBLE floating point type.
11
1602
by: An | last post by:
Hello, I'm new to C and now I encountered the following problem. When I compile the program hulp.c (the code is below) with the command gcc -O -o hulp hulp.c, running the program with input 1 2 3 4 1 2 3 4 1 2 3 4 1 2 gives output 12341234123412 00041234123412. I don't understand how it is possible that the value of
1
2464
by: Skip | last post by:
Hi, I created a COM object in C# and everything works fine on my machine. Now, the compiler gives me the following messages when compiling my code: ------ Rebuild All started: Project: SI, Configuration: Debug .NET ------ Unregistering previous project output for COM Interop... Preparing resources... Updating references...
5
1616
by: Daniele | last post by:
Hi, how is it possible to create a project with a specific template, compile it and close it? All with a c# script. Thanks, Daniele
1
1798
by: robc | last post by:
Hi, I am using the xsd.exe tool (in .NET 2.0) to generate C# classes from a set of schemas. Some of the XML types that I have defined are used by more than one schema. For maintenance purposes, I have placed these “common” types into their own schema and have imported them into the other schemas as needed. As a simple example, I have something like the following: Type1.xsd - defines a type called Type1 Type2.xsd -...
1
4686
by: Mario Figueiredo | last post by:
Hello everyone, I'm having trouble controlling the cursor position when I make two consecutive calls to the get family of functions. This problem does not happen if there is an output in between. The following code illustrates the problem in a simplified way: #include "curses.h"
11
1674
by: Pietro Cerutti | last post by:
Hi group, here I come with a question which is quite simple per se, but for which I can't find an answer. Does the C standard guarantee that inside an expression such as (x && y) "y" is not evaluated if "x" evaluates to 0?
6
5662
by: Paulers | last post by:
Hello, I am trying to manipulate a console based application from another application for example I need to launch the console application, provide it input and take the output from the console application and use it within my application. Is this possible with vb.net? If so could someone point me in the right direction. Thank you :)
0
10433
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10212
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10161
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9035
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6777
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2919
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.