How to run external program via a C# program?
How do I run an external program like Notepad or Calculator via a C# program? I am new to it and I can't seem to get it correct. ...
How do I run an external program like Notepad or Calculator via a C# program? I am new to it and I can't seem to get it correct. ...
I have a desktop(winforms) application, and I'm looking for .net linker that links the assembly to assembler level(lower than IL) in order to prevent reverse engineering. another solution might be acceptable as well. does anyone know of such a linker? ...
I had a problem at first compiling Qt static on windows, QTBUG-11249 When configured with "-no-qt3support", the build completes fine. i did that and compiled successfully, but i get the same errors when i try to compile my application. e:\Qt\2010.04-static\qt\lib/libQtGui.a(qapplication.o):qapplication.cpp:(.text+0x8e0f): undef...
I am trying to limit the ABI of a shared library using the gcc's fvisibility feature. However I am confused what is the correct way to do it. My makefile organizes the build process in two stages. At the first step all .cpp files are built to object files using some gcc options. Then all the object files are linked together using anoth...
Hello, Note: Despite the mentioning of Python in the following there is a good chance for my problem not to be Python related at all. If I am not mistaken the “module” I mention is equivalent to a C library—at least for the concerns of my problem. On Debian I am trying to create a Python module with C, which in turn uses the GSL. The f...
Hello, I'm new to C++ and was working on an assignment for a class. We were given a .txt file, have to read information from it, and store it in a linked list, and then print it out to the user. After hours of trying to manipulate the examples we were given, and another couple hours of trying to write the code from scratch, I'm getting ...
Hello, I having trouble with app that uses my static libs. Here is my setup: I have 3 libs, Utilities, Share and Misc. Share and Misc depend on Utilities. They are compiling just fine when I compile them separately. Every lib is in its own XCode project. I want to build an app that uses features from Utilities and Share, so I added the...
Hi, I am using a shared library. Which I am using it to cross compile my executable. During the linking stage linker throws the error file format not recognised. When I run ld on it libcclass.so: file not recognized: File format not recognized When I run file libcclass.so: it gives libcclass.so: ELF 64-bit LSB shared object, x86-64, v...
Hi, I'm struggling to convert a C-program linked with ld, of the gnu tool-chain to make it compile as a visual-studio (2005) project. The program puts .data-symbols in different segments and during an initialization phase it copies data between segments. Pointers to the start and end of the segments are defined in the ld linker scri...
I'm trying to get the WWW::Curl::Easy Perl module installed on AIX 5.3. I have curl installed (from source) in /usr/local. When trying to build the Perl module, I get this: $ perl Makefile.PL Found curl.h in /usr/local/include/curl/curl.h Building curlopt-constants.c for your libcurl version Building Easy.pm constants for your libcurl ...
I am trying to compile a project by compiling object files and then linking them together, nothing fancy: hello.o : hello.h hello.cu nvcc hello.cu -c -o hello.o #... main.o : $(objs) nvcc *.o -o exec When I get to the link phase, just about every method is shown to be missing and undeclared, despite the fact that nm shows tha...
Thank you in advance for your help. I have an iPhone application written in a combination of c and Objective-C which gets a lot of linker errors such as: "_gListSelection", referenced from: _gListSelection$non_lazy_ptr in PalmUtil.o (maybe you meant: _gListSelection$non_lazy_ptr) These variables are properly defined as exter...
I have a large makefile which builds several libraries, installs them, and then keeps on building objects which link against those installed libraries. My trouble is that I want to use "-lfoo -lbar" as g++ flags to link against the two installed libraries, but the dependencies get messed up. If I change a header "42.h" which the librar...
When linking my dll in release build I get - 1>LINK : warning LNK4098: defaultlib 'mfc80d.lib' conflicts with use of other libs; use /NODEFAULTLIB:library 1>LINK : warning LNK4098: defaultlib 'mfcs80d.lib' conflicts with use of other libs; use /NODEFAULTLIB:library 1>LINK : warning LNK4098: defaultlib 'msvcrtd.lib...
Hi all, i have a static library which (among other things) implements a tiny function that only returns some string from a table of const strings. This function is not called anywhere inside the library, but still it's declared as inline. For clarity, it looks like this: namespace flow { inline const char* GetName( BYTE methodType ...
I would like to display the explicit path to a library which will be used in the linking stage of compilation. I want to do this so that I can add the library as a dependency to a separate object file. In other words, I often link using: g++ myFile.cpp -Lsomewhere -Lelse -Lhere -Lthere -lfoo Is there a way to coerce g++, ld, ldd, or ...
Upgrading to XCode 3.2.3 and iPhone 3.2/4.0 SDK has introduced a strange bug into my build process. I have a static library, Compton, which itself depends on three20. I build Compton as a dependency of the client apps that it powers. When I compile Compton as its own project in either simulator or device mode, 3.2 or 4.0 SDK, everythi...
I had to modify some open source code to use in a C project. Instead of building a library from the modified code, I'd like to just compile and build an executable from my own source combined with the modified open source code. The goal is to have a stand-alone package that can be distributed. I can get this to work just fine using th...
Hi, I don't properly understand compilation and linking of C++ programs. Is there a way, I can look at object files generated by compiling a C++ program(in an understandable format). This should help me understand format of object files, how C++ classes are compiled, what information is needed by compiler to generate object files and he...
Hi all, With some background in assemble instructions and C programs, I can visualize how a compiled function would look like, but it's funny I have never so carefully thought about how a compiled C++ class would look like. bash$ cat class.cpp #include<iostream> class Base { int i; float f; }; bash$ g++ -c class.cpp I ran: bash$obj...