Author Topic: Why must the ASM file be saved in the Bin folder ? !  (Read 23344 times)

jj2007

  • Member
  • *****
  • Posts: 13274
  • Assembly is fun ;-)
    • MasmBasic
Re: Why must the ASM file be saved in the Bin folder ? !
« Reply #30 on: January 15, 2013, 06:20:21 PM »
include e:\masm32\include\windows.inc

PLEASE, NEVER DO THAT, neither in the sources nor in the batch files!

include \masm32\include\windows.inc is correct. The \masm32 tells the OS "take the root of the current drive (e.g. X:)and add \masm32 to arrive at X:\masm32"

Of course, e:\... works if all the rest is also set up correctly (which is apparently not the case), but
a) it doesn't add any value
b) it makes the sources incompatible to any other member's configuration (which means in the end that those who want to help will be p**sed up changing the drive letters all the time :()

Sorry to be a little bit rude here, but this "case" is already messed up enough :icon14:
Masm32 Tips, Tricks and Traps

Some members can't live without insulting others. It tells us a lot about them.

RAFAAJ2000

  • Guest
Re: Why must the ASM file be saved in the Bin folder ? !
« Reply #31 on: January 15, 2013, 06:43:21 PM »
Never mind people - I'll will be saving my asm files in a repertory inside the Bin folder for the time being which works just fine... I really need to get down to business and start writing code.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9988
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Why must the ASM file be saved in the Bin folder ? !
« Reply #32 on: January 15, 2013, 11:04:12 PM »
The idea is to learn how it works, all you need to do is create a directory on the same drive them you can create a source file in it and build it from the editor. That is what its designed to do. try and do it differently and you have to set it all up yourself which is s steep learning curve.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Magnum

  • Member
  • *****
  • Posts: 2372
Re: Why must the ASM file be saved in the Bin folder ? !
« Reply #33 on: January 16, 2013, 01:20:40 AM »
I can help you solve your problem.

We can take it one step at a time.

Can you re-install the Masm32 package on the C: drive ?

Andy

To uninstall just delete the C:\masm32 directory.

That one of the things I like about it.

You don't have to worry about registry entries that didn't get deleted by the uninstall program or leftover files.

Then re-install it.

Andy
Thanks Andy.

I have already tried that but I can't re-install msm32 on the C drive because I first have to un-install a previous incomplete installation that I did on C .... By the way , how can one un-install masm32 ? - It doesn't show up on the control pannel Add/Remove Programs list .

I already deleted all the masm32 folders/files on the C drive but when I try to re-install it on the C drive again the masm32 install wizard tells me that masm32 is already installed on the C drive  ....  - Do I have to delete some registry keys to successfully un-install masm32 ?
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org