Website currently being viewed
I have 50 machines in a LAN and each of these have internet access. Can a program be developed using vc++ which will tell what are all the websites which is being opened by users in each machine? ...
I have 50 machines in a LAN and each of these have internet access. Can a program be developed using vc++ which will tell what are all the websites which is being opened by users in each machine? ...
In VC++ 6.0 MFC application i am trying to Display date in Shot Format eg;05-10-09 but it will print 05-10-2009 Here is the code i written SYSTEMTIME st; GetSystemTime(&st); CString str; str.Format("%02d-%02d-%02d",st.wDay,st.wMonth,st.wYear); m_date=m_date + str; I will get output say eg: 05-10-2009, but i want in this format 05-10-...
Hi Could any one know apache server is not starting in fips mode in some PCs. Description: We have a client-server application where Apache webserver is the server and IE is the browser. Recently we have made this Apache webserver FIPS 140-2 compliant. Hence now it can work in FIPS mode. We are able to run the server in FIPS mode on a...
I'm trying to localize a large MFC project where all the strings are hard-coded into the source code. (It was the easiest thing to do at the time, back before we had any idea we'd expand into other markets.) I've looked at localization tools, and invariably they say to put all the strings into the .rc file first, or just assume it has ...
Hi, I have created a wn32 project with Visual Studio 2008 and Visual C++ language, it uses the ws2_32.lib library and then I compiled in Release mode. It runs very good in the same computer, but when I copy the exe file to other computer (that doesn't have installed Visual Studio), it doesn't run. The message I see is: This applicati...
I develop commercial unmanaged C++ app on Visual Studio 2008, and I want to add a static-code analysis tool. Any recommendations? I think it would be real nice if the tool can be integrated into MSVC. I'm thinking about PC-Lint + Visual Lint However, I have been taking a hard look at Coverity, Understand, and Klockwork as well. Pri...
Hi, I am dealing with a lot of strings in my program. These string data don't change through out the whole life time after they being read into my program. But since the C++ string reserves capacity, they waste a lot of space that won't be used for sure. I tried to release those spaces, but it didn't work. The following is the simple c...
Forgive me my C++ is incredibly rusty. But I am trying to take some old code and recompile it under Visual C++ 2008. It was originally written for Visual C++ 6.0 The error I am getting is this: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Ok seems simple enough. But then I look at th...
We develop a network library that uses TCP and UDP sockets. This DLL is used by a testclient, which is started multiple times at the same PC for a load test. In Windows Vista, it is no problem to start the testclient many times. In Windows XP, starting it up to 5 times is no problem, but if we start it 6 times or more, and then closing ...
I am creating a dll file in visual C++ through Dynamic Link Library project. I know i can import this dll thorugh object browser in C#. I want to know whether i can use those functions without any issues, since i am programming in 2 different languages. ...
How to increase the size of the CString, if CString Object get maximum size. or tell me the function which can hold maximum data more than the CString ...
I want to develop a software which can record online radio streams in VC++ using MFC. Any pointers to get me started. ...
I have an auto pointer implementation: template <typename T, bool Arr = false> class GAutoPtr { T *Ptr; public: typedef GAutoPtr<T, Arr> &AutoPtrRef; GAutoPtr(T *ptr = 0) { Ptr = ptr; } GAutoPtr(AutoPtrRef p) { Ptr = p.Release(); } ~GAutoPtr() { Empty(); } operator T*() { retur...
I'm using Visual C++ 2008, SP1. I have a QT app (gui, .exe) in debug build config. It's set to use the Multi-threaded Debug DLL version of the CRT, aka MSVCRTD.lib. I'm linking against a 3rd party library that is built in release mode and using the Multi-threaded DLL (non-debug) version of the CRT, aka MSVCRT.lib. It links and runs but...
Hi I wanted to know How to Disable Windows TCP/IP Stack in VC++ [ Programmatically ]. We are doing some raw socket programming using winpcap. So our application does not need Windows TCP/IP Stack and We Want to uninstall it the moment our application starts. Please help. Thanks in Advance. ...
In vc++6.0 MFC Application Project , I will not get the compile Error , but when i run the project i will get the error Debug Assertion Failed! program:project.exe File:winocc.cpp Line:345 For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. (Press Retry to debug the appli...
Hi, I am new to MFC and I need to build a multi-language application that should be able to change the language at runtime. AFAIK the common way for internationalization with MFC is to create resource-only DLLs. But there seems to be no simple way (that means, load DLL, call some function, and MFC updates all stuff automatically or som...
Hi, I used pcap_sendPacket() to send raw UDP packet which i crafted manually. i want to increase the performance of my code by reducing the context switches. But i got the sample code about pcap_sendqueue_queue() function it sends variable number of packets in a time.but it reads read from the already dumped .pcap file and .cap fi...
I already have an application called "old" which renders an image in which the image data is stored in form of session, and I need to read that data from this existing "old" application to an application called "new". How do I pass this data? Do I need to get the memory address of the session and pass it to my other application? And ev...
for (int v = 0; v <= WordChosen.length();v++) { if(Letter == WordChosen[v]) { WordChosenDuplicate.replace(v,1,Letter); } } I get this error "Error 4 error C2664: 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::replace(__w64 unsigned int,__w64 unsigned int,const std::basic...