Results 1 to 4 of 4

Thread: Converting 16 bit dll's to 32 bit

  1. #1

    Thread Starter
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Converting 16 bit dll's to 32 bit

    I have a load of Vb4 16 bit apps that use 16 bit dll's. Does any one know how to convert them to 32 bit. If tried changing all the API calls from Integer to Long which is the norm, but this doesn't work. They won't register either because they are 16 bit.

  2. #2

    Thread Starter
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236
    Rather than reposting this original request, which 15 people have looked at but not one replied to. Does any one have any new ideas?
    Last edited by Keithuk; Jul 7th, 2004 at 11:01 AM.

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    Which OS are you trying to run them on? Windows XP? I think that support for 16-bit has been eliminated (either that or you need to set a compatability mode on the program somehow).

    If the DLL's are 16-bit and need to run in a 32-bit environment they will need to be re-compiled using a 32-bit compiler.

  4. #4

    Thread Starter
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236
    Thanks si_the_geek.

    I'm using Windows 98se. Do you have any idea how to set the compatability mode with 98?

    The only difference with 16bit and 32bit API calls tends to be Integer and Long.

    I started using VB4 16bit 10 years ago, thats why I need to convert the apps to VB6 but I don't have the original code for the dll. They were taken from other apps which worked great.

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