Results 1 to 9 of 9

Thread: 64 Bit Development?

  1. #1

    Thread Starter
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    64 Bit Development?

    I am soon to be getting a new machine and i am now contemplating the idea of moving onto 64 Bit Vista. Only problem is development wise, most of my stuff is in .NET now days and i hope to kill off what ever ties i have with VB6 etc...

    So from a development point of view is it a good idea? And if so how hard is it to provide applications that target 32 Bit systems that are developed on a 64 bit system?

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: 64 Bit Development?

    Im not 100% sure but I remember reading something, perhaps on VBF, that was stating 64 bit either created problems for VB6 or you couldnt install it. Have you tied a search yet? I would start there.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: 64 Bit Development?

    Great article RB. Thanks
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: 64 Bit Development?

    But .NET applications built for 32 bit systems can work?

  6. #6
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: 64 Bit Development?

    Generally speaking yes, they should work but in reality they need to be thoroughly tested just to ensure that every aspect of your app works identical on different platforms.
    There are special programs that help you to do that.
    And it's not only about programming language (or framework) but rather underlying hardware architecture - 64 bit processing is a whole new and different world.

  7. #7
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: 64 Bit Development?

    Quote Originally Posted by Paul M
    So from a development point of view is it a good idea? And if so how hard is it to provide applications that target 32 Bit systems that are developed on a 64 bit system?
    Yes, it is a good idea as within the next iteration or two of Windows, 32-bit versions of Windows will go the way of the dinosaur (as it should).

    It's insanely simple to target both 32-bit and 64-bit OSes within .Net. With .Net, you can set it to compile specifically for a 32-bit or 64-bit process but you can also set it (by default I believe) so it can dynamically target both. This is done via JIT compiling it for 64-bit on 64-bit architectures. No coding changes required
    Quote Originally Posted by RhinoBull
    There could be plenty of difficulties not only for VB6 apps but C/C++/etc as well...
    You make it sound as if it's difficult to build an application on 32-bit and 64-bit architectures but if it's developed well, it's almost always a compiler switch and done.

    The thing to keep in mind is to make sure you know the sizes of the old then new data types. The OP is moving away from VB6 so he will avoid that mess (it's a mess on 32-bit too). The OP said he was using .Net and moving away from VB6 so I'm not sure of the relevance of your post but I guess it's good to have some background.
    Quote Originally Posted by Paul M
    But .NET applications built for 32 bit systems can work?
    Yes. All .Net applications will work just fine under 64-bit unless you're doing something very very wrong in your code.
    Quote Originally Posted by RhinoBull
    Generally speaking yes, they should work but in reality they need to be thoroughly tested just to ensure that every aspect of your app works identical on different platforms.
    Agreed, it should be well tested. I am running Vista 64-bit (and have been doing so) since Vista's release and it's been rock solid. I've only had two applications that did not work under 64-bit and 1 was due to it requiring 32-bit drivers to be installed (and all drivers must be 64-bit under a 64-bit system) and iTunes (which now works) which is due to bad development.
    Quote Originally Posted by RhinoBull
    And it's not only about programming language (or framework) but rather underlying hardware architecture - 64 bit processing is a whole new and different world.
    A whole new and different world? Hardly. It's still the same x86 architecture except that the computer can process twice as many bits at the sametime and can address more memory than before. That's it. It's a step in the right direction but it's still the same architecture we've been using for over a decade. I wish we could switch to a newer architecture as x86 is really showing its age.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  8. #8

  9. #9
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: 64 Bit Development?

    Quote Originally Posted by RhinoBull
    I'm afraid I disagree but also don't intend to open new arguments.
    How can you disagree? The proper name is x86-64. Check out the Wikipedia entry. I don't want to start a new line of arguments either but AMD created x86-64, Intel cloned it and called it Intel 64 (or EM64T) and it is now incorporated in all of Intel's latest processors as well as the AMD64 and other AMD processors. Windows 64-bit runs on x86-64. It's just a superset. Sure, there are other features of x86-64 but they're minor in comparison and still operate on the x86 architecture.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

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