Search:
Type: Posts; User: ReneG
Search:
Search took 0.06 seconds.
-
July 23rd, 2007, 02:01 PM
I'm not sure why it works with the smaller files, but I figured out that I should open the file with the std::ios::binary flag, and all would be well. Like this:
std::ifstream...
-
July 23rd, 2007, 08:05 AM
Hi Gurus!
I'm using STL to read a file, and it works with a file that that's 16 byte and 256 byte, but not with a 1024 KB file. I know I should try with a filesize in between, but unfortunately I...
-
April 25th, 2007, 02:25 AM
I realize now, that I probably should have posted this question in the ASP.NET forum. (Maybe a nice moderator would move this thread?)
Anyway, I found a way to solve my problem. I still don't know...
-
April 24th, 2007, 06:41 AM
(.NET 2.0, Visual Studio 2005 Pro)
Hi Gurus!
I'm trying to learn ASP.NET, but are (Obviously) experiencing some difficulties. Basically, I have created an Image object and assigned it a skinID,...
-
March 16th, 2007, 06:29 AM
Ah okay! Thanks alot for clarifying that for me! :)
-
March 16th, 2007, 02:19 AM
Thank you all for your comments! I really appreciate it!
And thank you JVene for your thorough explaination!
So when using inheritance (And especially multiple inheritance) in C++, I should...
-
March 15th, 2007, 05:02 PM
Hi Gurus!
My question is: If I have a base class pointer (CBase *) which is pointing to a derived class (CDerived *) and I call delete on this pointer; will it delete the whole object? (I.e. the...
-
September 14th, 2006, 01:18 AM
Ahh, very clever! I didn't think of, that the ++ operator would be overloaded. Just thought it was a pointer that was incremented. Very smart ! :) Thank you for clarifying this for me! :)
-
September 13th, 2006, 04:03 PM
Hi all!
I don't have alot of experience with the STL, so in my current personal project, i'm trying to implement vector lists instead of reinventing the wheel and using my own 'linked-list'...
-
September 12th, 2006, 01:28 AM
Hi zvenny!
I'm sorry, in my previous response I assumed you were using MFC.
Yes, you need to define _RICHEDIT_VER in your code before you include windows.h.
I have a project where I'm...
-
September 8th, 2006, 02:31 AM
-
August 22nd, 2006, 07:52 AM
I believe you're right, because I didn't have any problems with assigning a CString to pszText, when not using Unicode. But when I changed to Unicode, it gave me some problems. pszText was expecting...
-
August 22nd, 2006, 02:51 AM
This post was exactly what I was looking for! I had the exact same problem with LVITEM.
Thanks alot! :)
-
July 27th, 2006, 03:02 AM
Hello all!
Just wanted to encourage people to think about their topic titles. And the keyword here is 'think'. Please use more than just 20 milliseconds to figure out a topic title. Why?
The...
-
June 28th, 2006, 08:00 AM
That works! Thank you Viorel! It was exactly what I was missing! :)
Thanks alot! :D
-
June 28th, 2006, 07:05 AM
Hi all!
In an app of mine, I'm trying to get the text of a richedit control I've created using CreateWindow.
Here is the code:
char * cBuffer; // The buffer i want the text in....
-
June 20th, 2006, 03:47 AM
I found out what the problem was.
The problem was that the window creation is a bit slow. So the following registration of the appbar would succeed BEFORE the dialog was shown. When the dialog was...
-
June 12th, 2006, 07:52 AM
I know there is many posts and threads about appbars on this forum, however I can't seem to find the answer to my question. The question is:
Can a dialog be an appbar?
I'm using ATL and I have...
-
June 12th, 2006, 05:39 AM
Ahh great! Don't think it can be any easier than that! Thanks alot! :D
-
June 12th, 2006, 04:35 AM
This might be a silly question, but I was wondering what would be the easiest way to get the size of the 'desktop work area'. By this, I mean the size of the desktop minus the size of the taskbar.
...
-
-
You can't install a keyboard hook before a user has logged on, obviously, because if you could, it would be way too easy to steal a users password.
Why do you need a keyboard hook before a user is...
-
I solved it!
The problem was not with the function signature as expected, but with the syntax in the call to EnumWindows. All I had to change was the call to EnumWindows. The changed line looks...
-
Okay, I tried implementing the EnumWindowsProc callback function, but I get a compiler error.
error C2664: 'EnumWindows' : cannot convert parameter 1 from 'bool (__stdcall *)(HWND,LPARAM)' to...
-
Great link ovidiucucu! Thanks alot! It explains all the questions I had about pointers to member functions! :D
And FYI, I've rated both of your posts. :) Thanks for your replies!
|
Click Here to Expand Forum to Full Width
|