misc.c errors

  • tian110796
    28th Mar 2011 Member 0 Permalink
    Using the latest source:

    misc.c: In function 'register_extension'
    misc.c: 'LONG' undeclared (first use this function)
    ...
    misc.c: 'HKEY' undeclared (first use this function)
    ...
    misc.c: 'HKEY_CURRENT_USER' undeclared (first use this function)
    ...

    if I would add windows.h on top (because these are windows api variables) this link error would come:

    misc.o:misc.c undefined reference to 'exe_name'

    Refollowed what is updated in the wiki, but this still comes out.

  • jacksonmj
    28th Mar 2011 Developer 0 Permalink
    Yeah, that bit of code hasn't been finished yet. Just comment out the contents of register_extension() in misc.c for now.
  • tian110796
    28th Mar 2011 Member 0 Permalink
    It compiled now, thank you. But it does not run.

    Process terminated with status -1073741819 (0 minutes, 12 seconds)