Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Problem calling DLL

Problem calling DLL

Scheduled Pinned Locked Moved Visual Basic
helpquestioncom
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 434710
    wrote on last edited by
    #1

    I compiled a DLL using Visual Basic 6. I am unable to call this DLL in OMNIS. I was told that if a DLL is compiled in VB 6, it is highly likely to be compiled as a COM object. Omnis functions will not work with COM objects. How do I compile a DLL in VB 6 as a normal DLL? Can somebody help me out?? Regards, Vick

    C N 2 Replies Last reply
    0
    • U User 434710

      I compiled a DLL using Visual Basic 6. I am unable to call this DLL in OMNIS. I was told that if a DLL is compiled in VB 6, it is highly likely to be compiled as a COM object. Omnis functions will not work with COM objects. How do I compile a DLL in VB 6 as a normal DLL? Can somebody help me out?? Regards, Vick

      C Offline
      C Offline
      CBoland
      wrote on last edited by
      #2

      This cannot be done using VB6 alone, which creates only stand-alone EXEs or COM components. Desaware, however, has a product called SpyWorks, that will create Win32 exports of VB DLLs. http://www.desaware.com/SpyWorksL2.htm

      1 Reply Last reply
      0
      • U User 434710

        I compiled a DLL using Visual Basic 6. I am unable to call this DLL in OMNIS. I was told that if a DLL is compiled in VB 6, it is highly likely to be compiled as a COM object. Omnis functions will not work with COM objects. How do I compile a DLL in VB 6 as a normal DLL? Can somebody help me out?? Regards, Vick

        N Offline
        N Offline
        Nick Parker
        wrote on last edited by
        #3

        vicknesh wrote: I was told that if a DLL is compiled in VB 6, it is highly likely to be compiled as a COM object. That is correct. -Nick Parker

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups