Jump to content

  • Log In with Google      Sign In   
  • Create Account


Tried to run/compile 3dsmaxappwizard, but no good


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 lucky6969b   Members   -  Reputation: 541

Like
0Likes
Like

Posted 03 July 2013 - 09:36 PM

I am using Visual Studio 2010 Ultimate, when I change the AppPath then copying everything to VCProjects directory, the final step crashes my IDE. So I decided to recompile the app wizard, but there are lots of errors associating with it.

 

I found a path [! output SDKPATH_LIB64] specified in this option (Additional Library Directories).
And some source code related to this
 

Code:
//**************************************************************************/
// Copyright (c) 1998-2007 Autodesk, Inc.
// All rights reserved.
//
// These coded instructions, statements, and computer programs contain
// unpublished proprietary information written by Autodesk, Inc., and are
// protected by Federal copyright law. They may not be disclosed to third
// parties or copied or duplicated in any form, in whole or in part, without
// the prior written consent of Autodesk, Inc.
//**************************************************************************/
// DESCRIPTION: Appwizard generated plugin
// AUTHOR:
//***************************************************************************/

#include "[!output PROJECT_NAME].h"

#define [!output CLASS_NAME]_CLASS_ID    Class_ID([!output CLASSID1], [!output CLASSID2])

#define PBLOCK_REF    0

class [!output CLASS_NAME] : public [!output SUPER_CLASS_NAME]
{
public:
    //Constructor/Destructor
    [!output CLASS_NAME]();
    virtual ~[!output CLASS_NAME]();


/////////////////////////////////
And these


... HTML code
</HTML>
        <SCRIPT language="JSCRIPT">

var tab_array = new Array();
tab_array[0] = Default;
tab_array[1] = Page_2;
tab_array[2] = Page_3;


function PopulateFields()
{
    // Populate base class list
    var baseArray = new Array();
    baseArray[0] = window.external.FindSymbol("BASECLASS_1");
    baseArray[1] = window.external.FindSymbol("BASECLASS_2");
    
    for (var i =0; i < baseArray.length; i++)
    {
        if (baseArray[i] != '')
        {
            var oOption        = document.createElement("OPTION");
            oOption.text    = baseArray[i];
            oOption.value    = baseArray[i];
            BASECLASS_LISTBOX.add(oOption);
        }
    }
    
    // Also adding project name as default class name
    var projectName    = new String();
    var className    = new String();
    
    projectName = window.external.FindSymbol("PROJECT_NAME");
    className    = projectName.replace(/ /g, "_");
    
    CLASSNAME_TEXTBOX.value = className;
}

 
However, I can't get it compiled after setting a variable called SDKPATH_LIB64 for my system environment. Any one knows how they actually work together?
Thanks
Jack


Edited by lucky6969b, 03 July 2013 - 09:46 PM.


Sponsor:

#2 Vortez   Crossbones+   -  Reputation: 2688

Like
1Likes
Like

Posted 03 July 2013 - 11:13 PM

Why are you messing with the appwizard? blink.png



#3 lucky6969b   Members   -  Reputation: 541

Like
0Likes
Like

Posted 04 July 2013 - 12:23 AM

I try to compile to x64 platforms.

And I try to write a plugin that can remember the name of an edge.


Edited by lucky6969b, 04 July 2013 - 12:23 AM.


#4 Vortez   Crossbones+   -  Reputation: 2688

Like
0Likes
Like

Posted 04 July 2013 - 12:30 AM

Don't mess with the app wizard then, just use the x64 lib folder instead, add it to the project settings, additional libraries setting.

 

This way you can compile your code in 32 and 64 bits just by changing a project settings. I don't remember how i did it, but when i load my Exporter/Importer project, i can compile in 32 bits or 64 bits by changing a combobox in my tool bar, and the lib directory get changed automatically.

 

Took me a while to get it to work though.


Edited by Vortez, 04 July 2013 - 12:33 AM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS