Results 1 to 2 of 2

Thread: C or C++ for WinAPI

  1. #1
    Junior Member
    Join Date
    Jun 2019
    Location
    [Insert Location]
    Posts
    7

    C or C++ for WinAPI

    I have been told several different things on the internet. Both from experienced and not as experienced programmers. I have a piece of code that I have been working on. At the moment it spawns a processor and connects back to me (easy to guess what it is). I also added the ability for it to be added to the current user hkey in the registry so that way it can run on boot, but as I continue to program it... I have come to the conclusion that what I am going to add to it in the future might make it way to complicated for C which is what I was using so far. I am a bit leery of C++ because of the file size when it compiles (damn you stub...), but it can actually make everything much easier because of the native libs. Any ideas and thoughts are welcomed.

  2. #2
    Member
    Join Date
    Aug 2020
    Location
    Canton Ohio USA
    Posts
    74
    Most Win Api is C. There are couple of exceptions (dor example COM IFAIR). But almost every code in MSDN says C++.. @MarekR All the COM APIs are C compatible.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •