CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 1999
    Posts
    9

    How to get a variables address (for passing it to a dll's function inside an userdef type, NOT byref



    Hi happy coders !


    I got some problem (as most ppl here..).


    I want to pass the address (pointer) of a vb's variable

    to a function inside a (VC++) dll.


    The problem is that i will have to pass it INSIDE an array of

    user defined types (this is why i cannot just pass it as an argument byref).


    Maybe some of you got any suggestion ??


    thanks


    Watz

  2. #2
    Join Date
    May 1999
    Posts
    45

    Re: How to get a variables address (for passing it to a dll's function inside an userdef type, NOT b



    Try varptr , objptr , strptr function.

  3. #3
    Join Date
    Mar 1999
    Posts
    9

    Re: How to get a variables address (for passing it to a dll's function inside an userdef type, NOT b



    Many thanks !!!


    Strangely enough these functions work but obviously

    they are completely undocumentated.....


    :-)




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