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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. ATL attributed programming, need help!

ATL attributed programming, need help!

Scheduled Pinned Locked Moved ATL / WTL / STL
helpquestionc++com
1 Posts 1 Posters 10 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.
  • X Offline
    X Offline
    xi904
    wrote on last edited by
    #1

    Hi, I have recently moved over atl attributed programming and created a ActiveX Control which is used in a vb 6 application, but when i call a method, like this: ++++vb code+++++ Private Sub Command1_Click() Dim a As Long a = 1 Me.Chh1.test a 'Chh1 is a atl object End Sub ++++ atl code++++ STDMETHODIMP Chh::test(LONG tt) ,vb say that variable "a" has a type mismath error. This atl project has used attributed programming in atl wizard. Then I created another atl project which didn't use attribute programming, every thing is ok. It's so strange! How can I correct this problem? Thanks, Jeff Xi.

    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