How to use the InDesign SDK on Visual Studio 2013 for C++ project?

I had a stuck on my research on 'use InDesign SDK to develop a plugin for InDesign'. Through my research, I tried to launch a sample project comes with the SDK in Visual Studio 2013 (note that all the examples of projects are using C++). Also, I have many questions about InDesign to apply for assistance, but long unanswered forum post. And this final change that I need your help to continue my research on this issue. The issue is described as follows:

  • Document involved: plugin_sdk_CC2015_072_20150618.zip (year SDK InDesign-downloaded from the Adobe site - http://www.adobe.com/devnet/indesign/sdk.html)
  • Development environment: Visual Studio 2013 (C++)
  • I followed the guideline in the folder "plugin\docs\html\index.html".
  • I opened a sample project in the folder "plugin\build\win\prj" Visual Studio 2013.
  • In the Visual Studio 2013 window, I click on "Local Windows Debuggeer" to run the project. But after compiling the project, it generated an error message and the project cannot run more.

Note: All draft documents and sample are belong to InDesign SDK.

I stuck there and could not find a solution for this problem yet, I followed the document of InDesing SDK strictly. Finally, the purpose of this research is to create a sample for InDesign plugin.

Kind regards

Hello

Set your path of debugging in visual studio 2013.

If you find any problem you can contact me please on my mail ID

[email protected]

Thank you

Philippe joshi

+ 91-8860697370

Tags: InDesign

Similar Questions

  • How to install the AE SDK in visual studio 2010 ultimate

    Hello

    I want to make plugins for visual studio 2010 ultimate, and I do know how to integrate my visual studio with AE SDK it is as if they are just files not installation package so I can click and install but I guess I have to configure the sdk, I work with the android sdk in eclipse, but don't know how to use it.

    BTW, I am a new programmer and learn this new language cool and also do work with after effects and 3ds max for the preceding 5 years.

    Help would be greatly appreciated.

    Thank you

    Unfortunately it is not clear detailed guide available to work with the AE SDK - well there was one of the early 1990s it's pretty hard to get through.  There should be one, however.  I wanted to write something like this some time ago, but thought I needed more experience developing with the SDK in order to write something solid.  Maybe its something that could be done in the future.  If you have specific questions, introduction VS 2010 for AE SDK, then by all means post the question here

    Best,
    Arie

  • can I use Visual studio express for commercial projects?

    can I use Visual studio express for commercial projects?

    No, this version of visual studio is for purposes of learning and not commercial, if you want to make commercial project, you should get the right edition.

  • RoboHelp 11 is compatible with Visual Studio 2013 for source code control?

    About to move our RoboHelp 11 projects to source control. We have MS Visual Studio 2013. Are they compatible?

    Yes. You need to install the 32-bit MSCCI-provider to make it work. Then, it's a walk in the Park.

    Here are the steps to follow to implement: http://www.adobe.com/devnet/robohelp/articles/robohelp-tfs-integration.html

    The article is a little old, but the steps are the same for VS2013.

  • How to implement the automatic calculation is Visual Studio (I'm new to VS)

    IM new vb and I wondered how I would do automatic calculation in my application

    Here are my Apps UI (I wasn't expecting to get out that big)

    What I'm trying to do is

    1. number of nights * $55 = Total cost night

    2 total cost of night * 10% = load of Entreatment %

    3. total cost night + fresh entertainment % = Total Room (Night) and Ent. Fees

    4. total Room (Night) and Ent. Support + Service charge + phone = Total invoice

    All automatic

    I hope someone could please help me that would be great, if you have any questions please ask and I thank you in advance.

    Hi devils4ever30,

    I would repost among our developer audience in the Visual Studio forum:

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio

    Thank you!

  • How to use the file that is saved in my new video project

    Ho I use adobe Prime Minister 12 with license elements, and when I download the video and edit (delete a scene of her) I save in my new video project in video format very strange *.prel after that when I try to download files of this new is that with the changes in the system can not download because not suport this format *.ples how do I make changes to the format of the new file that is saved in my new video project?

    Thanks in advance

    stefang

    Your work begins in a project file first items 12/12.1 with the file extension PREL. You can change the content of your Timeline and save the project file in a project file if you do not have ready to export the file to a format for playback.

    When you are ready to export your content published or not fake chronology, you go to the section of publication + part of the open project where you make your choice of export-

    a. file saved on the hard disk of the computer (with various choice of video and audio compressions and file extensions)

    b. burn to DVD, AVCHD or Blu - ray disc

    What do you do?

    a. export your Timeline to file or burn it to a disc?

    OT

    b. export selectively some of the content rather than the entire contents of the timeline timeline?

    For 'a', see section publication + share.

    For 'b '.

    In the editing area of the program, you set the gray tabs on the work area bar to cover the area to export.

    and

    When you get to publish + Share/computer/and your choice, make sure that the choice has an option for 'Hand work area Bar Only' and have a check mark next to this option.

    The screenshot was made with a version earlier than 11, but still applies to the notion of positioning of the grey tabs and share work area Bar only in the export options.

    Please review and consider. For any question or need clarification, please ask.

    Thank you.

    RTA

  • Zoom, Zoom out by using the picture box in Visual Studio 2010

    I want to develop a single Image view software, so I need to develop the Zoom, Zoom out , left, right, up, down these functions should be use buttons

    I am new to VB.Net please give some ideas, I googled exactly answer that I do not have anywhere

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • TestStand 2013 is compatible with Visual Studio 2013?

    TestStand 2013 is compatible with Visual Studio 2013?  Has anyone used together?

    Code modules you build should be compatible/executables, however integration between TestStand and Visual Studio 2013 (for help debugging and development, for example the code patterns, step in the input/output between TestStand and Visual Studio and includes the updated paths automatically in Visual Studio) may not work correctly in all cases since Visual Studio 2013 is out after 2013 TestStand.

    My understanding is that most of the things do not work, a few known minor issues are integration of help file does not and TestStand to what version of Visual Studio, the projects that you specify for the source of a specification of the step code section are not recognize.

    Hope this helps,

    -Doug

  • Visual Studio 2013 tabs are endangered

    Good afternoon

    As seen below, I'm supposed to have 5 tabs that should appear in the tab bar, but only 3 are seen. The others I can retrieve only by clicking the arrow to the right.

    This happens very often and for no apparent reason

    Looks like a bug in Visual Studio 2013 for me

    How can I get all the tabs is displayed? It's really annoying

    Note that I also display tabs pinned on a separate selected line.

    In addition, there is no subject for Visual Studio in this forum

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • How to export the Indesign to Format XML using JavaScript document

    Hi all...

    Can someone help me, how to export the indesign document to XML Format using JavaScript...

    Thanks in advance...

    doc.exportFile ( ExportFormat.XML, File(Folder.desktop+"/doc.xml" )
    
  • How to find the page contains the indesign sdk?

    PLS, someone help me, how to find the page contains the indesign sdk?

    Thank you

    screen410099

    Don't know, if you find a shorter way, but it works:

    UIDRef language = YOUR_TABLE;

    Error result code.

    do

    {

    InterfacePtr textModel;

    TextIndex beginning;

    Len Int32;

    result = table_get_text_model (read, 0, 0, textModel, start, len);

    If (result! = kSuccess) break;

    If (! textModel) break;

    UIDRef frameRef = text_query_frame (textModel, start);

    If (! frameRef) break;

    Int32 pnum = - 1;

    PageRef UIDRef = page_getref (frameRef, &pnum);)

    If (! pageRef) break;

    :

    :

    } While (false);

    //***************************************************************************

    Error code (Table_get_text_model)

    Language UIDRef,

    Int32 left,

    top of Int32,

    InterfacePtr & textModel,

    TextIndex & start,

    Int32 & len)

    {

    Result ErrorCode = kFailure;

    do

    {

    Inits

    textModel = InterfacePtr (Nile);

    Start = 0;

    Len = text::kTextLen;

    Make sure that we have a valid table model

    InterfacePtr tableModel (label, UseDefaultIID());

    if(!tableModel) break;

    convert the network to a network ID address

    GridAddress gridAddress (top, left);

    get the container text table so we could make the text template.

    InterfacePtr tableTextContainer (tableModel, UseDefaultIID());

    if(!tableTextContainer) break;

    textModel = InterfacePtr (tableTextContainer-> QueryTextModel());

    if(!textModel) break;

    InterfacePtr tableTextContent (tableModel, UseDefaultIID());

    if(!tableTextContent) break;

    GA GridArea (up, left, top + 1, left + 1);

    Len = tableTextContent-> GetTextChunk (ga, start);

    If (! len) break;

    result = kSuccess;

    } While (false);

    return the result;

    }

    //***************************************************************************

    #if (csversion_<>

    # define ITextFrameC_ ITextFrame

    #else

    # define ITextFrameC_ ITextFrameColumn

    #endif

    UIDRef text_query_frame (InterfacePtr txt, TextIndex istartPos)

    {

    UID uid = kInvalidUID;

    TextIndex startPos = istartPos;

    do

    {

    If (! txt) break;

    INNERE Textrahmen of the items

    InterfacePtr frameList (txt-> QueryFrameList ());

    If (! frameList | frameList-> GetFrameCount ())<= 0)="">

    First INNERER Textrahmen of the items

    InterfacePtr textFrame (frameList-> QueryNthFrame (0) / * QUF,: UseDefaultIID () * /);

    #ifndef (csversion_<>

    Location of RangeData (startPos, startPos);

    #else

    TextIndex location = startPos;

    #endif

    Int32 frameIndex = - 1;

    InterfacePtr tf = InterfacePtr (Nile);

    If (startPos < txt-=""> tf TotalLength ()) = InterfacePtr (frameList-> QueryFrameContaining (location, & frameIndex));

    of other tf = InterfacePtr (frameList-> QueryNthFrame (frameList-> GetFrameCount () - 1));

    If textFrame (tf) tf =;

    If (! textFrame) break;

    //

    Aus dem first inner Textrahmen bilden wir jetzt eine hierarchy.

    In der Ebene uber hierarchy suchen wir jetzt nach nach einem dieser

    Objekt, das ein Graphicrahmen ist. Dieses element ist der gesuchte

    ÄUßERE Rahmen.

    //

    InterfacePtr child (textFrame, UseDefaultIID());

    If (! child) break;

    do

    {

    InterfacePtr parent (child-> QueryParent());

    If (parent == nil) break;

    InterfacePtr graphicFrameData (parent, UseDefaultIID());

    If (graphicFrameData! = nil)

    {

    We have a regular text frame.

    UID =: GetUID (graphicFrameData);

    break;

    }

    child = parent;

    } While (child! = nil);

    } While (false);

    If (uid == kInvalidUID) return UIDRef (Nile, kInvalidUID);

    Return UIDRef (: GetDataBase (txt), uid);

    }

    //***************************************************************************

    #if (csversion_<>

    # define GLayout_:

    #else

    # define GLayout_ Utils ()->

    #endif

    UIDRef page_getref (const UIDRef & frameRef, int32 * pgNum)

    {

    UIDRef result = UIDRef::gNull;

    do

    {

    If (pgNum) * pgNum = 0;

    If (! frameRef) break;

    InterfacePtr itemHier (frameRef, IID_IHIERARCHY);

    If (! itemHier) break;

    If (! pause frameRef.ExistsInDB ());

    ES more like evil EIB GetOwnerPageUID AB. ICH denke badly, at least

    Ein muss ein Rahmen wohl schon haben Parent. Wenn wir da keinen find,.

    tschüss Dann.

    InterfacePtr parent (itemHier-> QueryParent());

    If (! parent) break;

    PageUID UID = GLayout_ GetOwnerPageUID (itemHier);

    If (pageUID == kInvalidUID) break;

    result = UIDRef (frameRef.GetDataBase (), pageUID);

    If (pgNum)

    {

    IDataBase * db = frameRef.GetDataBase ();

    If (! db) break;

    UIDRef docRef (db, db-> GetRootUID ());

    InterfacePtr PageList (docRef, IID_IPAGELIST);

    If (!.) (Break from PageList);

    Int32 pageIndex is PageList-> GetPageIndex (pageUID);.

    * pgNum = pageIndex;

    }

    } While (false);

    return the result;

    }

    //***************************************************************************

  • How can I know the size of the screen of the moniter of users using the Acrobat SDK?

    How can I know the size of the screen of the moniter of users using the Acrobat SDK? I need to know how much real estate sreen which is available on the moniter to users. Is there some call I can do the SDK to find out the maximum X and is coordinated?

    Thank you

    Gregory

    Just responded to your other thread:

    AVWindowGetDesktopBounds()

    Even takes into account the task bar on Windows, the menu bar on Mac, etc.

  • How to create the Indesign application with vc ++

    Hello

    I want to ask that how to create Indesign application using vc ++?

    I am able to develop applications in c# using COM and generate an Interop.Indesign.dll using the Adobe Indesign CS5.5 typotheque

    I am sucessfully create instance of Indesign using this code

    Type = Type.GetTypeFromProgID ("InDesign.Application");

    Application InDesign._Application = (InDesign._Application) Activator.CreateInstance (type);

    I'm not understanding how to use COM with vc ++ or there is another method to create an instance of Indesign using vc ++.

    or

    How to use Interop.Indesign.dll in vc ++ to create the instance of indesign.

    There is no .tlb file in indesign directory by which I generate .h and .cpp file that I can use in my project.

    I want to create Indesign in vc ++.

    Thank you

    Hi, I'm not a programmer VC ++ itself, so you can't give the code, but I can give some general measures that can you can get and hopefully solve your problem.

    We can use the COM Indesign object to hunting Indesign and its functionlaity of VC ++ or c# and other. What we need to do is import tlb files in our project so that we have the declerations of the methods exposed by the COM of Indesign interface and make a call to them.

    The .tlb file is present at "C:\ProgramData\Adobe\InDesign\Version Visual Support\7.0\Resources for Basic.tlb 7.0\en_US\Scripting. You can use this to create your .h files using the #import statement.

    Once you have created .h I think that you will be able to call the methods of Indesign, of course, you will need to create an instance of the Indesign application.

    Are has some links that might be useful for you.

    http://forums.Adobe.com/message/3783210#3783210

    http://forums.Adobe.com/message/4407895#4407895

    Take a look as they discuss the issue that you are facing.

    PS: The .tlb file exists in several places in your system in order to be sure that you use the last LBR. You can search for "resources for Visual Basic.tlb", rename it, and then start Indesign (it must re-create these files that will have the latest model of the object). On Win7 launch Indesign using Admin privelages to other teas file will not be created.

    Manan Joshi

    -Effective InDesign solutions-

    MetaDesign Solutions

    http://metadesignsolutions.com/services/InDesign-development.php

  • How to use the goto function?

    How to use the goto function in indesign javascript?

    my script begins by chekcing if the input files are present or not... If one of the input files is not present, I want the n function put an end to the operation in the display of the message tht file exists... I was wondering to use goto for tht... then how to use it? or is there an alternative to that?

    GoTo is generally frowned upon by the programmers.

    The only legitimate use of goto is when you need to escape from a nested loop.

    If you need to jump into a routine, use break or simply in return from the current function.

    The model currently used by the SDK looks like this:

    do
    {
         if(condition1 == false)
              break;
         if(condition2 == false)
              break;
         if(condition3 == false)
              break;
         doSomethingReallyCool();
    }while(false);
    

    'break' the jumps at the end of the do / while loop that always comes out when you reach the end of it (while (false))

    Substances

  • How can I create a Windows using NOR-DAQmx application in Visual Studio 2010 64-bit

    Hello

    How can I create a Windows using NOR-DAQmx application in Visual Studio 2010 64-bit?

    I'm transferring a 32-bit application on 64-bit.  In visual Studio, I added the 64-bit project configuration.  He compiled the source very well but the reports link errors:

    error LNK2019: unresolved external symbol DAQmxReadAnalogF64 referenced in function NI6008_AnalogInput NI_6281\NI6281.obj
    error LNK2019: unresolved external symbol DAQmxCreateAIVoltageChan referenced in function NI6008_AnalogInput NI_6281\NI6281.obj
    error LNK2019: unresolved external symbol DAQmxReadDigitalLines referenced in function NI6008_DigitalInput NI_6281\NI6281.obj
    error LNK2019: unresolved external symbol DAQmxCreateDIChan referenced in function NI6008_DigitalInput NI_6281\NI6281.obj
    error LNK2019: unresolved external symbol DAQmxWriteDigitalLines referenced in function NI6008_DigitalOutput NI_6281\NI6281.obj
    error LNK2019: unresolved external symbol DAQmxCreateDOChan referenced in function NI6008_DigitalOutput NI_6281\NI6281.obj

    These, of course, are the functions OR that I use.  The NIDAQmx.lib has been added to the Input of the link property.

    Any help would be appreciated.

    Thank you

    -Neil shore

    Hi LaserShore,

    Think you that you added the 64-bit platform settings target according to this page? : http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/64bitcore/

    Already running 32-bit application? Have you changed references to the 64-bit version?

    You use Measurement Studio? If so some features are not supported with 64 bit.

    Also when you say that you have added the NIDAQmx.lib, did you follow this KB:http://digital.ni.com/public.nsf/allkb/38F67B28D995C6958625706E000C580C

Maybe you are looking for

  • Balance with base plate rear F555 problem

    I have a tripod, Sachtler S 18. It works very well with my F55. However when I use the Arri F5/F55 base plate, the camera is much too heavy at the bottom and there is no way I can balance the camera. I tried to add the Sachtler COG plate: it allows m

  • Cannot restart after the update

    Hi givepaulhelp, Since you was not able to continue the analysis as possible you have spyware or virus.  Here are a few options for scanning your system.  No one program can catch them all. Virus scan help http://windowshelp.Microsoft.com/Windows/en-

  • Problem with Windows Update (Vista, 32-bit)

    I continue to receive requests to install SP1 (KB936330). According to the story, I have three of them installed. But I can't find it when you use Control Panel - programs - installed - updated. My goal is to install SP2 (no sign of it in Windows Upd

  • ProBook 455 G1: Replacement AMD A4 4300 m with something faster

    Good evening everyone, I would like to know if it is possible to replace AMD A4 4300 m with something more powerful and if so, what would be the fastest CPU compatible.Have not tried if my A4 is welded, it is still under warranty for 2 more months. S

  • several customers behind peripheral pptp firewall/nat at vpn3015

    Hello I'll try the following: Win2K PC behind a modem to Lan 3com (making the nat) try to make a pptp connection to our vpn concentrator. A customer will always be to establish contact, but future clients will fail. The vpn concentrator has the follo