First  |  Prev |  Next  |  Last
Pages: 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Offset by 1 in CStdiofile Seek while reading 0xa
Platform : .NET VisualStudio2005 , VC++, Windows XP Hello In my VC++ program I am reading a file in text mode using CStdioFile. I am trying to read the file character by character until I encounter the token (Decimal 10 / 0xa) CStdiofile and Seek(nBytes,CFile::current); where nByte = 1 Now when I try t... 8 May 2008 15:39
template operator== not working
This is my XYZ_POINT.h file template<typename T> class XYZ_POINT { private: T x; T y; T z; public: XYZ_POINT(void) {}; XYZ_POINT(const T allVals) : x(allVals), y(allVals), z(allVals) {}; bool const operator==(const XYZ_POINT<T> &xyzTest); } In my cpp file I have this. template<... 9 May 2008 17:46
How to get my own version?
I have a DLL, built using VC6, and I want to programatically get its version number. I have searched the web for how to do this, and have found a bunch of pages saying to use GetFileVersionInfoSize, GetFileVersionInfo, and VerQueryValue. However, all of them seem to be written from the point of view of getting ... 7 May 2008 20:35
Visual Studio's 2005 help?
Hello I apologize if I have this in the wrong group again but I tried the moderated comp lang moderated C group and in microsoft.­public.­ dotnet.­languages.­vc they both suggested I try another group. The last group sugested this group. I know it's not an exact match but I was wondering if you guys could help ... 7 May 2008 14:12
Visual Studio 2005 x64 mode.
Hi, I am trying to port my VC++ application to a x64 compatible platform. Since most of my code makes use of int's ...( I noticed that an int is 32bits long on x64 mode as well)....I want to be able to use 64bit ints in my new code.... I was wondering if there is some option or setting in VC++ tht allows me to t... 20 May 2008 05:03
Edit Control
Hi everyone, For test purposes I've created an MFC dialog based application in which by clicking on a button(Load-Button) I should be able to load an image.Everything works fine except the Edit Control on my Dialog. Before loading an image one should read in the Edit Control:"No Image loaded" ( m_EditState.Re... 7 May 2008 10:06
Problem with DialogBox() returning -1
Hi! I'm having problems where SOME of my users fail to run my program, because DialogBox() returns -1. I've set up a MessageBox() that shows the value of GetLastError(), and it returns 0 (The operation completed successfully.) Anyone have any suggestions as to what could cause this? This is the relevant par... 7 May 2008 07:26
Get CPU Utilization without WMI
What is the best way to get CPU utilization without using WMI? Is there an API I'm missing? ... 8 May 2008 15:39
Implicit Linking to a DLL
I'm working on a project that requires me to include curses.h (a graphics thing), but I can't figure out how to do this. I'm using VC++ 2008 Express Edition, but all the help about implicit linking seems to be aimed towards the 2005 version (I think, I can't really find the sections they're referring to). I have... 6 May 2008 18:17
Anonymous-namespace references vs extern references
Hallo! Which of the following definitions of tcerr is preferrable and why? 1) // header file namespace { ::std::wostream& tcerr = ::std::wcerr; } 2) // header file extern ::std::wostream& tcerr; // source file ::std::wostream& tcerr = ::std::wcerr; ... 7 May 2008 02:42
First  |  Prev |  Next  |  Last
Pages: 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40