Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Wrapping WINAPI in C++ classes

dededede Member Posts: 145
Hi. How can I wrap my API code in a C++ class?



  • AliImranKhanAliImranKhan Member Posts: 1
    It is already done in MFC, and in several other. But lightweight one is RAD C++ GUI Library
  • dededede Member Posts: 145
    Sorry for taking time to reply. I know about MFC but I don't like it. I meant how to wrap a CPP class in raw API. I would love to understand it from the beginning : That's my point. Thanks for your concern.
  • AsmGuru62AsmGuru62 Member Posts: 6,519
    [color=Blue]Your question is too wide to answer. A simple answer would be just to create class(es) and write WINAPI code in their methods. See: if I answer like that - it is not a good answer. Tell me about the problem you are having? Do you want to create your own MFC-like library?[/color]
  • dededede Member Posts: 145
    Hi fellas, Hope new year came with a better code :)
    Well, I wanted to write a very primitive window, just a window but in OOP. Again, I HATE MFC, feels like a sea of snakes :).
    Good luck and thanks
Sign In or Register to comment.