Quantcast
Channel: Visual C forum
Browsing all 15302 articles
Browse latest View live
↧

gmtime remove seconds

Hello, I have a code to check the last time modification of a file using "gmtime". Is it possible to remove the seconds in the result? To have something like this : Tue Mar 23 21:51 2013Code:struct tm*...

View Article


Problem with intellisense and CImg library, Win7 64-bit VS2008

Hey, this is probably really simple to fix since I'm relatively inexperienced, but I just cannot manage to find any solutions in the forums, through google, or anything.So I'm trying to use the CImg...

View Article


ATL COM Icon Overlay dll registering failed for target Win32 under Windows 7...

Hi all,I've created simple icon overlay atl com dll that works fine with target x64 under Windows 7 x64. I want to have icon overlay in x86 applications like Total Commander, I built my project with...

View Article

Why doesn't my code run correctly?

#include <iostream> #include <typeinfo> using namespace std; class Shape { public: virtual ~Shape() {}; }; class Circle : public Shape {}; class Square : public Shape {}; class Other {};...

View Article

Detecting user of a network connection

Hi AllHow can we detect the windows user from whom a network connection(web request) is originated if there are multiple users logged on at same time. I want to get the user information in user level...

View Article


Variable not reading!! HELP please!

Hello,  I am trying to read an rfid tag using a ftdi driver: http://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).pdf I open the device correctly but when I try...

View Article

Download UNIX Operating System

Where and how to download and install UNIX Operating System?

View Article

Compatibility VS2010 solutions on XP with Windows 8.

I wrote an application with VC++ 2010 on XP. I had a problem. When I was saving a text file, the program was started in the save folder and not in the installation folder. I solved by setting then the...

View Article


3 beginner's problems

Hi- I have these problems while debugging:1. it says the project is out of date2. it says it cannot find the file specified3. it says cannot support default -int.Thanks!

View Article


Help to understand statement

The code:#include "../require.h" #include <iostream> using namespace std;inline void require(bool requirement,   const std::string& msg = "Requirement failed"){  using namespace std;  if...

View Article

Help with a problem

"Using the Standard C++ Library vector as an underlying implementation, create a Set template class that accepts only one of each type of object that you put into it."I don't really understand what is...

View Article

GetWindowText gives error 1400

Hello. I am getting error 1400 for somereason when calling GetWindowText. However  GetWindowTextLenght gives me proper value. Why does GetWindowTextLenght work when GetWindowText gives error 1400? The...

View Article

2nd request - New install of VS2010Ex fails to compile

This is my second request for help on this problem. It occurs on my VS2012Ex and my NEW install of VS2010Ex.I first  installed VS2012Ex, but because of it's lack of WinCLI templates I decided to...

View Article


Project Properties Will Not Open, Get "The operation could not be completed....

I have a project which a co-worker upgraded from Visual Studio 6.0 to Visual Studio 2010 on Windows XP 32 bit.Initially the project properties could be opened and edited. But now when I try to open the...

View Article

How to localize Non-MFC (win32 DLL's)

Hi I have few win32 DLL's (Non-MFC) along with individual .rc files for different languages, presently we replace the rc file and build the full DLL again for each locale. I am trying to find out a...

View Article


Process hooking detection

Hello guys. I'm researching about root kit detection. And I just found the answer that I can detect some of root kit by watching hooking in the root kit process. So I need example code or documentation...

View Article

Unable to run C++ programs in Visual Studio Express 2012 (Not able to find...

Hi,I am using Visual Studio Express 2012 for Windows Desktop. The system is 32-bit and runs on Windows 7.I am a beginner in C++. I am using VS 2012 for running C++ programs and have encountered this...

View Article


...cannot open file 'kernel32.lib' only when using 64bit

I am running VSC++2010 on a Win7 machine. I have upgraded the C++ compiler to 64bit, however, when compiling in 64bit a solution that works perfectly in a 32bit, I get this error message :1>LINK :...

View Article

IniCommoncontrolEx.... a question

INITCOMMONCONTROLSEX commctrlstruct;commctrlstruct.dwSize = sizeof (INITCOMMONCONTROLSEX);commctrlstruct.dwICC = ICC_PROGRESS_CLASS | ICC_UPDOWN_CLASS | ICC_STANDARD_CLASSES | ICC_LISTVIEW_CLASSES; //...

View Article

inconsistent behaviour with recordset NEW () and AddNew ()

i have run into a very strange and inconsistent behaviour of VC++2010 IDEgiven this recordset LONGLONG m_ID;long m_lingua;CString m_titolo;CTime m_dataemissione;int m_fonte;CString...

View Article
Browsing all 15302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>