Programming :: Make An EXE File For Windows XP That Does Not Require Any DLL, And Works?
Jul 17, 2010
I would like to create a code that is working on windows XP. I would like to have it like visual basic or very simple so that I can run some execlp, exec, or command="program.exe parameters" with also some internet support?GCC ? G++ ? but those require some DLL to be installed on any PC before running; it is for a friend to simplify his operations
View 5 Replies
ADVERTISEMENT
Nov 29, 2010
Initially I thought - use a for loop with ls in it:
Code:
However this causes lots of problems (folders have extensions, I have duplicate folders, the names with spaces create a folder for each element of the name).
The contents of the folder is basically movies (some with subtitles). Some of the names have things like (original) or CD1 CD2 in them.
View 15 Replies
View Related
May 23, 2011
I need to do firmware updates to various peripherals and may need to do so again in future. The problem is that all or most of the manufacturers provide BIOS updates are Microsoft Windows ONLY.
To that end I thought that I would install WINE, but I have been advised that WINE does not give true access to the hardware layer. As an alternative, I thought of creating a Windows "live CD".
My idea is to create a bootable "live CD Windows" on USB stick, so that I can boot from the memory stick, a
View 7 Replies
View Related
Jul 21, 2010
To analyse a coredump, I need to specify program name/path in GDB/KDevelop. Since the program name along with arguments is also within a core dump, I wonder if it doesn't keep the proper path of program that crashed and so asks for it?
View 3 Replies
View Related
Jun 7, 2010
I want to use LDAP on SUSE 10 to authorize the use of certain objects within IBM's MQ Series via the setmqaut command. I do not want to authenticate these users to the Linux server itself via LDAP. Users that actually log onto the Linux server will be authenticated through a product from Quest formly known as VAS. My question is, does LDAP require the use of PAM or can I utilize the facilities within LDAP to communicate with a Windows Active Directory so that I can authorize the use of MQ Series objects and not authenticate actual users that would log onto the server.
View 3 Replies
View Related
Jun 6, 2011
make the move away from programming with windows. I have just downloaded the souce code to the Fluid FLTK GUI designer version 1.3.0. and i am completely lost. It just a huge pile of folders to me i don't know where to start how do I compile it ect....? Can anyone with experience maybe give me some pointers on how the most productive way to go about reading open source metarial is? like are there any files with classic names i should be looking for in particular?
View 9 Replies
View Related
Aug 29, 2010
I just want to be able to copy the files from a cd that is only compatible with windows to and new cd that is compatible with ubuntu
View 9 Replies
View Related
Apr 1, 2011
I have written a small script from that iam appending the output to a file.If multiple users invoke the same script or if i invoke the same script n number of times (using &), the output file(ZZ/OUT) contains messup information.
++++++++++++++++++++++++++++++++
#!/bin/bash
#
[code]...
View 3 Replies
View Related
Feb 24, 2010
I have an environment where i have recursive make files (that is one main and in each directory of a project a file.mk with rules for that directory).Since i'm not the one who wrote it i'm not familiar with it. I would like to explore when i run certain targets how the rules work, which files cause dependency rules to work and why. Also i would like to know ALL the targets that are available to me. i couldn't find any way to 'debug' makefiles or to put it in such debug mode that i see all the information i need when i run a certain target.
View 4 Replies
View Related
Mar 11, 2010
Is it possible to make an AWK script that goes over the file multiple times, every time doing something different to it?
View 19 Replies
View Related
Dec 21, 2010
I have a bit of a problem and the only solution I can think of at the moment is a very tedious one, so I was hoping there would be a better way. What I am trying to do is cross compile the PPPD program so that I can install it on an embedded system (this system does not have make/gcc on it). It was easy to cross compile it, but I can not run "make install" since I'm compiling on a secondary machine. I don't want to install PPPD on this secondary machine (I couldn't anyway, because it was compiled for a different architecture) and I can't run make install on the target machine because there is no make/build system for it.
So it seems like what I would have to do is to manually copy over each compiled file from the build machine to the appropriate location of the target machine. And the only way (that I know of) to figure out how to do this is to manually examine the Makefiles (yes, there are several for PPPD) and figure out which file should go where on the target system. This isn't trivial because it uses a hierarchy of makefiles and the probability of human error for this method is high.
Is it possible that I could run another command that would give me a list of all the commands that make install would perform? Or a list of all files and their target location for "make install"? Or possibly some other solution that I am completely unaware of that would make this task not so painful and error prone?
View 8 Replies
View Related
Jan 27, 2010
I am trying to compile a C++ source file into a static library using make with root privileges (i.e., using "sudo"). However, I "sometimes" get the following compilation error:
Code:
g++ -Wall -g -fPIC -W -c /home/project/ether/src/packet-ethernet.cc
ar -cvq libether.a /home/project/ether/src/packet-ethernet.o
ar: /home/project/ether/src/packet-ethernet.o: No such file or directory
make: *** [libether.a] Error 1
I checked /home/project/ether/src folder to see if packet-ethernet.o in fact does not exist, and saw that it is actually located there, but its owner is "root", which is different from the current user. If I change the owner of packet_ethernet.o from root to the current user using "chown" command and execute make again with sudo, everything seems to be fine.
It may be a coincidence that I recently migrated to 64-bit platform from 32-bit, and then installed libboost-filesystem1.40-dev. After that, I began to experience such errors. I have "never" come across such a compilation error before. Even though I completely removed libboost-filesystem1.40-dev afterwards to see if it causes the problem, nothing changed.
After migrating to 64-bit and installing libboost-filesystem1.40-dev, my application exhibited another "weird" behaviour such that it produced "hidden" files using mkdir() system call, which were previously created as regular ones on the filesystem. Can compiler options that I use cause such problems? Is it possible that libboost-filesystem1.40-dev overwrote some system libraries so that I am getting such errors ?
View 1 Replies
View Related
Dec 7, 2010
My assessment is making a tree from a text file as follows: -reading a file line by line
-making a binary tree from it
- traverse by level the binary tree
- posting the traversal result to the same file without overwriting the text file- it is required to be append to the bottom of the text file (i have to do this in 4 languages: c#,PHP from Xampp,java, python)
i read the file with this script in java:
public class FileToStringArray {
privateString strLine;
privateString[] stringArray;
privateFileInputStream in;
[Code]...
View 9 Replies
View Related
Jun 20, 2011
Player-Stage uses .cc files. I know how to compile them. But how do I actually execute my code? There is an output file generated. There is nothing in the .cfg file or in the .world file that specifies what program to use to run the robot. Or is it not specified in the world or cfg files?
Then how to make the robot obey my compiled .cc file? If this question is silly or if I am asking stupid questions
View 5 Replies
View Related
Dec 16, 2008
How can i make a variable in a bash script, to refer each file in a folder,and to switch it to the next file,until the last file of the folder?
View 2 Replies
View Related
Feb 27, 2010
I have installed Canon ImageRunner 2018i on my linux box using CUPS web interface. When I try to install this as a network printer from a Windows XP machine, the windows XP machine keeps asking me for a device driver. Is there a way to configure the printer on CUPS/Samba so that when I try to install it on Windows XP machine as a network printer, it does not ask me for a device driver?
View 7 Replies
View Related
Jul 2, 2010
I'm using andLinux and for whatever reason, emacs seems to think that the file I'm editing has been changed every time I try to edit/save and keeps reprompting me. Very annoying. Is there a way to make emacs stop checking the file on the disk?
View 1 Replies
View Related
Feb 25, 2010
To start, I'm writing a script to check a file's date via FTP. Here's the portion that I'm having problems with:
Code:
function checkRemote
{
[code]...
View 7 Replies
View Related
Sep 2, 2010
We're in the process of implementing an offsite backup of all our servers to a remote Linux server. We're using rsync over ssh.What I've found is that characters such as ±, ¶,´ and £ are replaced on the Linux server with underscores.I don't mind if it changes these characters in the filenames of documents, but when it renames a language pack from Espa±ol.clx to Espa_ol.clx, it could cause issues for us further down the line.
What do I need to do differently to make the special characters copy over correctly? For the initial sync which will take place locally, before the machine is moved offsite, I have SAMBA enabled. I am able to copy files from Windows to the Samba share, retaining the original filename, though it looks different in the Linux directory listing, i.e. t̻st becomes ĻstThese files get deleted by rsync when it runs, as it does not match the filenames.
View 1 Replies
View Related
Nov 17, 2010
When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.
I get an error indicating that the make utility cannot execute the java compile command (javac).
The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file
I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.
I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6
My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu
However, I can manually compile using javac.
I can compile calling javac from within a bash script.
I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe
But I cannot compile java code from the makefile. Any reasons why I might be getting this error?
View 4 Replies
View Related
Apr 6, 2010
I want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.
I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.
View 2 Replies
View Related
Oct 18, 2010
Lets start with useful information:I need to create a hidden file for windows/linux using my c++ program.The file will be created on a mp3 player (fat32 file system) and the name will be ".myFile", so the file will appear hidden onux system (period before the name).The problem:Using windows I'm able to see this file, cause the "hidden" attribute is not set.
On Windows API there's a function to do that (CreateFile), then I was trying to find a compatible function to set the hidden attribute, but there's no success until now.Could someone show me the way? There's a program to change these attributes: mattribI will try (again) to find the source code, if someone knows where could I find it
View 2 Replies
View Related
Nov 22, 2010
I need to write a windows batch file to run unix commands by logging onto a telnet unix server. For example , I might want the batch file to log onto the unix sever, run the ls command, collect the output in a file and ftp it back to my windows desktop
View 8 Replies
View Related
Aug 19, 2010
I am new to ubuntu.I have done some programming in c++ under windows using graphics.h header file.I want to implement my programs in ubuntu.How can i do this?I am writing a program.
View 4 Replies
View Related
Feb 23, 2010
I'm trying to make a DVD that'll play on my stand alone DVD player. I import and edit the video using Kino and then export in an MPEG format. Fool that I am....I then waste hours and hours of time trying to create a DVD using Qdvdauthor. Then I click Create DVD and what does it do? It creates a bunch of useless files that when burned into a DVD produce a piece of junk.
Does anyone know exactly how to make a working video DVD on Ubuntu? unless you know exactly how to solve this problem don't send a bunch of links. I'm tired of reading the same regurgatated "how tos" that don't work.
View 4 Replies
View Related
May 7, 2011
i have a life tec webcam which automatically installed by ubuntu 10.10 and working except the led of the cam is always off how to make the webcam led work?
View 13 Replies
View Related
Mar 27, 2010
I wanted to know how can I cross compile SMS SERVER TOOL for an embedded computer and make just one binary file for it or how can I change all of its default files places like its demon and object file and gather all of them to one directory to execute and use and run.let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.now you tell me what can I do to solving this problem.
View 1 Replies
View Related
Sep 15, 2010
I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)
My current Makefile
Quote:
#What needs to be built to make all files and dependencies
clean:
# End of Makefile
I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.
I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop
View 1 Replies
View Related
Feb 20, 2010
I have an Ubuntu 9.10 server and i need to use an ftp server. I installed vsftp but i can't make it to work. What doesn't work is that can't login to the ftp server with my user(s).I created a user ("AddressBookUser") that should access to some files located on "/var/www/fpt/rubriche/". I set this folder as his home.Here is the row for this user in /etc/passwd:
Quote:
AddressBookUser:x:1001:1002::/var/www/ftp/rubriche:/bin/false
This user is member of the group "rubriche_ro" (and no other groups).This is my /etc/vsftp.conf:
Quote:
listen=YES
#listen_ipv6=YES
#
anonymous_enable=YES
[code]...
vsftpd.chroot_list exists, but as you see above the chroot_list_file directive is disabled.When i try to connect to the FTP server the connections is established but after i insert "AddressBookUser" as user name and confirm i get a "530 permission denied" message. This occurs both from the network (LAN) computers and locally:
Quote:
webs@webs:/etc$ ftp localhost
Connected to localhost.
220 Welcome to WEBS FTP service!
[code]...
I can't figure out what is the problem but my thought was that it's a problem related to the user configuration rather than vsftp configuration, but it's only my supposition. If i try to login with the "main" user of my Ubuntu server, "webs" i can login correctly.
View 18 Replies
View Related
Nov 17, 2008
I need to write a batch file for windows that automatically starts the cygwin tool in windows and executes the unix scripts.Previously we had these scripts in unix server.Now we need to migrate them to Windows server.For this reason we are using cygwin tool that allows the scripts to be executed on Windows server.We had written a batch file that starts the cygwin tool,but we were not able to execute the unix scripts.How can we write a batch file such that it executes all the unix scripts in cygwin.
View 5 Replies
View Related