GetAdaptersAddresses undeclared identifier

Hi, I have a problem, call a Windows API GetAdaptersAddresses function in LabWindows/CVI 8.5.  I get a "identifier undeclared PIP_ADAPTER_ADDRESSES" compiler error even if I understood the winsock2.h and iphlpapi.h.  After reading the internet, it seems that the error of the linker is not related to the include files, but I need to add iphlpapi.lib to the list of modules I link.  In Visual Studio, which would be the project | Properties | The linker | Entry | Additional dependencies.  How do you do this in LabWindows/CVI?  My iphlpapi.lib is already included in the project.  Thank you.

intensive care unit,

The problem you are having, is that the Windows SDK that comes with CVI 8.5 is too old to include a definition for PIP_ADAPTER_ADDRESSES. You may need to upgrade to the version of FDS CVI 9.0 or later in order to get an SDK more up-to-date. Once you do, including all simply winsock2.h and iphlpapi.h in your program should be sufficient.

Luis

Tags: NI Software

Similar Questions

  • Undeclared identifier error for some methods of "PDFEdit_Layer".

    Hello

    I get errors for some methods of the PDFEdit_Layer,

    1 code-> PDEText pdeText = PDETextCreate();

    3 error C2065: 'PDETextCreateSELPROTO': undeclared identifier

    2. code-> sysFont = PDFindSysFont (& pdeFontAttrs,sizeof(PDEFontAttrs), 0);

    5 error C2065: 'PDFindSysFontSELPROTO': undeclared identifier

    3. code-> pdeFont = PDEFontCreateFromSysFont (sysFont, kPDEFontDoNotEmbed);

    9 error C2065: 'PDEFontCreateFromSysFontSELPROTO': undeclared identifier

    4. code-> pdeColorSpace = PDEColorSpaceCreateFromName (ASAtomFromString ("DeviceGray"));

    Error 11 error C2065: 'PDEColorSpaceCreateFromNameSELPROTO': undeclared identifier

    5. code-> PDETextAdd (pdeText, kPDETextRun, 0,(ASUns8 *) title, strlen (Title), pdeFont and gState,sizeof(gState), NULL, 0, & textMatrix, NULL);

    15 error C2065: 'PDETextAddSELPROTO': undeclared identifier

    Whatever such as header files, I'm the above errors.

    #include "CoreExpT.h".

    #include "PDSExpT.h".

    #include "PEExpT.h".

    #include "PERProcs.h".

    #include "CorCalls.h".

    #include "PDCalls.h".

    #include "PERCalls.h".

    #include "PEWCalls.h".

    #include "PDSExpT.h".

    #include "PSFCalls.h".

    #include "PDSysFontExpT.h".

    I've tried, including the headers above, then also I get errors as described above. Please let me know why - what is going on, I missed something?

    Please someone help me, thanks in advance.

    Kind regards

    Chetan.

    You have defined player settings?  There that sets

    tell the SDK can only use methods for drive - remove these!

  • ORA-19228: XPST0008 - identifier not declared when using more then a var.

    HI gentlemen,

    Given an XMLTYPE table with only one line. Under the root element, it has a header of <>and < body > where things inside the body has a different namespace. When I try to dig with the statement in p.SQL/ below, I always get

    SQL > @c:\xsl\p
    Z
    *
    FEHLER in line 10:
    ORA-19228: XPST0008 - nicht deklarierter identifier: Prafix 'j' lokaler name "(undeclared identifier)

    I have also tried to include a WHERE clause, he always complains with $j. When I use only a single variable, $i, that's OK. DB XML Developer's Guide includes examples that are very close to that - they run A1. Can you help me where I'm wrong?

    Thank you, best regards
    Miklós HERBOLY
    SELECT 
       XMLQuery('xquery version "1.0"; (: :)
       declare namespace n1="urn:ehd/001"; (: :)
       declare namespace n2="urn:ehd/go/001"; (: :)
       for $i in /n1:ehd/n1:header
    let $j := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
       return $i,$j'
       PASSING xml_document
       RETURNING CONTENT) as ziffer
      FROM z 
    /

    Hi Miklos,

    You need parentheses to indicate that you return the sequence of $i and $j:

    xquery version "1.0"; (: :)
    declare namespace n1="urn:ehd/001"; (: :)
    declare namespace n2="urn:ehd/go/001"; (: :)
    for $i in /n1:ehd/n1:header
    let $j := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
    return ($i, $j)
    

    or a shorter version (if there is only one header per document):

    xquery version "1.0"; (: :)
    declare namespace n1="urn:ehd/001"; (: :)
    declare namespace n2="urn:ehd/go/001"; (: :)
    (
      /n1:ehd/n1:header
    , /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
    )
    
  • Problem of Compilation cvirt

    Hello

    I
    Programme of the United Nations for the compiler wishes to pay get a DLL usable RT
    on a PXI case.

    Here's
    configuration of my: Labwindows cvi rt 6.1

    Voila
    the file that I can't seem to compile:

    #include
     
    #include
    #include
    #include
    #include
    #include "uut_sensordre_rt.h".
    #include "global.h".
    #include "init_test.h".
    #include "tache_execution_test.h".
    #include "tache_execution_test_util.h".
    #include "tache_surveillance.h".
    #include
    #include

    extern int CVIFUNC RTIsShuttingDown (void);
    public static int nb_thread = 20;
    void CVIFUNC_C RTmain (void)
    {

    int err = 0;
    public static int
    Fonction_tache_communication_ID = 0;
    public static int Fonction_tache_surveillance_ID
    = 0 ;
    public static int
    Fonction_tache_execution_test_ID = 0;

    HANDLE
    mainThreadhdl;
    If (InitCVIRTE (0, 0, 0) == 0)
    return;    / * of
    memory * /.

    / * your initialization code * /.
    GPRINT (printf ("Initialisation\n"));
    iteration = 75;

    Test_Fin = NOK;

    vg_TR_exit = 0;
    vg_TR_surveillance_init =
    TACHE_NO_INITIALISATION;
    vg_TR_communication_init =
    TACHE_NO_INITIALISATION;
    vg_TR_executionTest_init =
    TACHE_NO_INITIALISATION;
    vg_TR_Mode = MODE_INITIALISATION;

    creating a lock
    CmtNewLock (NULL, 0, & gMutex_etat_test);
    creating a lock

    CmtNewLock (NULL, 0, & gMutex_etat_mode);
    creating a lock
    CmtNewLock (NULL, 0, & gMutex_data_resultats);

    passage of creating a memory use to the
    MSG command
    CmtNewTSQ (10, sizeof (t_TR_msg_cmd_data),)
    OPT_TSQ_DYNAMIC_SIZE, & vg_TR_hdl_msg_cmd_set_queue);

    passage of creating a memory use to the
    test MSG command
    CmtNewTSQ (10, sizeof (t_TR_msg_cmd_data),)
    OPT_TSQ_DYNAMIC_SIZE, & vg_TR_hdl_cmd_test_set_queue);

    initialization of maps
    Init_test ();
       
    principal of for low priority passage
    mainThreadhdl = GetCurrentThread();
    SetThreadPriority (mainThreadhdl, THREAD_PRIORITY_LOWEST);
    //======================================
    ORGANIZING TASKS
    //======================================

    4 creating a pool tasks
    CmtNewThreadPool (4, & g_h_pool);

    creating communication spot low level
       
    ERR = CmtScheduleThreadPoolFunctionAdv (g_h_pool,
                                     
    Fonction_tache_communication, NULL,
    THREAD_PRIORITY_BELOW_NORMAL, NULL,
    EVENT_TP_THREAD_FUNCTION_END,
    NULL,
    RUN_IN_SCHEDULED_THREAD,
    (& Fonction_tache_communication_ID);

    monitoring of creating stain
    Normal level
    ERR = CmtScheduleThreadPoolFunctionAdv
    (g_h_pool,
    Fonction_tache_surveillance, NULL,
    THREAD_PRIORITY_NORMAL, NULL,
    EVENT_TP_THREAD_FUNCTION_END, NULL,
    RUN_IN_SCHEDULED_THREAD,
    (& Fonction_tache_surveillance_ID);
        
    creative task of execution tests of HIGHER level
               
                
    CmtScheduleThreadPoolFunctionAdv
    (g_h_pool,
    Fonction_tache_execution_test, NULL,
    THREAD_PRIORITY_HIGHEST, NULL,
    EVENT_TP_THREAD_FUNCTION_END, NULL,
    RUN_IN_SCHEDULED_THREAD,
    (& Fonction_tache_execution_test_ID);

    While (!.) RTIsShuttingDown ())
    {
    Sleep (1000);
    }
    vg_TR_exit = 1;
    While (nb_thread! = 0)
    {
    (CmtGetThreadPoolAttribute
    (g_h_pool, ATTR_TP_NUM_ACTIVE_THREADS, & nb_thread)) ;
    }

    / * your cleanup code * /.
    GPRINT (printf ("cleanup"));
    ERR = CmtDiscardThreadPool (g_h_pool);
    g_h_pool = 0;

    destruction of the lock
    CmtDiscardLock (gMutex_etat_test);
    CmtDiscardLock (gMutex_etat_mode);
    CmtDiscardLock (gMutex_data_resultats);

    destruction of the memory
    passage used for the results
    CmtDiscardTSQ
    (vg_TR_hdl_msg_cmd_set_queue);
         
    destruction of the memory
    passage used for the results
    CmtDiscardTSQ
    (vg_TR_hdl_cmd_test_set_queue);
    STOP cards
    Fin_Init_test ();
    CloseCVIRTE ();

    And
    This is the result of the compilation:

    Prototype of 90.7 missing
    (pour CmtNewThreadPool)

    97,11 missing prototype

    100,35 undeclared identifier
    'EVENT_TP_THREAD_FUNCTION_END '.

    101,35 undeclared identifier
    'RUN_IN_SCHEDULED_THREAD '.

    106,11 missing prototype

    122.5 missing prototype

    140,10 missing prototype

    140,48 undeclared identifier
    'ATTR_TP_NUM_ACTIVE_THREADS '.

    152,15
    Missing prototype

    The
    PROBLEM is probably the utility file.

    Have
    you an idea?

    Need
    He I reload CVI 6.1?

    Thank you

    Thank you

    Indeed it took to reload RT

    Kind regards

  • How to check if the box is checked or not?

    Is any function available in CVI to check whether a checkbox control is selected / checked or not?

    starting from the help file:

    LabWindows/CVI automatically generates the necessary header file whenever you save a .uir file.

    So: generate an include file, include it in your source code and in your source code, use only one such constants as defined in the include file. If you continue to receive undeclared identifiers, check if your code source if you failed to change the id of a panel or a control.

    Good luck.

  • The sample application BB10 NDK Gamepad of build error

    Hi all

    I got this error during sample application the build Gamepad:

    /Users/MyMac/BB10/Gamepad/main.c:322:34: error: 'SCREEN_DPAD_UP_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:322:34: note: each undeclared identifier is reported only once for each function it appears in
    /Users/MyMac/BB10/Gamepad/main.c:331:34: error: 'SCREEN_DPAD_DOWN_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:340:34: error: 'SCREEN_DPAD_LEFT_GAME_BUTTON' undeclared (first use in this function)
    make[2]: Leaving directory `/Users/MyMac/BB10/Gamepad/arm/o.le-v7'
    make[1]: Leaving directory `/Users/MyMac/BB10/Gamepad/arm'
    /Users/MyMac/BB10/Gamepad/main.c:349:34: error: 'SCREEN_DPAD_RIGHT_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:355:34: error: 'SCREEN_A_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:360:34: error: 'SCREEN_B_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:365:34: error: 'SCREEN_X_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:370:34: error: 'SCREEN_Y_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:376:34: error: 'SCREEN_L1_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:381:34: error: 'SCREEN_R1_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:387:35: error: 'SCREEN_MENU1_GAME_BUTTON' undeclared (first use in this function)
    /Users/MyMac/BB10/Gamepad/main.c:392:35: error: 'SCREEN_MENU2_GAME_BUTTON' undeclared (first use in this function)
    cc: /Applications/bbndk/host_10_0_9_284/darwin/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/cc1 error 1
    make[2]: *** [main.o] Error 1
    make[1]: *** [all] Error 2
    make: *** [all] Error 2
    

    Appreciate any help

    Thank you.

    Make sure that you use the latest NDK (10.0.9.1673). You will get these errors with previous versions of NDK.

  • Problems with XMLTABLE and XMLNAMESPACES

    Hello

    I have an XMLTYPE table. When I now want to query the data I get error ORA-19228: XPST0008 - undeclared identifier: local name prefix "sfa" "sfa:Contact"

    XML data:

    <? XML version = "1.0" encoding = "ISO-8859-15? >

    < version ftc: FATCA_OECD = "Chain" xsi: schemaLocation = "urn: oecd:ties:fatca:v1 " http://xmlns.Oracle.com/xdb/documentation/FatcaXML_v1.1.xsd "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:ftc = "urn: oecd:ties:fatca:v1" xmlns:sfa = "urn: oecd:ties:stffatcatypes:v1" > ""

    < ftc: MessageSpec >

    < sfa:TransmittingCountry > LI < / sfa:TransmittingCountry >

    < sfa:ReceivingCountry > U.S. < / sfa:ReceivingCountry >

    < sfa:MessageType > FATCA < / sfa:MessageType >

    < sfa:Contact > Alexander Zelzer < / sfa:Contact >

    < sfa:MessageRefId > 123456 < / sfa:MessageRefId >

    < sfa:CorrMessageRefId / >

    < sfa:ReportingPeriod > 2014 - 12 - 31 < / sfa:ReportingPeriod >

    < sfa:Timestamp > 2015-02-18 T 16: 38:02.000000 < / sfa:Timestamp >

    < / ftc: MessageSpec >

    < / ftc: FATCA_OECD >

    SQL query:

    SELECT msg.contact

    Of itx_ftc_fatca_oecd

    , XMLTABLE (xmlnamespaces ("urn: oecd:ties:fatca:v1' AS"ftc"," urn: oecd:ties:stffatcatypes:v1' AS "sfa"), ' / ftc: FATCA_OECD')

    PASSAGE object_value

    Messagespec COLUMNS XMLTYPE PATH ' / ftc: FATCA_OECD / ftc: MessageSpec') level 1

    , XMLTABLE ('/ ')

    PASSAGE level1.messagespec

    Msg of COLUMNS contact VARCHAR2 (38) PATH "sfa:Contact")

    ORDER BY 1;

    Has anyone an idea what is the problem?

    Thanks in advance.

    Kind regards

    Martin

    The result still contains namespace references while you are passing it in the second section XMLTABLE...

    WITH data
    AS ( SELECT XMLTYPE('
    
      
        LI
        US
        FATCA
        Alexander Zelzer
        123456
        
        2014-12-31
        2015-02-18T16:38:02.000000
      
    ' ) as CONTENT
        FROM dual
      )
    SELECT msg.contact
      FROM data tl
       , XMLTABLE(xmlnamespaces('urn:oecd:ties:fatca:v1' AS "ftc", 'urn:oecd:ties:stffatcatypes:v1' AS "sfa"),
                  '/ftc:FATCA_OECD'
                  PASSING tl.CONTENT
                  COLUMNS
                    messagespec XMLTYPE PATH '/ftc:FATCA_OECD/ftc:MessageSpec'
                  ) level1
       , XMLTABLE(xmlnamespaces('urn:oecd:ties:fatca:v1' AS "ftc", 'urn:oecd:ties:stffatcatypes:v1' AS "sfa"),
                  '/'
                  PASSING level1.messagespec
                  COLUMNS
                    contact     VARCHAR2(38) PATH 'sfa:Contact'
                 ) msg
    ORDER BY 1
    ;
    
    CONTACT
    --------------------------------------
    Alexander Zelzer
    
  • How to analyze data from XML with prefix?

    Hi people,

    I have a XML, the tags are prefixes. I would like to analyze using a select statement. Any ideas?

    [Sample XML | http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_or.cgi?ico=46972501]

    I tried this:
    select xml
     from
       (  select 
                httpuritype('wwwinfo.mfcr.cz/cgi-bin/ares/darv_or.cgi?ico=46972501').getXML() xml
          from dual
        );
    This just returns the XML code.


    select  x.ico,
            x.org_name
        from dual d
             ,XMLTABLE('/are:Ares_odpovedi/are:Odpoved/D:Vypis_OR'
                        PASSING httpuritype('http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_or.cgi?ico=46972501').getXML()
                        COLUMNS
                           ico varchar2(50) PATH 'D:ZAU/D:ICO'
                          ,org_name varchar2(200) PATH 'D:ZAU/D:OF'
                        )  x
       where rownum = 1
     
    ORA-19228: XPST0008 - undeclared identifier: prefix 'are' local-name 'are:Ares_odpovedi'
    No idea how just get all the details in columns?

    Thank you
    Tomas

    Add xmlnamespaces xmltable

    select  x.ico,
            x.org_name
        from XMLTABLE(
             xmlnamespaces('http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_answer_or/v_1.0.3' as "are"
             , 'http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_datatypes/v_1.0.3' as "D"),
             '/are:Ares_odpovedi/are:Odpoved/D:Vypis_OR'
                        PASSING httpuritype('http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_or.cgi?ico=46972501').getXML()
                        COLUMNS
                           ico varchar2(50) PATH 'D:ZAU/D:ICO'
                          ,org_name varchar2(200) PATH 'D:Vypis_OR/D:ZAU/D:OF'
                        )  x
       where rownum = 1
    

    not tested

  • How to pass variables from cursor to a job

    Hello

    begin
    for cur_1 in (select  tab1.c1  c1 from  tab1)
    loop 
    dbms_scheduler.create_job(......
    ..........
    job_type =>plsql_block,
    job_action => 'declare verrm varchar2(100); '||
                           ' begin   for cur_2 in (select col1,col2 from tab2)'||
                             'loop prc( cur_1. c1,cur2.col1,cur.col2  ); end loop;  end;' ,----- gettin gerror undeclared identifier cur_1.c1
    ........)               
    end loop;

    user8731258 wrote:

    When reading about dbms_parallel, I have seen examples where the task is running an sql statement.
    Now, can we run a pl sql also block?

    Why would you run a PL/SQL block in parallel?

    Yes, the DBMS_PARALLEL_EXECUTE. Run_Task() sql_stmt parameter can accept an anonymous PL/SQL block as statement. For example

    --// example of passing a PL/SQL anon block as statement
    declare
      ..
    begin
            ..code..
    
            parallelSql := 'declare
                                    t1      timestamp;
                            begin
                                    t1 := SysTimestamp;
                                    update foo_tab set obj_type = lower(obj_type)
                                    where rowid between :start_id and :end_id;
                                    ProcessLog( fromTime=>t1, toTime=>SysTimestamp, rowsProcessed=>SQL%RowCount );
                            end;';
    
            DBMS_PARALLEL_EXECUTE.Run_Task(
                    task_name => taskName,
                    sql_stmt => parallelSql,
                    language_flag => DBMS_SQL.NATIVE,
                    parallel_level => 5
            );
    
            ..code..
    end;
    

    However, if you want code PL/SQL real multithreaded (no SQL), then that can be done using a parallel pipeline table function (PL/SQL function).

    So, I'll go for dbms_Scheduler thing. But still when I'm stuck on how to pass the value of date to work...

    In the example I posted using DBMS_JOB - cursor loop identifies the days of treatment. The loop then call ScheduleJob() to schedule a task of process to date. This procedure should look something like the following:

    // schedules a job to run procedure ProcessDailyInvoices for the specified day
    create or replace procedure ScheduleJob( day date ) is
            jid             number;
            dateParam       varchar2(100) default 'to_date(''$DATE'',''$FORMAT'')';
            plsqlBlock      varchar2(1000);
    begin
            dateParam := replace( dateParam, '$DATE', to_char(day,'yyyy/mm/dd') );
            dateParam := replace( dateParam, '$FORMAT', 'yyyy/mm/dd' );
            plsqlBlock := 'begin ProcessDailyInvoices( day=>'||dateParam||' ); end;';
    
            DBMS_JOB.Submit(
                    job => jid,
                    next_date => sysdate,
                    what => plsqlBlock
            );
    end;
    
  • compilation error for the kernel to install VM Player 3.0 w / Ubuntu 9.10

    Recently, I performed a clean installation of Ubuntu 9.10 (kernel real time). I tried to install VM Player 3.0 (although received the same mistakes w / 2.5) and received the following errors during the recompilation of the kernel. I was running VM Player 2.5 w / Ubuntu 9.04 previously with no problems.

    All advice is appreciated.

    -mlandis

    This is the Pack I have installed.

    Mikee@poignetta:~$ ls *.bundle

    VMware-Player - 3.0.0 - 203739.x86_64.bundle

    Here's my kernel.

    Mikee@poignetta:~$ uname - a

    Linux poignetta 2.6.31 - 9 - rt #152 - Ubuntu SMP RT PREEMPT Thu Sep 15 13:22:24 UTC 2009 x86_64 GNU/Linux

    Here is the error of reconstruction of the kernel.

    Mikee@poignetta$ sudo vmplayer

    http://...

    Stopping VMware services:

    USB VMware arbitrator shall

    VM communication interface socket family is

    Virtual machine communication interface is

    Virtual machine monitor makes

    File system is blocking

    Using 2.6.x kernel build system.

    do: enter the directory ' / tmp/vmware-root/modules/vmmon-only '.

    do /lib/modules/2.6.31-9-rt/build/include/ - C... SUBDIRS = $PWD SRCROOT = $PWD. \

    MODULEBUILDDIR = modules

    make [1]: Entering directory ' / usr/src/linux-headers-2.6.31-9-rt'

    CC /tmp/vmware-root/modules/vmmon-only/linux/driver.o

    In file included from tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:42,

    from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:100:

    /tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:50:7: warning: "_MSC_VER" is not defined

    In file included from tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:42,

    from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:100:

    /tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:50:7: warning: "_MSC_VER" is not defined

    CC /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o

    CC /tmp/vmware-root/modules/vmmon-only/linux/hostif.o

    In file included from tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:42,

    from /tmp/vmware-root/modules/vmmon-only/linux/hostif.c:67:

    /tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:50:7: warning: "_MSC_VER" is not defined

    /tmp/vmware-root/modules/vmmon-only/linux/hostif.c: in function 'HostIFReadUptimeWork ':

    /tmp/vmware-root/modules/vmmon-only/linux/hostif.c:1944: warning: 'newUpBase' may be used uninitialized in this function

    CC /tmp/vmware-root/modules/vmmon-only/linux/iommu.o

    CC /tmp/vmware-root/modules/vmmon-only/common/comport.o

    CC /tmp/vmware-root/modules/vmmon-only/common/cpuid.o

    CC /tmp/vmware-root/modules/vmmon-only/common/hashFunc.o

    CC /tmp/vmware-root/modules/vmmon-only/common/memtrack.o

    CC /tmp/vmware-root/modules/vmmon-only/common/phystrack.o

    CC /tmp/vmware-root/modules/vmmon-only/common/task.o

    In file included from tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:42,

    from /tmp/vmware-root/modules/vmmon-only/common/task.c:50:

    /tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:50:7: warning: "_MSC_VER" is not defined

    CC /tmp/vmware-root/modules/vmmon-only/common/vmx86.o

    In file included from tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:42,

    from /tmp/vmware-root/modules/vmmon-only/common/vmx86.c:43:

    /tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:50:7: warning: "_MSC_VER" is not defined

    CC /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.o

    LD /tmp/vmware-root/modules/vmmon-only/vmmon.o

    Construction modules, step 2.

    MODPOST modules 1

    CC /tmp/vmware-root/modules/vmmon-only/vmmon.mod.o

    LD /tmp/vmware-root/modules/vmmon-only/vmmon.ko

    make [1]: leaving directory ' / usr/src/linux-headers-2.6.31-9-rt'

    make - c $PWD SRCROOT = $PWD. /. \

    MODULEBUILDDIR = postgeneration

    make [1]: entering directory ' / tmp/vmware-root/modules/vmmon-only '.

    make [1]: 'postgeneration' is up-to-date.

    make [1]: leaving directory ' / tmp/vmware-root/modules/vmmon-only '.

    CP f vmmon.ko. /... vmmon.o

    make: leaving directory ' / tmp/vmware-root/modules/vmmon-only '.

    Using 2.6.x kernel build system.

    make: entering directory ' / tmp/vmware-root/modules/vmnet-only»

    do /lib/modules/2.6.31-9-rt/build/include/ - C... SUBDIRS = $PWD SRCROOT = $PWD. \

    MODULEBUILDDIR = modules

    make [1]: Entering directory ' / usr/src/linux-headers-2.6.31-9-rt'

    CC /tmp/vmware-root/modules/vmnet-only/driver.o

    /tmp/vmware-root/modules/vmnet-only/driver.c:116: warning: data definition that has no type or storage class

    /tmp/vmware-root/modules/vmnet-only/driver.c:116: attention: by default, 'int' type in the declaration of 'DECLARE_MUTEX '.

    /tmp/vmware-root/modules/vmnet-only/driver.c:116: warning: parameter (without types) in the function declaration names

    CC /tmp/vmware-root/modules/vmnet-only/hub.o

    CC /tmp/vmware-root/modules/vmnet-only/userif.o

    CC /tmp/vmware-root/modules/vmnet-only/netif.o

    CC /tmp/vmware-root/modules/vmnet-only/bridge.o

    CC /tmp/vmware-root/modules/vmnet-only/filter.o

    /tmp/vmware-root/modules/vmnet-only/filter.c:79: attention: by default, 'int' type in the declaration of 'DECLARE_MUTEX '.

    /tmp/vmware-root/modules/vmnet-only/filter.c:79: warning: parameter (without types) in the function declaration names

    /tmp/vmware-root/modules/vmnet-only/filter.c: in function 'VNetFilter_HandleUserCall ':

    /tmp/vmware-root/modules/vmnet-only/filter.c:1085: error: 'filterIoctlSem' undeclared (first use in this function)

    /tmp/vmware-root/modules/vmnet-only/filter.c:1085: error: (each undeclared identifier is reported only once

    (/ tmp/vmware-root/modules/vmnet-only/filter.c:1085: error: for each function it appears in.)

    make [2]: * /tmp/vmware-root/modules/vmnet-only/filter.o error 1

    make [1]: * error 2

    make [1]: leaving directory ' / usr/src/linux-headers-2.6.31-9-rt'

    make: * http://vmnet.ko error 2

    make: leaving directory ' / tmp/vmware-root/modules/vmnet-only.

    Using 2.6.x kernel build system.

    make: entering directory ' / tmp/vmware-root/modules/vmblock-only»

    do /lib/modules/2.6.31-9-rt/build/include/ - C... SUBDIRS = $PWD SRCROOT = $PWD. \

    MODULEBUILDDIR = modules

    make [1]: Entering directory ' / usr/src/linux-headers-2.6.31-9-rt'

    CC /tmp/vmware-root/modules/vmblock-only/linux/block.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/control.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/dentry.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/file.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/inode.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/module.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/stubs.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/super.o

    LD /tmp/vmware-root/modules/vmblock-only/vmblock.o

    Construction modules, step 2.

    MODPOST modules 1

    CC /tmp/vmware-root/modules/vmblock-only/vmblock.mod.o

    LD /tmp/vmware-root/modules/vmblock-only/vmblock.ko

    make [1]: leaving directory ' / usr/src/linux-headers-2.6.31-9-rt'

    make - c $PWD SRCROOT = $PWD. /. \

    MODULEBUILDDIR = postgeneration

    make [1]: entering directory ' / tmp/vmware-root/modules/vmblock-only.

    make [1]: 'postgeneration' is up-to-date.

    make [1]: leaving directory ' / tmp/vmware-root/modules/vmblock-only.

    CP f vmblock.ko. /... vmblock.o

    make: leaving directory ' / tmp/vmware-root/modules/vmblock-only.

    Using 2.6.x kernel build system.

    do: enter the directory ' / tmp/vmware-root/modules/vmci-only.

    do /lib/modules/2.6.31-9-rt/build/include/ - C... SUBDIRS = $PWD SRCROOT = $PWD. \

    MODULEBUILDDIR = modules

    make [1]: Entering directory ' / usr/src/linux-headers-2.6.31-9-rt'

    CC /tmp/vmware-root/modules/vmci-only/linux/driver.o

    /tmp/vmware-root/modules/VMCI-only/Linux/driver.c: in function 'LinuxDriver_Open ':

    /tmp/vmware-root/modules/VMCI-only/Linux/driver.c:375: error: implicit declaration of function 'init_MUTEX '.

    make [2]: * /tmp/vmware-root/modules/vmci-only/linux/driver.o error 1

    make [1]: * error 2

    make [1]: leaving directory ' / usr/src/linux-headers-2.6.31-9-rt'

    make: * http://vmci.ko error 2

    make: leaving directory ' / tmp/vmware-root/modules/vmci-only.

    Using 2.6.x kernel build system.

    do: enter the directory ' / tmp/vmware-root/modules/vmci-only.

    do /lib/modules/2.6.31-9-rt/build/include/ - C... SUBDIRS = $PWD SRCROOT = $PWD. \

    MODULEBUILDDIR = modules

    make [1]: Entering directory ' / usr/src/linux-headers-2.6.31-9-rt'

    CC /tmp/vmware-root/modules/vmci-only/linux/driver.o

    /tmp/vmware-root/modules/VMCI-only/Linux/driver.c: in function 'LinuxDriver_Open ':

    /tmp/vmware-root/modules/VMCI-only/Linux/driver.c:375: error: implicit declaration of function 'init_MUTEX '.

    make [2]: * /tmp/vmware-root/modules/vmci-only/linux/driver.o error 1

    make [1]: * error 2

    make [1]: leaving directory ' / usr/src/linux-headers-2.6.31-9-rt'

    make: * http://vmci.ko error 2

    make: leaving directory ' / tmp/vmware-root/modules/vmci-only.

    Starting VMware services:

    USB VMware arbitrator shall

    Virtual machine monitor makes

    Virtual machine communication interface failed

    Family of VM communication interface socket failed

    File system is blocking

    Virtual Ethernet failed

    I managed to run VM Player 3.0.  I'm not 100% sure that the following items, which really made the difference, but here's what I do (as root):

    apt - get install linux-backports-modules-karmic-generic

    apt - get install build-essential

    apt - get remove vmware

    chmod a + x ~paul/downloads/VMware-Player-3.0.0-203739.i386.bundle

    ~Paul/downloads/VMware-Player-3.0.0-203739.i386.bundle

    Good luck.

  • Adobe Acrobat SDK Samples XI problem

    I have problems of generation and execution of the SDK examples.

    When built 'out of the box', the WebLinkDemo fails when obtaining the HFT for AcroColor.

    After some googling, I found Adobe Acrobat XI SDK Release Notes:

    http://wwwimages.adobe.com/www.adobe.com/content/Dam/Adobe/en/devnet/acrobat/pdfs/Release--acrobatxisdk notes. PDF

    Following their directions:

    deleted

    / D: PI_ACROCOLOR_VERSION = 0 X 00060000

    inserted

    /D READER_PLUGIN

    WebLinkDemo builds OK, but required SnippetRunner compilation with several errors as failure:

    (> c:\code\adobe\acrobat xi sdk\samples\snippetrunner\sources\snippets\shared\acetranspdetextcolorsnip.cpp(60): error C2065: 'PDEContentGetNumElemsSELPROTO': undeclared identifier

    SELPROTO seems to be the commot suffix.

    Any suggestions?
    Thank you!

    Why you read a PDF of the SDK Acrobat 8 ancient file rather than the current SDK?

    No, it is not enough to drive. You need Acrobat. Adobe wants to sell copies of Acrobat, they have the upper hand here.

    'Re missing you something. That you need Acrobat. Please play on player which allows in the SDK.

    Gasoline is

    -create the plug-in with Acrobat

    -ask Adobe Reader plug-ins license

    -If granted, fees

    -get a special key to Adobe

    -prepare the player plug-in

  • XPath for clob containing xml

    SQL > desc testload
    Name Type Nullable default comments
    -------- ---- -------- ------- --------
    TEST_XML CLOB Y


    Version
    -----------------
    11.2.0.1.0

    SQL > SELECT
    () 2 xmlcast
    3 xmlquery ('/ osd/Numeroclient ' from XMLTYPE (test_xml) as "d" content back)
    4 according to the NUMBER
    5)
    Testload 6
    7;

    SELECT
    (xmlcast)
    XMLQUERY ('/ osd/Numeroclient ' from XMLTYPE (test_xml) as "d" content back)
    under the NUMBER
    )
    of Testload

    ORA-19228: XPST0008 - undeclared identifier: prefix '.' local-name "

    A lot of mistakes in the XML structure.

    Here are a few:

    The element attribute value must be enclosed in quotation marks (double)-:

    
    

    should be

    
    

    These corresponding to no closing tags:

    
    

    Maybe this place?

    
    

    Also a problem with the 2nd tag which is not closed.

  • Wording of the PDF Page in Acrobat sdk

    We use the acrobat SDK to define the new wording of the page in a PDF with the method

    PDPageLabel PDPageLabelNew(pdDoc, NULL, NULL, NULL, 1);

    the code displays the error like below

    error C2065: 'PDPageLabelNewSELPROTO': undeclared identifier
    error C2065: 'PDPageLabelNewSEL': undeclared identifier

    Can what comments you do on this issue

    Kind regards

    Hervé

    Hello

    Use this it will work...

    PageLabel PDPageLabel;

    pageLabel is PDPageLabelNew (pdDoc, "D", NULL, NULL, point of departure);.

    If (PDPageLabelIsValid (PageLabel) == true)

    {

    PDDocSetPageLabel (pdDoc, 0, pageLabel);

    }

    The respect of

    Amith Sai

  • To browse file JavaScript SDK

    Dear there,

    I want to run a JavaScript through SDK (InDesign CS3).

    I got source to run JavaScript from this forum. (http://forums.adobe.com/thread/327375). As of them it works fine.

    However, my compiler produces the following error. Could you please enlighten me...

    ERRORS:
    =======

    ..\..\..\source\sdksamples\style\CUPActionComponent.cpp(123) : error C2065: 'RunScriptParams' : undeclared identifier
    ..\..\..\source\sdksamples\style\CUPActionComponent.cpp(123) : error C2146: syntax error : missing ';' before identifier 'params'
    ..\..\..\source\sdksamples\style\CUPActionComponent.cpp(123) : error C3861: 'params': identifier not found
    ..\..\..\source\sdksamples\style\CUPActionComponent.cpp(124) : error C2027: use of undefined type 'IScriptRunner'
            d:\idsdk\source\public\interfaces\architecture\IScriptUtils.h(39) : see declaration of 'IScriptRunner'
    ..\..\..\source\sdksamples\style\CUPActionComponent.cpp(124) : error C2039: 'RunFile' : is not a member of 'InterfacePtr<IFace>'
            with
            [
                IFace=IScriptRunner
            ]
    Thansk in advance.

    Saravanan.K


    Hi simo,.

    the inclusion of the "VCPlugInHeaders.h" header file must be the first in any source code file. Then you can also activate the precompilation of this header for the improvement of the compilation.

    Markus

  • How to compile and run a Pro * C under Unix program?

    Hello gurus,

    I'm new to the Pro * C. I just wrote a sample Pro * C program 'first.pc' to read some information in tables and print it on the screen.
    I do not know how to compile and run to see the release of my first program.

    After searching a lot, I tried following...
    -- Step 1 compile the program into .c program
     
    $->ls -lrt first.pc
    -rwxrwxrwx    1 sqloper4 staff          1069 Oct 31 03:39 first.pc
    $->proc first.pc
     
    Pro*C/C++: Release 8.1.7.0.0 - Production on Sat Oct 31 05:43:35 2009
     
    (c) Copyright 2000 Oracle Corporation.  All rights reserved.
     
    System default option values taken from: /oracle/app/oracle/product/8.1.7/precomp/admin/pcscfg.cfg
     
    $->ls -lrt first*
    -rwxrwxrwx    1 sqloper4 staff          1069 Oct 31 03:39 first.pc
    -rw-r--r--    1 sqloper4 staff             0 Oct 31 05:43 first.lis
    -rw-r--r--    1 sqloper4 staff          6648 Oct 31 05:43 first.c
     
    $->
     
    -- Step 2 Generate the .o file
     
    $->cc -I${ORACLE_HOME}/precomp/public -c first.c
    first.c: In function 'main':
    first.c:154: warning: return type of 'main' is not 'int'
     
    $->
     
    $->ls -lrt first*
    -rwxrwxrwx    1 sqloper4 staff          1069 Oct 31 03:39 first.pc
    -rw-r--r--    1 sqloper4 staff             0 Oct 31 05:43 first.lis
    -rw-r--r--    1 sqloper4 staff          6648 Oct 31 05:43 first.c
    -rw-r--r--    1 sqloper4 staff          3709 Oct 31 05:45 first.o
     
    $->
     
    -- Step 3 After that link the .o to libraries and produce the exe
     
    $->cc -o exe_name -L $ORACLE_HOME/lib -lclntsh
    ld: 0711-317 ERROR: Undefined symbol: .main
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    collect2: ld returned 8 exit status
     
    $->
     
    $->ls -lrt first*
    -rwxrwxrwx    1 sqloper4 staff          1069 Oct 31 03:39 first.pc
    -rw-r--r--    1 sqloper4 staff             0 Oct 31 05:43 first.lis
    -rw-r--r--    1 sqloper4 staff          6648 Oct 31 05:43 first.c
    -rw-r--r--    1 sqloper4 staff          3709 Oct 31 05:45 first.o
    $->
    I also tried steps below after some time thanks to the new program
    $->ls -lrt first*
    -rwxrwxrwx    1 sqloper4 staff          1069 Oct 31 03:39 first.pc
    $->
    $->proc first.pc
    
    Pro*C/C++: Release 8.1.7.0.0 - Production on Tue Nov 3 05:42:14 2009
    
    (c) Copyright 2000 Oracle Corporation.  All rights reserved.
    
    System default option values taken from: /oracle/app/oracle/product/8.1.7/precomp/admin/pcscfg.cfg
    
    $->cc first.c
    first.c:142:19: error: sqlca.h: A file or directory in the path name does not exist.
    first.c: In function 'main':
    first.c:170: error: 'sqlca' undeclared (first use in this function)
    first.c:170: error: (Each undeclared identifier is reported only once
    first.c:170: error: for each function it appears in.)
    first.c:154: warning: return type of 'main' is not 'int'
    first.c: In function 'sqlerror':
    first.c:260: error: 'sqlca' undeclared (first use in this function)
    $->
    Can someone help me on above errors?

    After all, above yet I don't know how to proceed and "run" the program.
    Could you please help me with the steps 'Compile and run' a Pro * C program?

    Oracle DB Version: Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    OS: Unix


    Thanks in advance!

    Published by: Learning.Oracle on November 3, 2009 17:13

    Hello

    -lsql10

    Which specifies the library to version 10, but it seems that you have your first assignment 8.1.7.

    You will need to look in your lib directory and see what we call the file in 8.1.7 - it's been too long and I don't remember the exact name.

    Kind regards

    Mark

Maybe you are looking for