asm to cpp code porting RRS feed

  • Question

  • I am porting assembly code to C++ and I have some problems porting a portion of it.

    I have a pointer declared as:

    void* function;

    and it is pointing to a function call:

    void* function = getfunction(lib, fname);

    I have a inline assembly code which I have to migrate to C++:

    __asm { call function }

    How to call this pointer in C++?

    Please note that the arguments lib and fname are of type void*.

    And void* function points to value returned by "getfunction"

    Sunday, April 14, 2013 5:18 PM

All replies

  • PriyaAudi,

    Sorry but you have posted to a forum that deals exclusively with questions/issues about customizing and programming Microsoft Project, a planning and scheduling application. I suggest you delete this and repost to a forum that deals with C++. You might start here:


    Sunday, April 14, 2013 7:59 PM