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. How to combine VB6.0 and C++ ???

How to combine VB6.0 and C++ ???

Scheduled Pinned Locked Moved Visual Basic
c++questiontutorial
4 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.
  • J Offline
    J Offline
    john_tran
    wrote on last edited by
    #1

    I want to create an application that using VB6.0 for the GUI, and using C++ for the source. How can i do that? Show me step-by-step to create an application like that. (Assume that i have a file "exm.cpp" that contain all contents that my application need (contain include statements, Functions statements, and main statement), do i need to change my source to use with VB ? And how to change?) Thanks Ask More - Learn More JohnJone

    I 1 Reply Last reply
    0
    • J john_tran

      I want to create an application that using VB6.0 for the GUI, and using C++ for the source. How can i do that? Show me step-by-step to create an application like that. (Assume that i have a file "exm.cpp" that contain all contents that my application need (contain include statements, Functions statements, and main statement), do i need to change my source to use with VB ? And how to change?) Thanks Ask More - Learn More JohnJone

      I Offline
      I Offline
      incubusfan
      wrote on last edited by
      #2

      Hi In short, you can't. The languages aren't interchangeable, and the nearest you could get is to wrap your c++ routines into a dll that can be used from within VB.

      A J 2 Replies Last reply
      0
      • I incubusfan

        Hi In short, you can't. The languages aren't interchangeable, and the nearest you could get is to wrap your c++ routines into a dll that can be used from within VB.

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        Is that easy? If not, what are some things to study?

        1 Reply Last reply
        0
        • I incubusfan

          Hi In short, you can't. The languages aren't interchangeable, and the nearest you could get is to wrap your c++ routines into a dll that can be used from within VB.

          J Offline
          J Offline
          john_tran
          wrote on last edited by
          #4

          What is DLL file ? How to create it and add it into VB? (DLL Structure please) Ask More - Learn More JohnJone

          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