C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.

learn more… | top users | synonyms

0
votes
0answers
76 views

what does it mean to host C++ fastcgi application in nginx

I'm new to web services, and I am making a web proxy in c++ using the fastcgi protocol. I don't quite understand how to "host" web services in a web server, so if someone could lead me to an ...
0
votes
1answer
668 views

sqlcmd is not recognised as an internal or external command, operable program or batch file SQL2014

I have written an installer that is supposed to install SQL Server Express 2014, create an instance, and then use sqlcmd to connect to the instance and build the database from a schema. It works by, ...
2
votes
0answers
315 views

Getting MSVCR120_CLR0400.dll is missing error message on Windows 7 machine

Not sure if this belongs on serverfault, let me know if it should be posted somewhere else. I am running Windows 7 64-bit. An installation for a corporate .NET app (desktop app that uses .NET 4.5) ...
0
votes
1answer
76 views

Random bluescreens during VS2012 C++ compile

I have a Windows 7 VM (ESX) with Visual Studio 2012 that handles continuous integration for a large C++ project. The solution currently builds with the /MP flag, but bluescreens have occurred using ...
0
votes
0answers
36 views

Missing objects in 50x error page in varnish

I use this code to costum 503 error page in Varnish. if ( obj.status >= 500 && obj.status <= 505) { set obj.http.Content-Type = "text/html; charset=utf-8"; synthetic ...
0
votes
1answer
62 views

Can the Visual Studio 2012 C++ Redistributable be installed automatically with a TFS Build?

I have an ASP.Net project that's using the ClearScript.V8 library which relies on the Visual Studio 2012 C++ Redistributable to work. I'm faced with the prospect of having to install this on 50+ ...
0
votes
0answers
91 views

RPC connectivity issue

I am experiencing a RPC connectivity issue. I have two RPC servers built on C++. RPC Server 1: Windows 2000, IIS5, network 1 RPC Server 2: Windows Server 2008, IIS7, network 1 RPC Server 2 is more ...
0
votes
0answers
71 views

Linux process cpu user ticks delta is bigger than system user ticks delta

My program samples /proc data in order to get statistic about the CPU usage of the system. I sample both /proc/stat and calculate the statistics delta (in interval of 1 second), and I also sample the ...
2
votes
3answers
698 views

SPARC T4, Solaris 11, no access to internet, how to install system headers (or a working compiler)

I need to compile a C program on SPARC T4-1 (Solaris 11) machine that has been deployed to customer network, and it no longer has access to the Internet. Originally during the setup, compilation ...
2
votes
1answer
28 views

Squeeze/Lenny compilation : Library Link error [closed]

I've got a problem here : I have a C++ Library ("DataTsBroad") and a C++ Test app ("DataTsBroadTest"), to test it. Actually, the Lib and the Test app are both compiled an a Debian Lenny. Now, i ...
0
votes
2answers
553 views

Is there any open source software for QoS (traffic control)? [closed]

We are doing QoS (traffic control) for our server application. This server provides file download service for users and we want to give different users different priority and bandwith. Suppose the ...
1
vote
2answers
202 views

Using WSUS APIs to get updates from microsoft server to local server

I am planning to write an application using WSUS APIs, to get updates from Microsoft, can someone please suggest me some tutorials or links where I can find some sample code to get started, I have ...
1
vote
1answer
98 views

Packet Size modification over Sockets [closed]

I am doing socket programming in QT and I have to design a protocol to transfer DATA over TCP/IP. Now my protocol design is SIMPLE and it sends commands in a fashion that the first BYTE of the data ...
0
votes
1answer
72 views

Apache: Run standard-PHP side by side with Fast-CGI

I'd like to run a server that 'delegates' certain requests to a C++-Script via FastCGI - how can I configure Apache to do so? It would just be enough to redirect requests to a specific page I could ...
0
votes
1answer
39 views

Corba Naming_Service creates so many UDP connections

The Corba Naming_Service creates so many UDP connections and they are still remained even when the clients are disconnected. It goes up to 60K connections. AIX 5.3, TAO Version 1.5a_p22 and ACE ...
2
votes
4answers
612 views

What is the efficient way to backup large files?

I have the schedule job of backing large files in Windows Server and it takes almost 2 hours to finish. For now, I only use copy command in the .bat and copy the large files to another folder. I'm ...
1
vote
2answers
548 views

How to run c++ and get the output in a log file

I have a c++ code got started by a shell script. The shell script has the following line to start the c++ code /home/user/test_client/a.out Now i want to capture the output of this code in a file ...
0
votes
1answer
235 views

Multiline statements via ODBC fail

I have written an ODBC wrapper in C++ and use it to execute queries, bind results and return data sets. Everything appears to work fine and I have been using it for a long time for single line ...
0
votes
3answers
72 views

EXEC() syntax error using ODBC

I have written a little ETL application that I wish to run a few lines of TSQL from. If i enter a simple query like "SELECT * FROM MyTable" everything is fine. All single line commands run as ...
-6
votes
2answers
937 views

How can I execute C++ code on a webserver? [closed]

Do hosting providers allow you to execute C++ code on their web-servers? I have a C++ algorithm that is used for converting file types and I want users to be able to upload their files to my website ...
-1
votes
1answer
292 views

What is the difference between Windows XP services and Windows 7 services?

I have downloaded an open source C++ application. This application run as a Linux daemon, listening at a port, and waiting for connection from client PC. Someone has compiled this application under ...
0
votes
1answer
237 views

ActiveMq C++ client install

I m trying to install ActiveMQ C++ client install (CMS) I am getting the following error, when i try to configure. configure: WARNING: APR not found The Apache Portable Runtime (APR) library cannot ...
2
votes
0answers
71 views

Platforms: Techniques used to apportion CPU, Memory, and networking resources for a C++ telecom infrastructure application [closed]

This is a general question that is pertinent to Software Architecture for a high availability, carrier grade telecom infrastructure box that does say, plenty (==1000s of TCP/IP-based (local) network ...
1
vote
1answer
213 views

Is it possible to run Win32 executable on a virtual private server (VPS)? [closed]

Is it possible to run Win32 executable on a virtual private server (VPS)? I have created some .exe application from C++ code, and I need to let people on the internet run it, is it able to do so on a ...
1
vote
2answers
288 views

A network socket in C++ on Redhat 5 for non-root user

I have written a program in C++ which uses sockets to talk to a windows7 machine. I have run the code as the root user and everything works fine. However I don't want to end up running the program as ...
1
vote
3answers
408 views

Program to monitor new exe files in Windows (C/C++)

I am currently looking for a program or source in C / C++ that will allow me to monitor any new executable files and output the results to a text file Any help would be greatly appreciated
0
votes
1answer
278 views

EventLog real-time capture with C++

Is there a way that I can capture Windows EventLog logs in real-time with C++?
0
votes
1answer
174 views

Free Linux Cluster Build for Small Scale Research

I need to build a small cluster for my research. It's pretty humble and I'd like to build a cluster just with my other 3 laptops at home. I'm writing in C++. My codes in MPI framework are ready. I ...
0
votes
2answers
105 views

Oracle Installation In HP-UX

I wanna install Oracle 10g in HP UX 11.3(RISC Machine). As per the Oracle installation pre-requisites, it requires HP C/aC++ Compiler to be installed along with the requisite patches for the same. The ...
0
votes
2answers
3k views

What does VNC reflectors basically do?

I am confused about what vnc reflector does. From the documentation http://sourceforge.net/projects/vnc-reflector/ I got that it's proxysitting between real VNC server (a host) and a number of VNC ...
0
votes
0answers
179 views

What does VNC reflectors basically do?

I am confused about what vnc reflector does. From the documentation http://sourceforge.net/projects/vnc-reflector/ I got that it's proxysitting between real VNC server (a host) and a number of VNC ...
1
vote
2answers
8k views

How do I install GCC 4.5.2 in Ubuntu 10.10?

I have Ubuntu 10.10. The command: g++ -v evokes the response gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) And the command sudo apt-get install g++ evokes the response g++ is already the newest ...
2
votes
3answers
2k views

How to reinject the packet in the Iptables?

I have a packet inside a packet a.k.a tunneling. So essentially it's of the following form: [IP HEADER 1][IP HEADER 2][PAYLOAD] After reading the first header(done by a library) I will get the ...
0
votes
1answer
110 views

I have 8 server-grade machines used for development. Should I create a VPS cloud?

My idea is that each user can spawn a VM, then use dist-cc to do compile using other VMs in the cloud. Is such practice common in development environment? Would performance be much worse than just ...
5
votes
1answer
153 views

Crazy idea: Identify if system is idle when it's a black box

I need to be able to tell if a series of servers have anyone active on them, and if not then to automatically shut them down (turn off the VM). It's not a trivial task, because I have 1000+ server ...
1
vote
5answers
2k views

Hosting a Server Written in C++ [closed]

I want to host a server program written in C++. What are the best/easiest hosting options out there for native apps? I know for Rails there are EngineYard and Heroku. Is there something similar for ...
1
vote
2answers
4k views

How to set up apache with fastcgi and a simple test script?

It's been a few days that I'm trying to set up fastcgi with apache on a Kubuntu server. Despite searching everywhere, I cannot make it to work. If I try to run the site with the cgi application, ...
0
votes
1answer
202 views

Unable to load my driver in non-admin user account

Dear Sir I have written a C++ driver for some application of my own. It works perfectly fine when i run it on Administrator account, but on non-Admin user account, it is unable to load driver. Please ...
1
vote
1answer
141 views

Compiling native c extensions in Ruby when Ruby is installed in home directory

I have no root on the machine I'm working on, so I've had to install ruby in my home directory. Everything works fine, except that I am not able to compile any native ruby extensions because it cannot ...
1
vote
8answers
663 views

Ubuntu server or Debian server (to run C++ apps developed on Ubuntu)

I have written a number of C++ server side daemons for my website, using my Ubuntu 9.10 dev machine. The C++ apps I mentioned above are "GUI-less" daemons (and libraries used by the daemons). I am ...
0
votes
2answers
103 views

Trying to find books [closed]

When I was learning Visual Basic.net 2008 I found a book that not only taught the basics but by the end of the book I had developed a fully working database application. Does anyone know where I might ...
1
vote
5answers
755 views

Methods of Uploading files to apache without webdav or ftp, scp, ssh, telnet or sftp?

The company where I work has a desktop application that uploads files to a site without any of the aforementioned protocols. They use CGI on the backend, so is it possible that they are uploading ...
0
votes
3answers
96 views

Problems partitioning an AIT-4 Tape

Drive: SONY AIT-4 drive SDX-900V series Ver.2.1 Media: AIT-4 (SDX4-200C) I am using SCSI commands to try and create 2 partitions on a tape (done the same thing before on VXA & DDS drives). The ...
3
votes
3answers
155 views

XP user can see app on their desktop that was started by another logged-off user

I think I've stepped into the twilight zone today. I'm running XP with the latest service packs and updates in a VM. It contains two administrative user accounts both without passwords. I log in as ...