Environment Variables for Visual Basic Clients

How does one set the environment variables when writing clients in Visual Basic.
I would like the set the variables TUXDIR, WSNADDR etc at runtime, instead of
setting them in the Control Panel
Thanks

Hello,
I don't know too much about Visual Basic, but if you can bind to the Tuxedo C
functions from VB I'd suggest you simply call the tuxputenv() function a couple
of times to setup the environment for your process.
Hope this helps,
/Per
"Gaurang" <[email protected]> wrote:
>
How does one set the environment variables when writing clients in Visual
Basic.
I would like the set the variables TUXDIR, WSNADDR etc at runtime, instead
of
setting them in the Control Panel
Thanks

Similar Messages

  • NI Measurement Studio UI components for Visual Basic 6.0 message box

    Hey All,
    North West Quality Analyst was recently installed on my LabVIEW development machine. Whenever I launch NWQA I get a dialog box to install "NI Measurement Studio UI Components for Visual Basic 6.0" for program called "Program Name."
    I cancel out of the install and I can use NWQA just fine. However, I would like to eliminate the install attempt. Any ideas on how to do that?
    I've tried to find the installer file on the Distribution discs, but on the two that I thought it would be on, "Measurement Studio Enterprise Support for Visual Studio 6.0" and "Measurement Studio Enterprise Edition" the file named "MStudioUIDemo.msi" was not found.
    Thanks,
    -Andrew

    Below is the text from the event viewer warning...
    Detection of product '{7B0F253A-C7A2-4335-B041-99868E9EDEE8}', feature 'UI_Controls', component '{A44FC66B-252B-11D4-A77B-00104B6CE77D}' failed. The resource 'C:\WINNT\system32\CWHlpBtn.ocx' does not exist.
    I have lots of stuff installed on the computer... MS Office, Codewarrior, Roxio, IE, MatLAB, etc.
    Looking under MAX, I have the following NI software installed.
    LabVIEW 6.1 (Advanced Analysis, Application Builder, Database Connectivity Toolset), 7.1 (Advanced Analysis, Application Builder), Runtime 6.0, 6.1, 7.0, 7.1, MAX 3.1.1.3003, NI-488.2 2.20, NI-CAN 2.2f2, NI-DSA, NI-IMAQ, NI-Motion, NI-PAL, NI-Switch, NI-USI, NI-VISA 3.2, Measurement Studio 6.0 (For Visual Basic(ActiveX User Interface, ActiveX 3D Graph, ActiveX DataSocket, ActiveX IMAQ))
    The Dell box is running Window's 2000.
    I found a listing under "Computer Management" -> System Information -> Software Environment -> Loaded Modules
    that seems to have all the installed apps and such. I can send that to you privately if you desire.
    Thanks,
    -Andrew

  • Change the environment variables for sid adm failed

    Hi Experts,
    I have installed ECC HA on AIX/ORACLE
    now i want to change the environment variables for the qr1adm user at the standby node
    i tried to change the /home/qr1adm/.profile with command
    vi  /home/qr1adm/.profile  it is changed  and i saved this changes.
    now I login with qr1adm user and i executed this command
    env |more
    it comes with the old values
    i don't know why?
    and if i oppened the .profile file i'm finding the new values
    So could you please tell me how can i change the environment variable for qr1adm user
    Thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 9:08 AM

    Thanks Sridhar ,
    which hostname?
    for example i have
    .dbenv_R3QASsvc.csh
    .sapenv_KFGKWERPR303.csh
    i want to tell you that R3QASsvc is the virtual hostname
    and KFGKWERPR303 is the name of the primary node A
    and the phiscal host name of node B is KFGKWERPR307
    so which one should i change it?
    thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 11:59 AM

  • How do I print the displayed graph? I am using Measurement Studio for Visual Basic.

    a

    It is true that calling the PrintForm method is the easiest way to print your graph. However, if you wish to print only the graph, and not the rest of your form, there is a way to do this also.
    The CWGraph control, and some other CW controls, supports the ControlImage method which returns a Windows metafile containing an image of the graph. You can then send this image to your printer using environment-specific printer commands.
    In Visual Basic, use the Printer.PaintPicture command to send the metafile, and top and left coordinates to the printer. Then call Printer.EndDoc to flush the job to the printer:
    Printer.PaintPicture CWGraph1.ControlImage, 0, 0
    Printer.EndDoc
    In the above code, the second and third parameters specify the position of the image o
    n the page; you can also enlarge or shrink the image by specifying width and height. You may want to take a look at the Visual Basic PaintPicture function help for more details on this function.
    J.R. Allen

  • Build error on using  environment variable for  CS5 on Mac

    I have created a sample project using dollyx on Mac for CS5 . I have used an environment variable and defined it in Source tree of XCode preferences.
    I am using snow leapard  and my XCode version is 3.2.2 .
    I have defined variable as IDSDK7  for /idsdk7 (which is my SDK directory). I am creating project outside SDK . While creating project with DollyX  , I am giving  SDK's path as $(IDSDK7) which is absolute path and not relative with respect to the project .
    I am getting many build errors  -----
    /idsdk7/external/afl/includes/AErrors.h:31:0 /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    /idsdk7/source/public/includes/K2Debugging.h:53:0 /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    /idsdk7/source/public/includes/PMString.h:34:0 /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:120:0 /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196:0 /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/WideString.h:322:0 /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751:0 /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/IDFile.h:385:0 /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/InterfacePtr.h:506:0 /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/K2Vector.h:241:0 /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /CS5Test/Prj/../Source/CTActionComponent.cpp:0:0 /CS5Test/Prj/../Source/CTActionComponent.cpp: At global scope:
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than the type of its field 'CTActionComponent::<anonymous>'
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than its base 'CActionComponent'
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o ../Source/CTNoStrip.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTNoStrip.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o ../Source/CTID.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTID.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypoint.o /idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypo int.o
    i686-apple-darwin10-gcc-4.2.1: /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp: No such file or directory
    i686-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file has no effect
    i686-apple-darwin10-gcc-4.2.1: no input files
    Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
    Without using environment variable everything works fine . (i.e when I give SDK's dir path like ../../  i.e relative to my project)

    There is workaround : http://stackoverflow.com/questions/12629395/weblogic-using-environment-variable-double-quotes-in-arguments-in-server
    Just posting here for reference. Let's see if we get a different answer from anyone else.

  • Environment Variables for EBS 12.1

    Hello,
    I'm trying to install the Oracle EBS 12 into my machine and i'm wondering if i need to setup environment variables in the bash_profile. If i should configure this, please tell me what are those.
    Thanks
    AJ

    Hi Aj,
    You do not have to setup any environment variables, But you have to make sue you follow all the pre-requisites befor installing R12
    Depending on you operating system please see
    761566.1 - Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64
    761564.1 - Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86
    Thanks

  • The NLS_LANG environment variable for Form Builder 10g on Linux

    Hi,
    I have installed Oracle Developer Suite 10g on Linux Enterprise AS4 successfully,and set environment variable NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK",LANG="zh_CN.UTF-8".When i executed the following: /home/oracle/Orant/bin/frmbld
    I got the error as:
    X Error of failed request:BadFont(invalid Fond parameter)
    Major opcode of failed request:56(X_ChangeGC)
    Resource id in failed request:Ox2c000af
    Serial number of failed request:3376
    Current serial number in output stream 3517
    FRM-18122: ’Form Builder Debugger.
    If i delete the NLS_LANG environment variable,the Form Builder can be running,but i can't keyboard input[b] chinese characters in the PL/SQL Editor.
    I don't know how to solve the problem,anybody can help me?

    Hello Howard,
    Check out the following link here you can find your desired NLS parameters.
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    And about the NLS_LANG for developer why you want to create for developer. Its is already there in REGISTRY. Just seaching in developer registry you can find there.
    how do I set more than 1 at a time.
    You can set only one NLS_LANG parameter at a time.
    -Ammad
    Edited by: Ammad Ahmed on Apr 15, 2010 8:52 PM

  • Can a CIN be written for Visual Basic code

    I've read about C code and CIN usage and seen references to other
    languages such as Visual Basic (Visual Studio- don't have NET yet).
    Is the only way to create a dll?

    Don't confuse a CIN (Code Interface Node) with the Call Library Function Node in which you interface to a dll. A CIN is a c language function only. The Call Library Function Node can be used for any dll in which the parameters and calling conventions are something LabVIEW can handle. You can create these dll's which c, C++, VB, Delphi, etc. The pdf document "Using External Code in LabVIEW" that is part of the shipping documentation explains the differences between the two. You can also find app notes and example code here that might help.

  • Using the General DAQ Event control for Visual Basic

    HardwareCI_6711
    Software:Visual Basic
    running Windows 2000
    I'm trying to add the dacevent.ocx to my project and it won't install. I read off of http://digital.ni.com/public.nsf/3efedde4322fef198​62567740067f3cc/4dc40c5d3ff5e7cc862564a6007cf5c1?O​penDocument that the OC30.dll is required to do this. I can't find it on my system and I'm thinking that is why the ocx file won't load. Where can I find this dll? Are there any other requirements for adding the control? I may also be trying to install it the wrong way: I am just using the open file command in my project and selecting daqevent.ocx from the nidaq folder in WINNT. Any help would be much appreciated, thanks.

    Nevermind, I found it. And I was opening it wrong. I think I had actually already installed it as a reference and just forgot to add it to the components toolbar.
    ... wow, some days...

  • Environment variables for Java

    Hi,
    I installed jdk1.6.0_02 from Sun, and set the following environment variables:
    export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:*/home/username/jdk1.6.0_02/bin*
    export LD_LIBRARY_PATH=/home/username/jdk1.6.0_02/lib
    export JAVA_HOME=/home/username/jdk1.6.0_0
    I issue the following commands:
    which javac
    */home/username/jdk1.6.0_02/bin/javac*
    which java
    */usr/bin/java*
    why is it referring to */usr/bin/java* instead of */home/username/jdk1.6.0_02/bin/java*
    How can I solve this problem under Ubuntu 8.04.
    Thank you in advance,
    --Blaise
    Edited by: Blaize on Jul 19, 2008 5:49 AM

    Blaize wrote:
    Ok */ust/bin* is needed in the PATH. Why it affected java but not javac then?
    Provide an instructive solution or an instructive comment if you have.I should have thought it would have been fairly obvious that it was because javac was not in /usr/bin (and that it would have been just as easy to be certain, i.e. type "ls /usr/bin/javac"), but I guess not.
    I also would have thought, that it should be fairly obvious that a search path will always be read in a specific order (after all that is one of the reasons to have one, so that command searches aren't random), and, extrapolating from there, that it should be fairly obvious, considering the problem observed, that that search order was from left to right, but again, I guess not.
    Use your head for something other than a paper weight, and maybe you wouldn't need to become either defensive or aggresive, but, once again, that must be something that's beyond you.
    Learn how to type "How to configure path environment variable" into Google, and maybe the same would apply, but, once again, that is probably something that's beyond you.

  • Environment variables for j2ee1.4sdk on windows xp home

    Hello,
    I have just installed J2EE 1.4 SDK on Microsoft Windows XP Home, and everything went fine. I can start the Apache Server and run the demos. But I installed it to be able to compile own code!
    So now abaout my problem: The installation guide says I should set some environment variables. But I dont know what paths to set the variables to!
    The installation program has created a directory "C:\Sun". That directory contains only one subdirectory: "C:\Sund\AppServer". In that directory are, among others, a subdirectoy "bin" which includes some ".bat" files like "asant.bat", and a subdirectory "jdk", which also includes an own subdirectory "bin" with the well-known executables "java.exe", "javac.exe" and some more executables.
    What environment variables do I have to set, and to which values??? "http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html" says:
    In order to run the asant scripts, you must configure your environment and properties files as follows:
    * Add <JAVA_HOME>/bin to the front of your path.
    * Add <J2EE_HOME>/bin and <J2EE_HOME>/share/bin to the front of your path so that J2EE 1.4 Application Server scripts (asadmin, asant, deploytool, and wscompile) override other installations.
    * Set the j2ee.home property in the file <INSTALL>/j2eetutorial14/examples/common/build.properties to the location of your J2EE Application Server installation. The build process uses the j2ee.home property to include the J2EE library archive, <J2EE_HOME>/lib/j2ee.jar, in the classpath. If you wish to use an IDE or the javac compiler to build J2EE applications, you must add this JAR to your classpath.
    - so do I only have to set the %PATH% variable or also %CLASSPATH% manually?
    - what directories do I have to set the variables to according to my directory structure as described above?
    Thanks in advance! :)
    yours sincerely,
    Stefan

    Instructions you are reading are relevant for J2EE 1.4 tutorial samples - if you want to compile and deploy your own code you don't have to go through all the steps described in tutorial documentation.
    Based on the information you provided about your installation you should do the following in order to compile your own code:
    * add C:\Sun\AppServer\jdk\bin;C:\Sun\AppServer\bin; at the beginning of your existing PATH
    (you don't have to add C:\Sun\AppServer\share\bin for the simple reason that it does not exist anymore in this release and its content got moved into C:\Sun\AppServer\bin)
    * in order to compile your code, you must make sure that C:\Sun\AppServer\lib\j2ee.jar is in your classpath - how are you going to achieve that depends on the development environment you are using
    Hope this helps...

  • WebForms - Accessing Environment Variable on a Windows Client

    Hi. We access a Windows Environment Variable using Client-Server Forms 6i. We do this as follows:
    Tool_Env.GetVar('ALLUSERSPROFILE', myPath);
    message(myPath);This returns the value 'c:\documents and settings\all users' on Windows XP.
    This returns the value 'c:\programdata' on Windows 7.
    We'd like to keep similar logic in this form once it's migrated to Web Forms. Is there a way to access this 'allusersprofile' environment variable (or any environment variable to determine whether the user is XP or Win7) from a web form running our UNIX server? Maybe somehow using WebUtil or something?
    Any suggestions would be greatly appreciated. Thanks.

    WebUtil enable your form then do this:
    message (CLIENT_WIN_API_ENVIRONMENT.Get_Environment_string('allusersprofile'));To get the Windows version, do this:
    message(CLIENT_WIN_API_ENVIRONMENT.Get_Windows_Version);.
    Edited by: Michael Ferrante on May 23, 2012 5:06 PM

  • Environment variables for SQLPLUS

    I am unable to connect to SQLPLUS..What are the environment variables i have to set in .profile for connecting SQLPLUS....
    Thanks

    Hmmmm
    Make sure ORACLE_HOME is set.
    export ORACLE_HOME=somedirectory/oracle/product/10.2.0/db_1
    could easily be client_1. Those tend to be the defaults. I have seen /ora01/app/oracle used in the beginning. /u01. It all depends.
    Once set, then update your path to have the binaries directory.
    export PATH=$PATH:$ORACLE_HOME/bin
    Source it as the oracle user.
    . ~/.profile
    Then sqlplus /nolog
    connect username/password@tnsentry

  • WinPE Environment Variable for Boot Media

    I would like to reference a file located on a WinPE CD after the Preinstall Environment is loaded.  Is there an Environment Variable that will allow me to directly access the PE disk?

    Got a great answer over at Stack Overflow!  If the MediaType property doesn't work for you (if there is more than one removable disk) you could potentially use the VolumeName property.  The solution ended up being a startnet.cmd with just the wpeinit command and a call out to this VBS.  After the VBS detects the booted disk, I sent the drive letter back out to the imaging CMD script as a parameter.
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colDisks = objWMIService.ExecQuery("Select * from Win32_LogicalDisk where MediaType = 2")
    For Each objDisk in colDisks
        Wscript.Echo objDisk.DeviceID & objDisk.Description
    Next

  • Environment Variables for Linux

    Hi All
    I am trying to set the Environement Variables on RHEL 5.2(64 Bit) for SM 7.0 Installation
    - I have installed the RPM "IBMJava2-AMD64-142-SDK-1.4.2-11.0.x86_64.rpm"
    - I have set the Environment Variable in .bash_profile file as below:
    export JAVA_HOME=/opt/IBMJava2-amd64-142
    expot PATH=$JAVA_HOME/bin:$PATH
    Logged out of root and logged in, but I am not able to see the correct JAVA -Version
    Its still showing the GNU version.
    Can you please let me know that was correct ?
    Thanks
    Sri

    You can simply use those commands in the shell that is open and in which you want to start the installation. There's no need to make this permanent for user "root".
    Sapinst will configure the new users correctly with the correct PATH.
    Markus

Maybe you are looking for