Results 1 to 5 of 5

Thread: TwinBasic #If Win64

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Location
    Argentina
    Posts
    439

    TwinBasic #If Win64

    Hello, I have started to dabble in twinbasic, but I don't know how to make it compile for x64, do I have to indicate it somewhere? my windows is 64 bits but it always shows me 32 bits, in Excel this works fine for me, what am I missing?

    Code:
        #If Win64 Then
             MsgBox "64 bits"
        #Else
            MsgBox "32 bits"
        #End If
    leandroascierto.com Visual Basic 6 projects

  2. #2
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    4,966

    Re: TwinBasic #If Win64

    There's a compiler mode drop down up top:



    Set it to win64, then when you run or build, it will be 64bit.

    Safe mode is for if the compiler goes haywire and keeps restarting, you can turn it off so you can save your project and exit safely.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Location
    Argentina
    Posts
    439

    Re: TwinBasic #If Win64

    Quote Originally Posted by fafalone View Post
    There's a compiler mode drop down up top:



    Set it to win64, then when you run or build, it will be 64bit.

    Safe mode is for if the compiler goes haywire and keeps restarting, you can turn it off so you can save your project and exit safely.
    oh my god it was in front of my eyes all the time and I didn't see it, I just looked in the project properties, thank you very much fafalone
    leandroascierto.com Visual Basic 6 projects

  4. #4
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    4,966

    Re: TwinBasic #If Win64

    No problem, can't even count the number of times I've done similar

  5. #5
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    4,898

    Re: TwinBasic #If Win64

    Quote Originally Posted by LeandroA View Post
    oh my god it was in front of my eyes all the time and I didn't see it, I just looked in the project properties, thank you very much fafalone
    Btw, this is how things work in VB.Net too so Wayne implemented prior art (the most natural) in this regard.

    cheers,
    </wqw>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width