locked
Convert 32 bit VB dll into 64 bit machine.? RRS feed

  • Question

  • User-1623675128 posted

    Alll,

     I have problem when i tried to use 32 bit VB6.0 dll in 64 bit web server ASP application.I ma getting error like contact sys admin for more info when i browsed my aSP we site.

    What i hae to do to over come htis error?

    Thanks,

    Saturday, March 8, 2008 9:08 PM

Answers

  • User372121194 posted

    Hi,

    The 32-bit dll can run on 64-bit platform with Windows on Windows' (WOW64). But the 64-bit application cannot load the 32-bit modul. But you can use interprocess communication (IPC), such as out-of-process COM, sockets, Windows messages or memory mapped files, to exchange the data between 32-bit dll and 64-bit application. For more information, see Accessing 32-bit DLLs from 64-bit code

     

     

    I hope this helps.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 13, 2008 12:06 AM

All replies

  • User372121194 posted

    Hi,

    The 32-bit dll can run on 64-bit platform with Windows on Windows' (WOW64). But the 64-bit application cannot load the 32-bit modul. But you can use interprocess communication (IPC), such as out-of-process COM, sockets, Windows messages or memory mapped files, to exchange the data between 32-bit dll and 64-bit application. For more information, see Accessing 32-bit DLLs from 64-bit code

     

     

    I hope this helps.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 13, 2008 12:06 AM
  • User-1901573059 posted

    Hi Thomas,

    i was curious to know if a .Net solution would be easier to code, rather than relying on COM.

    Regards,

     

    Thursday, April 23, 2009 6:37 PM