Search:

Type: Posts; User: Abyssion

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Ahh yes, this makes a lot of sense. I think...

    Ahh yes, this makes a lot of sense.

    I think what threw me was that memcpy is expecting pointers (i.e. addresses,) whilst I was busy confusing myself with casts.
    Thanks very much for the...
  2. Thank you both very much for your swift replies!...

    Thank you both very much for your swift replies!



    Ahh yes, of course. That was an oversight on my part; I actually "un-typedef"ed as a last minute addition to my post and did not clock the...
  3. Memcpy Overflowing/Reading data that isn't mine

    Hey guys,

    I'm sure this will be a quick one - it's probably just something that I've completely overlooked or have some fundamental misunderstanding of.

    Please consider (and tear apart) the...
  4. Ahh righto, thank you for the clarification then....

    Ahh righto, thank you for the clarification then.
    I apologise, I must have misunderstood the documentation.

    As I say, my IDE is currently unavailable at the moment, but yes, I could and should...
  5. Hi Salem, thanks very much for the reply....

    Hi Salem, thanks very much for the reply.
    std::bind is a component of the standard library that I'd never heard of prior to your comment; cheers for the links.
    I don't think that's quite what I was...
  6. To be honest, I did realise that; it was just...

    To be honest, I did realise that; it was just laziness on my part.
    Should have known it would never sneak by you guys :tongue:

    Cheers for pointing it out anyway!
    I'll refactor my code tonight;...
  7. Thank you very much algorism! I'm literally sat...

    Thank you very much algorism! I'm literally sat here laughing out loud at how simple the solution is; I was overthinking this massively.

    And yes, I didn't really think the MessageBox call through;...
  8. Implementing type safety in a C-style callback scenario

    Hey all,

    I'm currently writing a function that I intend to compile into a personal-use library, so, naturally, I'd like to get things right first time. At the moment, I'm using default (or not)...
  9. Replies
    26
    Views
    17,838

    Alright Freddie, Just wanted to say a big...

    Alright Freddie,

    Just wanted to say a big cheers for all the material and discussion you've provided! I've been away for a good week or so because I've had an important paper to write, but I shall...
  10. Replies
    26
    Views
    17,838

    Sorry, I haven't been about in a while. That's...

    Sorry, I haven't been about in a while.

    That's awesome Freddie, thank you! It's given me some insight into the difference between WNDCLASSEX::cbClsExtra and ::cbWndExtra and where each one might...
  11. Replies
    26
    Views
    17,838

    Excellent, I'm glad I haven't demonstrated some...

    Excellent, I'm glad I haven't demonstrated some more fundamental misunderstandings that you can point out in a second; cheers Freddie! Aye, I would definitely agree about not wanting to write the...
  12. Replies
    26
    Views
    17,838

    Ahh, wonderful! I was unaware of the additional...

    Ahh, wonderful! I was unaware of the additional window frame messages; I shall look into these.
    This certainly does help, thank you Mega :)
  13. Replies
    26
    Views
    17,838

    Duly noted; I shall try to bare this in mind!...

    Duly noted; I shall try to bare this in mind! The message loop is very easy to overlook given that, as you say, most online tutorials seem to brush over it. Cheers for clarifying; things are much...
  14. Replies
    26
    Views
    17,838

    Ahh, thank you both so much! I can feel myself...

    Ahh, thank you both so much! I can feel myself starting to become one with the Force.



    Excellent idea Mega, thank you! Yes, that clearly demonstrates that a secondary message-handling system is...
  15. Replies
    26
    Views
    17,838

    In fact, this can be more easily demonstrated by:...

    In fact, this can be more easily demonstrated by:



    // WinMain...

    int mbresult = 0;
    mbresult = MessageBox(NULL, _T("First messagebox."), _T("WinMain"), MB_OK);

    Sleep(10000);
  16. Replies
    26
    Views
    17,838

    Modeless MessageBox() Internals

    Hey all, this should be a fairly quick one!

    I'm currently rolling my own MessageBox function (and maybe whacking it in a library for future use,) to allow for advanced text formatting and...
  17. Wow! Ok, so it appears that I have a lot of...

    Wow! Ok, so it appears that I have a lot of information to digest right now; thank you for all the material. (I also have about 20 lengthy Code Project articles open and 7 tabs pertaining to RPC...
  18. Ahh wonderful! Is Microsoft Document Explorer a...

    Ahh wonderful! Is Microsoft Document Explorer a lightweight application?
    I hate programs that hog resources and add things to my user profile directory unnecessarily, that's all.
    In fact, I'll...
  19. That might be an idea actually, cheers for the...

    That might be an idea actually, cheers for the suggestion Codeplug!
    Do we know how nicely the MSDN offline library plays with Visual Studio 2015, by any chance? I gather that there is still some...
  20. Many thanks for the compliment Freddie! I...

    Many thanks for the compliment Freddie! I wouldn't say "knowledgeable", just willing to learn :)

    The example that you provided on how to use CREATESTRUCT objects is exceptionally helpful; thank...
  21. Hey Freddie. Sorry I haven't been about in a...

    Hey Freddie. Sorry I haven't been about in a while, life has been hectic.

    Just wanted to say many thanks for all the effort you've put into your replies! The complete code samples are hugely...
  22. Cheers Codeplug, I'll take a look at the WTL...

    Cheers Codeplug, I'll take a look at the WTL headers.

    When you say the object can probably be declared in WinMain, it certainly does make more sense, semantically, to do it that way. To access the...
  23. Freddie, that function pointers technique is...

    Freddie, that function pointers technique is exactly the sort of thing I was looking for; thank you! I shall implement that today.

    It seems that were share some similar values with respect to code...
  24. Thank you both very much for such detailed...

    Thank you both very much for such detailed responses. I'm genuinely glad to hear that my approach thus far has been wrong; there's no way that any object-oriented code should be as messy as mine...
  25. Control handle declaration conventions in large WinAPI projects

    Hey all.

    So I'm currently developing a relatively large raw Win32/WinAPI (what's the correct terminology these days?) application in C++. I have tried to abide by the typical C++ conventions as...
Results 1 to 25 of 64
Page 1 of 3 1 2 3