Can you use Windows.h in a 3DS homebrew project?

Discussion in '3DS - Homebrew Development and Emulators' started by Teun1, Jan 25, 2016.

Thread Status:
Not open for further replies.
  1. Teun1
    OP

    Teun1 Advanced Member

    Newcomer
    54
    12
    Jan 13, 2016
    Netherlands
    Leiden
    Hi,

    Can you link it to a 3ds project, or do you need to find other ways without the Windows.h libs?

    Thanks.
     
  2. Tomato Hentai

    Tomato Hentai snart

    Member
    3,674
    5,804
    Oct 30, 2014
    Canada
    actually north korea. please send help
    Pretty sure you need to use something else.
     
  3. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,492
    3,878
    Jun 9, 2007
    No, you cannot, because the 3DS doesn't run Windows, nor does it use any of its libraries.
     
  4. Teun1
    OP

    Teun1 Advanced Member

    Newcomer
    54
    12
    Jan 13, 2016
    Netherlands
    Leiden
    Was thinking the same, but gave a try to ask it. Thanks both for replying. Thread can be closed.
     
  5. Slashcash

    Slashcash GBAtemp Fan

    Member
    334
    461
    Oct 15, 2015
    Italy
    I feel quite strange responding to this but...of course not.

    But i heard someone is working on porting that library to 3ds.
     
  6. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,492
    3,878
    Jun 9, 2007
    The closest you could *maybe* come to that is using dosbox to run Windows 3.x or 95, but then you'd be programming for an ancient version of Windows..
     
    Subtle Demise likes this.
  7. Teun1
    OP

    Teun1 Advanced Member

    Newcomer
    54
    12
    Jan 13, 2016
    Netherlands
    Leiden
    This was maybe the stupidest question I've ever asked here. Still no idea whats wrong with me at that night
     
  8. orochi115

    orochi115 GBAtemp Regular

    Member
    149
    50
    Jun 8, 2013
    Switzerland
    If you just want to use the data types defined there, without using any functions or extern variables, that doesn't require linking windows libraries. Then you can try windows.h from a mingw distribution. However, the only useful data types I can think of are redefines of primitive types, of which you should copy the typedefs into a separate file. If you are porting a library from windows, you have to know exactly why it depends on windows files.
     
  9. raulpica

    raulpica With your drill, thrust to the sky!

    Supervisor
    11,020
    7,329
    Oct 23, 2007
    Italy
    PowerLevel: 9001
    OP requested lock.
     
Thread Status:
Not open for further replies.