stephen1980's Forum Posts

  • Thanks. I found the problem.

    stephen1980

  • Thanks.

    I still keep getting one error. Can you tell me what is wrong with my code?

    int DisplayMessageBox()
    {
        int msgboxID = MessageBox(
            NULL,
            L"3D Mesh is already loaded.\nDo you want to replace it?",
            L"Confirm Load As",
            MB_ICONEXCLAMATION | MB_YESNO
        );
    
        if (msgboxID == IDYES)
        {
            // Lots of Code
        }
    
        return msgboxID;	
    }[/code:d979winx]
    
    I get the following error: Error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'const wchar_t [54]' to 'LPCSTR'	c:\Program Files\Scirra\SDK\3DMesh\Edittime.cpp	80	Template SDK
    
    Am I missing something?
    
    Thanks.
    stephen1980
  • msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx

    Page is not found.

    stephen1980

  • Thanks for your help, Rich. I guess I will keep checking back.

    stephen1980

  • It's the OnPut function in edittime.cpp, though I agree that it's not really an ideal way to give information.

    Sorry if I confused you. This messagebox is not going to be in the released version of the plugin. This is just so that I can get more familiar with the Plugin SDK, and my friend wants a specific plugin that does this.

    By the way, this may sound dumb, but what would the code look like for the Message Box Popup? I keep getting errors.

    Thanks for all of the help, guys!

    stephen1980

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry. I am new with this plugin making business, so I thought I would ask for a little help.

    I am trying to learn this stuff step by step, and I wanted to know how I would get a message box to popup with some information when the plugin is dropped into the interface of Construct.

    Does anyone know how I would do this? Thanks in advance!

    stephen1980

  • Sorry to bump this, but I wanted to let you guys know that my internet will be shut off for the next 2 weeks due to repair. Due to this, I just wanted to ask if anyone had managed to figure this out yet? It's for a school project that is due before my internet will be turned back on.

    Thanks tons.

    stephen1980

  • Okay, thanks! I would really appreciate that.

    It would help me out tremendously! Keep me updated on anything you find out, please.

    stephen1980

  • Hi. Has anyone had any success in getting the Audio Converter to work? I've been messing around with it for a couple of days now. If someone has a working example, it would help me out alot! I can't find any information about it in the Wiki, either.

    Thanks in advance!

    stephen1980