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
M

Member_14923

@Member_14923
About
Posts
10
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Vindows?
    M Member_14923

    > Oh oh. I don't know about you guys, but this scares the > crap out of me. Why?

    The Lounge html com question

  • How much is a billion?
    M Member_14923

    I came across this site http://www.chass.utoronto.ca/~gromero/billion.html and their explanation has got me confused. Can any techy savvy people clear this??

    The Lounge html question

  • Stringray?
    M Member_14923

    I was trying to navigate to the StingRay site, but I mistyped and added one more letter and guess where it took me? :) www.stringray.com Pretty interesting... ;

    The Lounge com question

  • Can anyone tell what is MS Media Server
    M Member_14923

    http://www.ccianet.org/Win2000web.html HT

    The Lounge sysadmin architecture question

  • MSDN Engine-Collection-Class
    M Member_14923

    you make it clickable like so http://msdn.microsoft.com/library/default.asp?URL=/library/techart/desipat.htm :)

    IT & Infrastructure question c++ com help tutorial

  • How to obtain MASM?
    M Member_14923

    Even better follow this link. http://www.landfield.com/faqs/assembly-language/x86/microsoft/

    The Lounge tutorial question

  • How to obtain MASM?
    M Member_14923

    This link says it seems to come with an MASM. http://msdn.microsoft.com/vstudio/downloads/ppack/download.asp

    The Lounge tutorial question

  • Like ICopyHook, but for files ...
    M Member_14923

    I need an article which will help me to be notified before files are deleted. Someone in comp.os.ms-windows.programmer.win32 said I need to write a device driver to do that. I really don't know where to start, I have never touched this subject before.

    Article Writing help

  • HTML Viewer
    M Member_14923

    Check out one called QHTM (Quick, Light HTML Control)

    The Lounge html question

  • Why do enums vanish when my tlb file is imported using ClassWizard?
    M Member_14923

    I have a VC 6.0 SP3 App Wizard generated dll. In the dll's type library I added an enum. The enumerated type is used as an argument in a ClassWizard Generated method. I just changed the return value to be my enum. The basic layout of the odl is below. [ uuid(...), helpstring(...), version(1.0) ] library MyLib { importlib("stdole32.tlb"); importlib("stdole2.tlb"); typedef [uuid(...), v1_enum, helpstring(...)] enum MyEnum { [helpstring(...)] val1 = 1, [helpstring(...)] val2 }MyEnum; [ uuid(...) ] dispinterface MyInterface { properties: //{{AFX_ODL_PROP(CMyInterface) [id(1)] MyEnum TheType; //}}AFX_ODL_PROP methods: //{{AFX_ODL_METHOD(CMyInterface) //}}AFX_ODL_METHOD }; //{{AFX_APPEND_ODL}} //}}AFX_APPEND_ODL}} }; When I compile the dll it compiles cleanly and I can see my enum using the OLE-COM object viewer, and if I use the dll in VB I also can see the enumeration, and if I #import the tlb file the enumerations are properly declared. The problem is when I try importing the dll into another appwizard generated exe using ClassWizard. When I do this all my interfaces are imported but ClassWizard ignores the enums I have declared. Is there anyway to get my enums to be declared in the ClassWizard generated class files or do I have to do it myself. Simply importing the tlb is not an option at this point because I would have to rewrite too much of the existing application I am using my dll in.

    C / C++ / MFC com help question announcement
  • Login

  • Don't have an account? Register

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