Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. How about API forum

How about API forum

Scheduled Pinned Locked Moved Site Bugs / Suggestions
jsonquestion
10 Posts 4 Posters 14 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gennady Oster
    wrote on last edited by
    #1

    Hi! Think the API (may be, not only Win32) forum would be very useful. At least for me. Just now I have an API question, that I don't know where to drop. (Pls, don't advise, where ! :) ) Regards, Gennady

    T A 2 Replies Last reply
    0
    • G Gennady Oster

      Hi! Think the API (may be, not only Win32) forum would be very useful. At least for me. Just now I have an API question, that I don't know where to drop. (Pls, don't advise, where ! :) ) Regards, Gennady

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      > (Pls, don't advise, where ! :) Just stay away from the lounge :-D Tomasz Sowinski -- http://www.shooltz.com.pl

      G 1 Reply Last reply
      0
      • T Tomasz Sowinski

        > (Pls, don't advise, where ! :) Just stay away from the lounge :-D Tomasz Sowinski -- http://www.shooltz.com.pl

        G Offline
        G Offline
        Gennady Oster
        wrote on last edited by
        #3

        OK, I'll stay in the kitchen. :rose: Regards, Gennady

        C 1 Reply Last reply
        0
        • G Gennady Oster

          OK, I'll stay in the kitchen. :rose: Regards, Gennady

          C Offline
          C Offline
          Carlos Antollini
          wrote on last edited by
          #4

          Are you Cooking? :) Carlos Antollini.

          G 1 Reply Last reply
          0
          • C Carlos Antollini

            Are you Cooking? :) Carlos Antollini.

            G Offline
            G Offline
            Gennady Oster
            wrote on last edited by
            #5

            I manage cooking. It doesn't imply the cooking skill, isn't it? ;P And I wonder if somebody will answer seriously ? Regards, Gennady

            C 1 Reply Last reply
            0
            • G Gennady Oster

              I manage cooking. It doesn't imply the cooking skill, isn't it? ;P And I wonder if somebody will answer seriously ? Regards, Gennady

              C Offline
              C Offline
              Carlos Antollini
              wrote on last edited by
              #6

              Okey... What you need to know? Regards. :) Carlos Antollini.

              G 1 Reply Last reply
              0
              • C Carlos Antollini

                Okey... What you need to know? Regards. :) Carlos Antollini.

                G Offline
                G Offline
                Gennady Oster
                wrote on last edited by
                #7

                OK, without long history - why and what for ... I cannot find the conventional way (I mean API) to deal with the message file. Say, I've found the message file in registry, loaded it and have the module handle in the hand. I can extract the message by ID, but I cannot neither get the count of messages, nor enumerate them. For every thing there is workaround. But I prefer the conventional way to be more safe from possible changes. Thanks in advance. Regards, Gennady

                C 1 Reply Last reply
                0
                • G Gennady Oster

                  OK, without long history - why and what for ... I cannot find the conventional way (I mean API) to deal with the message file. Say, I've found the message file in registry, loaded it and have the module handle in the hand. I can extract the message by ID, but I cannot neither get the count of messages, nor enumerate them. For every thing there is workaround. But I prefer the conventional way to be more safe from possible changes. Thanks in advance. Regards, Gennady

                  C Offline
                  C Offline
                  Carlos Antollini
                  wrote on last edited by
                  #8

                  In what are you working? I don't know if is this that you need: GetNumberOfEventLogRecords I did help you? Regards!!! :| Carlos Antollini.

                  G 1 Reply Last reply
                  0
                  • C Carlos Antollini

                    In what are you working? I don't know if is this that you need: GetNumberOfEventLogRecords I did help you? Regards!!! :| Carlos Antollini.

                    G Offline
                    G Offline
                    Gennady Oster
                    wrote on last edited by
                    #9

                    Hi! OK, I'll explain, sorry for long story. I've created the NT service that in the case of error not only register event in the Application EventLog, but also may send this event by mail to the predefined SMTP address. In the configuration applet for this service I'd like to let the user to select, what events he/she wants to receive in mail. So I'd like to extract the list of events from the event source, registered in HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\\EventMessageFile. I can extract the single event with FormatMessage, if I know the ID. But if I don't? The question is: How I can enumerate the events in the EventMessageFile? Sure I can do it "manualy" analyzing the message file structure. But I prefer something more safe in the case, they in MS will change the message file structure. And using API (if there is any) will save me from unskilled labour. I don't afraid to do such a work, but if I can avoid it ... Thanks. Regards, Gennady

                    1 Reply Last reply
                    0
                    • G Gennady Oster

                      Hi! Think the API (may be, not only Win32) forum would be very useful. At least for me. Just now I have an API question, that I don't know where to drop. (Pls, don't advise, where ! :) ) Regards, Gennady

                      A Offline
                      A Offline
                      Anders Molin
                      wrote on last edited by
                      #10

                      Well, if you work in C++, you can use the C++ forum... I like the idea about a API forum though :) - Anders Money talks, but all mine ever says is "Goodbye!"

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups