Search:

Type: Posts; User: Viper187

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Why would LVM_GETCOUNTPERPAGE return incorrectly?

    I'm using the LVM_GETCOUNTPERPAGE message to determine how many rows to add and fill the ListView, but it's returning a value that's too high every time. It's off by 3 rows and I can't figure out...
  2. Replies
    2
    Views
    753

    Huh. I guess that does the job. Thanks

    Huh. I guess that does the job. Thanks
  3. Replies
    5
    Views
    1,669

    Thanks. I'm also curious if stripping debug info...

    Thanks. I'm also curious if stripping debug info with -s matters? I mean, if it's an open source project anyway, I don't care about leaving debug symbols in the release. I'm just wondering if it...
  4. Replies
    5
    Views
    1,669

    Hah. Ok, that solves the debugging issue. Thanks....

    Hah. Ok, that solves the debugging issue. Thanks. It'd be nice if I knew the right way to set that file up. I can't even figure out what half those arguments are "-O2" ??? "-O coff" ???
  5. Replies
    5
    Views
    1,669

    GCC Debugging and Makefile issues

    Ok, I've tried running gcc with -g a number of ways but GDB always says "no debugging symbols found." I'm using MinGW/MSYS with GCC 4.7.2 on Win7.

    My makefle is definitely messy, but the only...
  6. Replies
    2
    Views
    753

    Enable/Disable a whole menu?

    I'd like to lock my whole menu while a specific function is running instead of disabling/graying specific options in each menu using SetMenuItemInfo(). Is there a way to use the menu handle (HMENU)...
  7. Replies
    16
    Views
    11,544

    Ah hell. I realized that I was actually creating...

    Ah hell. I realized that I was actually creating a temp copy of the huge var within a function as well. That would've been what would cause the overflow. Anyway, it's been reworked substantially.

    ...
  8. Replies
    16
    Views
    11,544

    That's what I've been doing, and I broke the...

    That's what I've been doing, and I broke the stack with it. I've been restructuring things to use less memory since then, but it still annoys me.
  9. Replies
    16
    Views
    11,544

    Well, static was suggested because of the stack...

    Well, static was suggested because of the stack issue I had run into. Can I make a global static? "Global" meaning I want to access the same array/struct/whatever from anywhere in the program, NOT...
  10. Replies
    16
    Views
    11,544

    I guess declaring a static in a header doesn't...

    I guess declaring a static in a header doesn't make it global. You can't extern a static, can you?
  11. Replies
    16
    Views
    11,544

    Not really, in this case. When I declare this...

    Not really, in this case. When I declare this array I use a defined constant for the size so anything else I use that relies on what size that array is all changes with changing one number in a...
  12. Replies
    16
    Views
    11,544

    Why do I need to screw around using malloc (and...

    Why do I need to screw around using malloc (and free) on an array of structs that's ALWAYS the same size just because it's a little big? With everyone running systems with gigabytes of RAM, why is...
  13. Replies
    16
    Views
    11,544

    Gah. It was Wl (L). I thought it was WI.

    Gah. It was Wl (L). I thought it was WI.
  14. Replies
    16
    Views
    11,544

    Changing default stack size with MinGW/GCC?

    How can I get MinGW/GCC to compile my program with a bigger stack? I've been googling and nothing I could find actually worked. Running Windows 7 here.
  15. Replies
    7
    Views
    4,495

    Works now. I really hate pointers sometimes. Been...

    Works now. I really hate pointers sometimes. Been a year or more since I bothered to program anything. Trying to pick up where I left off on an old project.




    unsigned char *tmpResults; u32...
  16. Replies
    7
    Views
    4,495

    You're missing the point completely. If I wanted...

    You're missing the point completely. If I wanted to play around with loops, I'd do a function for it. I simply want to know the proper syntax to send copymem a pointer to the middle of the array...
  17. Replies
    7
    Views
    4,495

    No, 4 vars won't help me figure anything out. I...

    No, 4 vars won't help me figure anything out. I know what I'm trying to get (BBBBBBBBBB by your example, but mines not a string it's data). What I don't know is how to copymem from the middle of the...
  18. Replies
    7
    Views
    4,495

    Shrinking/trimming an array?

    I'm trying to cut data from the beginning and end of an array, but my idea isn't working. The first memcpy line compiles but crashes the program. I can't figure out the right way to do it. This array...
  19. Nice. Thanks

    Nice. Thanks
  20. Is it possible to pass an argument list between mutliple functions?

    I have a program I've been working on and revising for quite some time, and I keep trying to cut down on repetitive stuff. I'm trying to come up with an easier way to show errors while including...
  21. Replies
    1
    Views
    1,042

    Can a menu POPUP have an ID?

    I've tried giving an ID to a menu popup in my resource file, but it never seems to work. I'm trying to come up with a way to automate something I do repeatedly with different parts of the menu. I'll...
  22. Replies
    1
    Views
    761

    Textbox subclassing issue

    I've got a dialog window with a subclassed edit control. My keyboard accelerators refuse to work while in a textbox, probably because the subclassed callback filters WM_CHAR so only hex characters...
  23. Replies
    0
    Views
    2,316

    Problem with IsDialogMessage

    I noticed that the tab key never works on my programs, and after doing some searching, I figured out I need to use IsDialogMessage. The problem is, I have multiple dialogs running as tabs on a main...
  24. Replies
    4
    Views
    920

    Well, I came up with a method to suit my purpose...

    Well, I came up with a method to suit my purpose for now. :)
  25. Replies
    4
    Views
    920

    Thanks. I'll see what I can put together.

    Thanks. I'll see what I can put together.
Results 1 to 25 of 164
Page 1 of 7 1 2 3 4