Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Oliver Twesten

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    4,324

    Can I clear $_POST superglobal?

    Hi

    I wonder whether there is a way to clear the $_POST superglobal array or even set an array element to a new value.

    I've got a self-referencing form where the user can enter some text and...
  2. Replies
    12
    Views
    1,403

    Re: Get File Size

    Oh, I just found it: VC98\CRT\SRC\STAT.C function declaration "int __cdecl _tstati64".

    It really uses FindFirstFile / FindClose API. I must say that I did not believe these APIs are that fast!
    ...
  3. Replies
    12
    Views
    1,403

    Re: Get File Size

    Hi genossa

    Where did you look it up? I just searched the MS VC directory and the web but did not find the implementation of stati64.

    BTW: The function names are _stati64 and _wstati64().
    ...
  4. Replies
    12
    Views
    1,403

    Re: Get File Size

    At least on my Win2k workstation, _stati64 is screaming fast compared to CreateFile / GetFileSize / CloseFile!

    Maybe it is a drawback that it does not support security attributes, but I do not...
  5. Replies
    12
    Views
    1,403

    Re: Get File Size

    I just tried GetFileAttributesEx(...) and it really seems to be *much* faster than GetFileSize(...)!

    The only drawback is that GetFileAttributesEx(...) is not supported by Win95.

    @Marc G
    Thank...
  6. Replies
    12
    Views
    1,403

    Re: Get File Size

    Thank you for your suggestions!

    @Ejaz
    But GetFileSize etc. require that the file was previously opened by a call to CreateFile. This is the API I'm currently using, but it seems a little slow to...
  7. Replies
    12
    Views
    1,403

    Get File Size

    Hi

    What is the fastest way to retrieve the (64 bit) filesize of a file?

    I need to get the size of *many* files from various locations (on WinXP systems,only), so what would be faster:
    ...
  8. Replies
    2
    Views
    2,126

    Hi Frank You're right, it's long ago. I just...

    Hi Frank

    You're right, it's long ago. I just peeked into my old code and here's what I can tell from a first glance:

    - I added an own CToolTipCtrl member variable.

    - I handled TTN_NEEDTEXT...
  9. Replies
    6
    Views
    452

    Re: interchange of variables

    Use pointers and swap them instead of the variable values :)
  10. That's good to hear :) Thank you very much! ...

    That's good to hear :)
    Thank you very much!

    Oliver.
  11. Dear Paul McKenzie Thank you for this...

    Dear Paul McKenzie

    Thank you for this information! I use VC6.0 with the brand-new service pack (I do not remember the number).

    Using enums would be a solution, but may I ask one more question...
  12. static const in switch of derived class?

    Hi

    This simple code below compiles without error when pased into one file. But when I split the definitions and declarations into separate files (e.g. Base.h, Base.cpp, Derived.h, Derived.cpp -...
  13. Hi Yves M & Andreas Thank you for your...

    Hi Yves M & Andreas

    Thank you for your suggestions. Yes, from the three examples I do also prefer the second one. But I think it still has some drawbacks:

    1) The progress dialog is not modal....
  14. Design: Progress of Thread Calculations

    Hi

    This is a general design question.

    Say I want to implement some class member functions that perform long term calculations that should be able to report progress. The functions should not...
  15. Replies
    18
    Views
    1,407

    Yes, I think this was a valuable discussion and I...

    Yes, I think this was a valuable discussion and I learned a lot (I think ;))...

    Sometimes, things in the Windows world are just not ideal (this one I knew before;)). What bothers me most is that I...
  16. Replies
    18
    Views
    1,407

    You're right, this would be the most simple and...

    You're right, this would be the most simple and cleanest solution - it was my very first attempt to solve this problem.

    But unfortunately, the result is not as expected because in a series of...
  17. Replies
    18
    Views
    1,407

    Hi VladimirF Sorry if this sounds as if I just...

    Hi VladimirF

    Sorry if this sounds as if I just do not want to try your solution. The point is, that I can not get it to work for my special case. Maybe you can help me and I'll surely use the...
  18. Replies
    18
    Views
    1,407

    Hi VladimirF Right. So can we "fix" this by...

    Hi VladimirF

    Right. So can we "fix" this by sending WM_LBUTTONDOWN and WM_LBUTTONUP?

    Oliver.
  19. Replies
    18
    Views
    1,407

    Hi lhayes00 Funny, I just found a quite...

    Hi lhayes00

    Funny, I just found a quite similar solution and wanted to post it. My attempt was to handle WM_LBUTTONDBLCLK


    void CMyButton::OnLButtonDblClk(UINT nFlags, CPoint point)
    {
    //...
  20. Replies
    18
    Views
    1,407

    Hi VladimirF Yes, you're right... it works...

    Hi VladimirF

    Yes, you're right... it works well for my situation, but it is not generally desireable. Thanks for this note, I'll better keep it in mind!

    Oliver.
  21. Replies
    18
    Views
    1,407

    Hi VladimirF Just had the same problem, thank...

    Hi VladimirF

    Just had the same problem, thank you for the tip of CS_DBLCLKS style. I think that I found a solution without deriving my own class:

    That's better for my case; maybe someone else...
  22. Replies
    33
    Views
    1,562

    I do not know if anyone already pointed out the...

    I do not know if anyone already pointed out the article "Surviving the release version" by Joseph M. Newcomer:

    http://www.codeproject.com/debug/survivereleasever.asp

    I think this one is very...
  23. Re: CListCtrl Item Search Efficiency :: MFC

    hi kuphryn

    I do not know, but since MS obviously tends to use very simple sorting algorithms, it does not seem to be improbable that they also use very simple search algos (=linear search O(n))......
  24. Re: Re: Is a minimized Window maximized or normal?

    Hi gstercken

    Thanks for this idea. You're right that handling of SC_MAXIMIZE etc. is no good way to go - it is most obvious when maximizing the window by double-clicking on the title area instead...
  25. may I quote myself... But thanks anyway.

    may I quote myself...

    But thanks anyway.
Results 1 to 25 of 314
Page 1 of 13 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center