Activity

  • Yep, especially in the boondocks where the tv towers transmit a max of 1080p only. In that case even a 4k outfit would have issues.
    Not so for internet streaming, where most of the content providers detect one’s resolution in advance.
    The cavity magnetron in the microwave oven broke due to user error. The poor thing was operated on empty too many…[Read more]

  • Spastic Hamburger replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    The Windows API has most of its type-defs and macros in three main files: windef.h, ‘winnt.h, andwinuser.h`. It’s mostly a matter of searching that list for those specific ones and adding the correct header(s). 🙂 The other symbols (the classes and structs) require more work to track down, partly because search engines have gotten so bad that they…[Read more]

  • DeVaultSetter replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    adding the headers for those types

    The dilemma of having one Header file for all types, or having the types all over the place. For example Igor the 7-zip guy had them all in one file, a file that was pulled in by most of the other headers.

  • Spastic Hamburger replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    Messed up the include order for several files. I’ll fix it when I go back through to add the correct headers for the Windows macros.

    All of this is necessary work even if it’s tedious and not at all exciting

  • DeVaultSetter replied to the topic Random in the forum Discussion 2 months, 3 weeks ago

    A spaceship in the form of a phallus might also provide a boost to the desire!
    Speaking of reproduction this comes to mind from Stallman:

    If I’m the father of Open Source, it was conceived through artificial insemination using stolen sperm without my knowledge or consent.

    😛
    There was a lovely shower pf rain while asleep early this morning.…[Read more]

  • Spastic Hamburger replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    Thanks! Will try that if adding just what we need doesn’t do the trick 🙂

    There are also some comments suggesting that the long types may in fact be intended as short integers so we’ll definitely want to do an investigation to determine what they should be. Yep, std::atol would do the trick for 64-bit integers. There’s no corresponding function…[Read more]

  • DeVaultSetter replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    This should make sense of it, or as someone suggested put #define _WINSOCKAPI_ in stdafx.h, or pch.h is using it. Out of interest, Unreal engine uses MinWindows.h. 🙂
    Yep, atol might do it, and then convert it to either of these. Or bitshift?

  • Do use the Google widget search all the time on the Android tablet. Great, although something reset it to open on the Home tab rather than Search. The other two tabs are Notifications and Activity as it appears Discover has now entered the stream of, well, eternal discovery.
    This has the slightly undesirable effect of having to make two clicks in…[Read more]

  • Spastic Hamburger replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    Ugh…those includes in common may be an issue. I’m trying to avoid using WinSock entirely as MWEdit doesn’t use any kind of network code and that would cause unneeded bloat. Can be added if needed, though, if things can’t be whittled down enough.

    Unless I’m mistaken, shouldn’t WinSock 2 be used after the basic Windows header so it overrides the…[Read more]

  • Spastic Hamburger replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    Yeah, I’m not sure what the XML parser is for at the moment. Even in the other projects, I didn’t see anything that used it. From what I could tell, CSV was the only file parser that was used in the extra file support but I haven’t finished going through all of the code in detail yet (I’m currently on the undo stack support).

    What does OpenMW use…[Read more]

  • DeVaultSetter replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    See what you mean, using #include <windows.h> automatically includes winsock.h so our marvellous AI suggests:
    #include <winsock2.h>
    #include <windows.h>

    AFAIKS there are six instances where this wants to be changed.
    Put it where, for example, a file is to be opened so you get the file name – here’s the function. 🙂

  • Spastic Hamburger replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    Unfortunately, without that flag, it exposed a known bug in the Windows API where it tries to use WinSock 1 even though it’s unneeded where MFC needs version 2. Release had no issues so it’s something on Microsoft’s end with the _DEBUG flag and disabling everything extra and manually adding only the stuff we use was the only way to fix it (I hope,…[Read more]

  • DeVaultSetter replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    Sounds good. 🙂
    In the debug builds I would tend to ditch WIN32_LEAN_AND_MEAN in favour of stdafx.h until other issues are sorted, WIN32_LEAN_AND_MEAN can knock out other things if they are tweaked or decoupled. Your call.
    In ScrollCall there’s:
    static const INITCOMMONCONTROLSEX commonCtrls =
    {
    sizeof(INITCOMMONCONTROLSEX),…
    [Read more]

  • Spastic Hamburger replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    Looks like MinGW supports them in resource files. Not sure about standalone ones but referencing them in the resource file with
    #include "winuser.h" // required for RT_MANIFEST constant
    CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "application.manifest"

    should be fine. Not sure which method I prefer but it looks like it’ll work regardless for…[Read more]

  • Spastic Hamburger replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    This could be a result of MFC updates over the years, where the old stuff was superseded by newer functions. Here’s a sample of what I’m looking at:
    int CCustRichEdit::GetCurLineCharPos() {
    long StartChar;
    long EndChar;
    int CharPos;
    GetSel(StartChar, EndChar);
    CharPos = StartChar - LineIndex(-1);
    return CharPos;
    }

    GetSel() isn’t defined in…[Read more]

  • DeVaultSetter replied to the topic MWEdit in the forum Projects 2 months, 3 weeks ago

    There’s this message in the standard edit control, EM_GetSel or for the RichEd, EM_EXGETSEL. Is there only a decl for GetSel() and no def?
    Sounds good about the manifest, use mt.exe, or to “save” on extra files there’s also #pragma comment(linker,""/manifestdependency ... which would go nicely in one of the main headers e.g stdafx.h. Using the…[Read more]

  • Spastic Hamburger replied to the topic MWEdit in the forum Projects 2 months, 4 weeks ago

    ui/cust_rich_edit.cc and its header will need to be reviewed at some point. There are some symbols that I was unable to properly track down, such as GetSel(), so I’m not entirely sure if I’ve got the correct header files. There may be a few that we don’t need

  • Spastic Hamburger replied to the topic Random in the forum Discussion 2 months, 4 weeks ago

    There are a few references to other shorts in there. The dog is a reference to one of the Marvin the Martian ones, for instance. It’s a lot of fun!

    Ugh. And the AI response isn’t very helpful, either 😛

    And had this come in the other day: https://phys.org/news/2026-02-reproduction-space-environment-hostile-human.html

    Just one problem we’ll need…[Read more]

  • DeVaultSetter replied to the topic Random in the forum Discussion 3 months ago

    Now the chipmunks are running the show, Bugs would have surely considered the issuance of a license for free use of the expression “What’s up Doc” in exchange for a lifetime supply of carrots. A juicy topic, along with the goofy dog-in-the-moon raining down moonrocks, being for another cartoon that was never made. 😛
    A recent subject matter ripe…[Read more]

  • Spastic Hamburger replied to the topic Veg in the forum Discussion 3 months ago

    I really should use an actual compost bin. Instead, I just toss all of my biodegradables into a pile in the garden. All sorts of things sprout up from it. Though, most don’t survive long due to it not being the right environment. I’ve even had apple seeds sprout up in my coffee grounds 😛

    May need to do some replanting next month. It all depends…[Read more]

  • Load More