Author Topic: [Win] Mixing 32/64 bit code  (Read 5902 times)

Offline Snake38

  • Jr. Member
  • *
  • Posts: 9
Re: [Win] Mixing 32/64 bit code
« Reply #15 on: July 29, 2014, 09:38:19 PM »
But if you do that it works, you choose elfx32 and it allows you to do so. For windows there is no winx32.

Offline Anonymous

  • Jr. Member
  • *
  • Posts: 78
  • Country: us
Re: [Win] Mixing 32/64 bit code
« Reply #16 on: July 29, 2014, 09:40:20 PM »
I Honestly did not know that I never would actually try it myself using a 64 bit executable on a 64 bit machine seems like the ideal thing to do why then try to trick the compiler into doing something it's not supposed to do anyway???
Thanks in advance, Anonymous

Offline Snake38

  • Jr. Member
  • *
  • Posts: 9
Re: [Win] Mixing 32/64 bit code
« Reply #17 on: July 29, 2014, 10:01:16 PM »
Nevermind. Frank looks like he have no idea how this works = it's usless and not possible.

Will check for other solution.

Offline Anonymous

  • Jr. Member
  • *
  • Posts: 78
  • Country: us
Re: [Win] Mixing 32/64 bit code
« Reply #18 on: July 29, 2014, 10:08:26 PM »
Frank did say that you could use inc bin if you really wanted to assemble it as a binary then make a new file and do this
Code: [Select]


incbin "Somefile.bin"


then use nasm -f win32 File.asm

Thanks in advance, Anonymous