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
X

xonobo

@xonobo
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How can I create a generic pointer?
    X xonobo

    Thamks for your help. I thought VARIANT is only available in VB that's why I asked more. Now I will check _variant_t. Thanks again.

    C / C++ / MFC question help

  • How can I create a generic pointer?
    X xonobo

    Thanks a lot for your reply and ask: anyone knows a solution for C/C++?

    C / C++ / MFC question help

  • How can I create a generic pointer?
    X xonobo

    just read the reply of jhwurmbach below. That's my problem. void * do not help in that. but thanks...

    C / C++ / MFC question help

  • How can I create a generic pointer?
    X xonobo

    Hi list, I want to ask whether is it possible to have a pointer whose type can change according to the input. I want to make it clear waht I need by a little code below which is not possible to compile. I think there must be a very well known trick for this. Thanks in advance for your help. switch( datatype ) { case DT_INT8: char *myPntr = (char *)dataPntr case DT_UINT8: unsigned char *myPntr = (unsigned char*)dataPntr; case DT_INT16: short *myPntr = (short *)dataPntr; } dataPntr is a (void *). how can I create such myPntr? xonobo

    C / C++ / MFC question help
  • Login

  • Don't have an account? Register

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