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

Search:

Type: Posts; User: Amn

Page 1 of 31 1 2 3 4

Search: Search took 0.50 seconds.

  1. Replies
    9
    Views
    1,320

    Re: When do I can FreeLibrary()?

    Well, i was not trying to advocate the approach really. I just wanted to point out the particular strategy in use by NT systems.

    I dont want to get off-topic to start another discussion here, but...
  2. Replies
    9
    Views
    1,320

    Re: When do I can FreeLibrary()?

    Wasnt it like this that an NT system takes care of all open handles when a process exits ? If so, then there is no need to do a cleanup. I mean it can be a side effect of a system trying to reclaim...
  3. Re: How about a language that ignores underscores and case?

    I believe 100% customisation is something ENTIRELY different than what i proposed. If what I proposed is 100% customisation, then it also means there can be no more customisation? What i propose i a...
  4. How about a language that ignores underscores and case?

    Why should we fight on which coding practice is best?

    Most languages have long ago taken a step in the right direction, ignoring spaces and tabs for instance. This left people do have the coding...
  5. Re: protecting you window from IM windows and other dangers :P

    Can you plz explain what you mean by "i want the user to choose when they close down my application..."? Anyone can close your app any time by clicking the 'X' button, no? No need to bother with...
  6. Re: How Firewall & Spyware Apps might affect your application?

    1. Look up 'CSocket' class. It's part of MFC for dealing with IP network comunication. Not very professional, but can give you a good start. If you know how networks work and programmed it would be...
  7. Re: Can one create a file which is never modified by others, even if administrator?

    Haha! ;)
  8. Replies
    7
    Views
    1,259

    Re: MFC or No MFC? (No .NET)

    Yes. When the icon is registered with the tray, after calling the ShellXXX function (dont remember which), the icon will get updates for redraw and such AS LONG as the process runs that called the...
  9. Re: How to ensure registry cleaners don't wipe out your application settings?

    Yes, last time i fired up Installshield thing, it had option of scripting registry writing schemes. But i really hate Installshield, it is such a benemoth of an app, and all for nothing. Amuses me...
  10. Re: How to ensure registry cleaners don't wipe out your application settings?

    If you are an aware programmer, you would put all the settings which are the same for all users i.e. machine level settings, settings which have to do with program configuration regardless of which...
  11. Replies
    7
    Views
    1,259

    Re: MFC or No MFC? (No .NET)

    You dont need MFC for anything, but you can choose it if you want. From your specs, it looks like you can do just fine without it. By the way, when explorer crashes, it doesnt take your program with...
  12. Re: I want nude windows! Completely nude! (No titlebar, no border, no nothing!)

    I have made owner-drawn windows without anything at all. Just the client area, and it was, like i said, owner drawn, so when the window appears, you dont see it, because it just reserves space on...
  13. Replies
    6
    Views
    1,043

    Re: How to Disabling F1 Help Key

    Can I ask you why are you halting IE's Help feature ? :)
  14. Re: Can one create a file which is never modified by others, even if administrator?

    Again semi-hackers writing semi-normal software....Uff..
    No you cannot, and even if you could i would still crack it !
    Whats your intention, mister?
  15. Replies
    2
    Views
    761

    Re: Skinning or Custom Controls?

    If you want to be serious, use the Theme API. Look it up on MSDN. It is synonymous with 'owner-drawn' controls, but is the 'official' way of doing it. Because it provides a way of changing the skin...
  16. Replies
    13
    Views
    1,317

    Re: What's the point in WinMain?

    Actually neither 'WinMain' nor 'main' are entry-points into any Windows application. I dont seem to recall the name of the entry point symbol, but you can override it, if you want to jump start a...
  17. Replies
    4
    Views
    1,205

    Re: Need C++ coders for an interesting game

    Wad up wid you boi ? You been pimpin em hoes again ?

    No seriously, Macromedia Flash is the thing for this kind of game. Trust me. I code both ;) C++ is overkill for such graphically and resource...
  18. Replies
    2
    Views
    2,256

    Re: C++ Program Updater

    Latest ACPI as far as I know, allows to wake the computer up at certain time given that all the hardware is up to it (i.e. compliant to ACPI specs). They way it is done, is that the BIOS is written...
  19. Replies
    4
    Views
    1,592

    Re: display memory frame address in kernel mode

    Did you try it yourself ? :)
  20. Replies
    4
    Views
    1,592

    Re: display memory frame address in kernel mode

    Thanks, i guess, after two years - a reply ;)

    Do you know something I don't ? I mean, did you make one ?

    Cheers!
  21. Replies
    22
    Views
    3,516

    Poll: Re: Which compiler do u use most?

    Since I only target Win32 platform, I use VC7 compiler. It is simply the best solution for my needs.
  22. Replies
    20
    Views
    3,767

    Re: Wrapping up a window class or two

    GetProp and SetProp are more elegant and portable than SetWindowLongPtr i think. basically they allow storing properties for a window, be it a handle or a pointer. The multithreading is not an issue,...
  23. Replies
    3
    Views
    2,002

    Re: Reduce program's CPU usage

    If your task is to run in the background, it is defined as:

    1. A finite process
    2. Does not have a completion time frame

    Based on these two criteria, we can assume that speed of calculation is...
  24. Replies
    11
    Views
    4,175

    Re: visibility of mouse cursor

    I agree. Dont mess with system cursor, there is a reason there is no API to hide it. Are you trying to replace whole Windows with your own system ?!

    Can you tell us WHY do you want to hide it ?
  25. Replies
    24
    Views
    1,790

    Re: Help!!!! Interview Question

    Shall we have an honest competition for solving the problem ? We can post our results later, and compare who has the most elegant solution and who was fastest :) I love competitions !

    Nothing is...
Results 1 to 25 of 768
Page 1 of 31 1 2 3 4





Click Here to Expand Forum to Full Width

Featured