CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Feb 2006
    Location
    Croatia - Zagreb
    Posts
    459

    How to determine the type of variable if variable is void*

    Hi All.
    I'm passing void *ptr as argument in function and I have to find out is the argument pass as pointer to void, int, float or char*, anyone know this?
    I was thinking about variant type. But I'm not quite sure.
    Last edited by Odiee; August 29th, 2006 at 04:16 AM.
    You just divided by zero, didn't you?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured