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
P

Pop Cristian

@Pop Cristian
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Declare shared function in com (vc++)
    P Pop Cristian

    I have lots of structures/classes in my library, so I need to be COM; there is no specific requirement, all I needed was just a fancy way of exposing / calling a static vc function; I have now in c code, CMyClass::DoThis(param1, param2), so no need to create new object in c for this; I'll just create a new object in vb, call my function and discard object afterwards Was thinking in vb I could've have CMyClass.DoThis(param1, param2) instead of dim c as new CMyClass c.DoThis(param1, paramt) thx

    COM c++ com question

  • Declare shared function in com (vc++)
    P Pop Cristian

    Static functions from c++ are equivalent to shared from VB; was thinking there is a way to just expose this static functions; if there isn't will just have to call code in vb common way, using object thx

    COM c++ com question

  • Declare shared function in com (vc++)
    P Pop Cristian

    Shared vb function than creates an instance of my class, calls function (static one) then delete that object is a good solution, but not a perfect one. Was thinking perhaps there is a keyword that will expose function the way I want If you can tell me what's the other way arround please let me know thx

    COM c++ com question

  • Declare shared function in com (vc++)
    P Pop Cristian

    How should declare function in COM (vc++) in order to be seen as shared in vb (no instance object needed for function call)? thx

    COM c++ com question
  • Login

  • Don't have an account? Register

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