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. C / C++ / MFC
  4. VB dll in vc++

VB dll in vc++

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++graphicsquestionlearning
4 Posts 4 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.
  • S Offline
    S Offline
    satadru
    wrote on last edited by
    #1

    Hi can anyone solve the following problems: 1.I have created a dll in vb and want to integrate that in vc++, so how can i go about 'referencing' that we do in vb in the vc++ project .(to add the class created). 2.From the main window iam loading a new dialog.in the child dialog iam selecting an image and subsequently drawing that in the main window by getting the pointer to the main window.the problem is the picture gets erased on subsequent window handling like resizing , being overlapped etc.So how can i pass the image id (its being loaded from the resource) and paint them in the WM_PAINT message handler. Please help me in this regard. Thanking you. Satadru

    B L 2 Replies Last reply
    0
    • S satadru

      Hi can anyone solve the following problems: 1.I have created a dll in vb and want to integrate that in vc++, so how can i go about 'referencing' that we do in vb in the vc++ project .(to add the class created). 2.From the main window iam loading a new dialog.in the child dialog iam selecting an image and subsequently drawing that in the main window by getting the pointer to the main window.the problem is the picture gets erased on subsequent window handling like resizing , being overlapped etc.So how can i pass the image id (its being loaded from the resource) and paint them in the WM_PAINT message handler. Please help me in this regard. Thanking you. Satadru

      B Offline
      B Offline
      BaldwinMartin
      wrote on last edited by
      #2

      Hi Have you built a .h (header file) with all the function,defs,and call in it? Best Wishes and Happy Holiday's, ez_way

      1 Reply Last reply
      0
      • S satadru

        Hi can anyone solve the following problems: 1.I have created a dll in vb and want to integrate that in vc++, so how can i go about 'referencing' that we do in vb in the vc++ project .(to add the class created). 2.From the main window iam loading a new dialog.in the child dialog iam selecting an image and subsequently drawing that in the main window by getting the pointer to the main window.the problem is the picture gets erased on subsequent window handling like resizing , being overlapped etc.So how can i pass the image id (its being loaded from the resource) and paint them in the WM_PAINT message handler. Please help me in this regard. Thanking you. Satadru

        L Offline
        L Offline
        l a u r e n
        wrote on last edited by
        #3

        are u drawing the image in the OnDraw() or OnPaint() handler?


        "there is no spoon"
        biz stuff   about me

        A 1 Reply Last reply
        0
        • L l a u r e n

          are u drawing the image in the OnDraw() or OnPaint() handler?


          "there is no spoon"
          biz stuff   about me

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

          hi , yah iam drawing in OnPaint()

          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