Can't get SCS_GetNewFeatures to work in SourceControl Extension (DW CS4)

I am writing a source control extension, and can't get the SCS_GetNewFeatures to work.  SCS_GetNewFeatures gets called, but the call backs I register don't.  I can't find my menu anywhere.
Any help would be appreciated.  Here is my SCS_GetNewFeatures implementation, and call back functions:
bool SCS_GetNewFeatures(char menuItemList [][32], scFunction functionList [], scFunction enablerList [], const int numNewFeatures)
    bool rtVal = true;
    for (int i = 0; i < numNewFeatures; i++)
        if (i == 0)
            strncpy(menuItemList[i],"Testing", 32);
            functionList[i] = (scFunction)TestingFunc;
            enablerList[i] = (scFunction)EnableTestingFunc;
    return rtVal;
bool TestingFunc(void *connectionData, const char *remotePathList[],
    const char *localPathList[], const int numItems)
    MessageBox(NULL, L"Testing",L"Testing", IDOK);
    return true;
bool EnableTestingFunc(void *connectionData, const char *remotePathList[],
    const char *localPathList[], const int numItems)
    return true;

I'm not sure I understand your response.  My understanding of the way to add additional functionality to the Source Control interface, is to implement  SCS_GetNewFeatures, where the implementation registers enabler and action functions, along with a menu.  My code is doing this.  SCS_GetNewFeatures is getting called, but I don't see the new menu (Testing) anywhere (I may not be looking in the correct spot, although I have looked in most of the menus), and the menu enabler function (EnableTestingFunc) isn't getting called (I have put a break point in the function).
I don't understand what you mean by not passing anything to my function call - I'm not who calls TestingFunc and EnableTestingFunc - DW does, passing the necessary parameters.  I just need to make sure that my functions match the function template for scFunction (defined on the mentioned page of the api reference).
I'm looking for help in figuring out why my registered callbacks (TestingFunc and EnableTestingFunc) aren't getting called, and why my menu (Testing) isn't showing anywhere.  I figure I am missing something basic, or doing something obiously wrong.
This is simply testing code to get the basic functionality working.  Once I get that far, I will put in real code to do what really needs to be done.  It should show a menu (always enabled), that when clicked, shows an dialog box (at this point using a Windows API call)
If you have a working sample of this kind of code, I would love to see it.

Similar Messages

Maybe you are looking for

  • How to delete the last "\n" ??

    Hey! I have a string with alot of "\n" within it, how can i only delete or substring or something to get rid of the last appreared "\n" ? I generates a text dokument like: hi "\n" hi "\n" hi "\n" Dont want the last one "\n" here!! Can i do that with

  • Help about 1Z0-051?

    For preparing 1Z0-051 exam, where can i get the practice questions fro each topic in the book recommended by Oracle.As the questions in the book are too easy as compared to the question that comes in exam. Please reply

  • Override Update Profile

    Hi, We are on Ecc6, Ehp4 and activated the BCS part of FM. The scenario is we have to issue multi year purhcase order to our vendors. Now to issue that we have to have budget in the future years and for system to check that I want to make  Payment Bu

  • My color picker in elements 8 is not working

    When I pick a color with the color picker on Photoshop Elements 8  and I click OK, no matter what color I pick it shows gray. What is wrong??

  • Uploading the sales order using BAPI

    hi experts, i want to upload the sales order using BAPI. can you provide the FM. it will be much helpful if i have the sample code........ thanks