OO4O for C++ Class Library on UNIX?

The documentation says that there is no need to use the OLE development kit for C++ classes. Does this mean that the OLE layer is implemented within the C++ classes, and thus OO4O can be run under UNIX?
(Sorry, I don't know much about Windows).

No. You still need to have OLE2 on the machine as OO4O will use these APIs. Also, the libraries are in Microsoft format.

Similar Messages

  • JRockit H27.2.1 for Harmony Class Library released now

    JROCKIT H27.2.1 FOR HARMONY CLASS LIBRARY RELEASED NOW
    BEA has released a 32-bit partial implementation of the Java Standard Edition Version 5 Specification for Windows on the Intel architecture that will work with the Apache Harmony Class Library for evaluation purposes.
    DOWNLOAD(S) AND VERSION(S)
    The JRockit H27.2.1 version has been tested with the Apache Harmony Class Library hdk-r487452 version.
    * JRockit H27.2.1 (http://dev2dev.bea.com/jrockit/jrockitVM)
    * Apache Harmony Class Library hdk-r487452 (http://people.apache.org/builds/harmony/snapshots)
    DISCLAIMER
    JRockit H27.2.1 is an experimental release for evaluation purposes only.
    BEA will not support this VM. BEA does not guarantee updates or service packs to this VM. The supplied class library implementation is incomplete and not Java compatible. Use H27.2.1 on your own risk.
    This BEA JRockit VM is not a part of the Apache Harmony project.
    BEA will follow up issues and questions regarding this release at this forum as time allows, but cannot guarantee responsiveness.
    HOW TO INSTALL
    * Download the Apache Harmony Class Library hdk from http://harmony.apache.org
    Unpack this to a location of your choice.
    * Locate the directory <path-to-jre>/bin. Preferably rename or remove the subdirectory 'default' (this is not required but recommended)
    * Download JRockit H27.2.1 from http://dev2dev.bea.com/jrockit/jrockitVM
    Unpack JRockit H27.2.1 to <path-to-jre>. You should now have a new subdirectory named 'default' in the 'bin' directory.
    * Verify by running '<path-to-jre>/bin/java -version'. If the program reports running JRockit this means the product is now installed.
    KNOWN ISSUES
    * There is no bytecode verifier supplied with JRockit for Harmony.
    * The core class library provided by JRockit for Harmony is not java compliant, nor is it a complete implementation of J2SE 5.
    * There is no support for java.lang.management.
    * There is no support for extended JRockit tools (such as management console).
    * There is no support for debugging via JDI. JRockit for Harmony contains an implementation of JVMTI (Java Tools and Management Interface), but no bridge for JDI.?

    See the documentation on how to disable optimizations for just a single method: http://e-docs.bea.com/jrockit/geninfo/diagnos/crash.html#wp1002526
    If you need a fix, please open a support case with BEA.
    Thanks,
    /Staffan

  • Classpath setting for oracle classes 12 in unix environment

    hi all,
    i am trying to exceute java program with JDBC statements in it. I am running the code on a remote machine which has both JDK1.4 and oracle 9.i installed .I am accessing the remote machine through PUTTY .can any one suggest how to set the classpath in UNIX environment for oracle.
    Thanks

    Same way you do it else where:
    java -cp <classpath>

  • OO4O & C++ : COM or class library?

    Hi,
    What do you choose when using OO4O in C++? Do you use raw COM calls, or do you use the OO4O C++ library?
    I haven't seen much talks about the OO4O C++ library here, or anywhere else on the net.
    Thanks

    The C++ class library is certainly the easiest route to take. You should find the OO4O help file sufficent for reference purposes.
    I have not come across anything that you can do using the COM interface directly that you can not do using the C++ library (except blob handling way back in version 3.3.0.0.0)

  • How to insert null in C++ Class library

    I am using oo4o Class library. I am inserting arrays into the database
    This is my code (it is simplified):
    // C++ Code
    OStartup();
    oRes = m_o_Session.Open(); // m_o_Session is OSession // oRes is oresult
    oRes = m_o_db.Open(m_o_Session,sSource,sUser,sPassword); // m_o_db is ODatabase
    oRes = m_o_db.BeginTrans();
    // the insert proccess
    // Add Params
    OParameterCollection oParamCol = oDB.GetParameters();
    OParamArray o_NUM_INDEX_Ary = oParamCol.AddTable("xi_lv_NUM_INDEX",OPARAMETER_INVAR,OTYPE_NUMBER,10);
    OParamArray o_TEXT_Ary = oParamCol.AddTable("xi_sv_TEXT",OPARAMETER_INVAR,OTYPE_VARCHAR2,10,250);
    OParamArray o_NUMBER_OPT_Ary = oParamCol.AddTable("xi_dv_NUMBER_OPT",OPARAMETER_INVAR,OTYPE_NUMBER,10);
    for(int i =0;i<10;i++){
    o_NUM_INDEX_Ary.SetValue(i,i);
    o_TEXT_Ary.SetValue("asdasd",i);
    o_NUMBER_OPT_Ary.SetValue(??????,i);
    oRes = oDB.ExecuteSQL("INSERT INTO GEN_TABLE_TEST_T (NUM_INDEX,TEXT,NUMBER_OPT) VALUES (:xi_lv_NUM_INDEX,:xi_sv_TEXT,:xi_dv_NUMBER_OPT)");
    oParamCol.Remove("xi_lv_NUM_INDEX");
    oParamCol.Remove("xi_sv_TEXT");
    oParamCol.Remove("xi_dv_NUMBER_OPT");
    oRes = m_o_db.CommitTrans();
    oRes = m_o_db.Close();
    m_o_Session.Close();
    OShutdown();
    my question is where I marked ?????? I want to insert null to a numeric field
    I tried to put NULL instead of ?????? - does not work
    I tried to put OValue initialized with null instead of ?????? - does not work
    and I need to send him in the insert Sql because sometimes it does not null and i have to give him value.
    thanks is advance
    Yoav

    Just create an empty OValue object:
    OValue nullv; // construct null value
    then call the appropriate SetValue method...
    xxx.SetValue(nullv);
    Should do it.

  • How can i change the class in the Class Library project to be static or public so i can use it from the windows application project ?

    First i know that when i make any changes to the class library project i need to rebuild the project then to remove the Capture.dll from the TestScreenshot project and then to add again the updated Capture.dll
    The problem for example in this case i'm trying to use a public static variable i add in the DXHookD3D9.
    In the DXHookD3D9 i added this public static variable:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    //using SlimDX.Direct3D9;
    using EasyHook;
    using System.Runtime.InteropServices;
    using System.IO;
    using System.Threading;
    using System.Drawing;
    using Capture.Interface;
    using SharpDX.Direct3D9;
    namespace Capture.Hook
    internal class DXHookD3D9: BaseDXHook
    public DXHookD3D9(CaptureInterface ssInterface)
    : base(ssInterface)
    LocalHook Direct3DDevice_EndSceneHook = null;
    LocalHook Direct3DDevice_ResetHook = null;
    LocalHook Direct3DDevice_PresentHook = null;
    LocalHook Direct3DDeviceEx_PresentExHook = null;
    object _lockRenderTarget = new object();
    Surface _renderTarget;
    public static decimal framesperhourtodisplay = 0;
    protected override string HookName
    get
    return "DXHookD3D9";
    List<IntPtr> id3dDeviceFunctionAddresses = new List<IntPtr>(
    framesperhourtodisplay
    The problem is i can't even get to the Capture.Hook namespace and not to the DXHookD3D9 from the TestScreenshot application window project.
    This is a screenshot:
    For example fro the FramesPerSecond class i can use it get to it from the windows forms application.
    namespace Capture.Hook
    /// <summary>
    /// Used to determine the FPS
    /// </summary>
    public class FramesPerSecond
    int _frames = 0;
    int _lastTickCount = 0;
    float _lastFrameRate = 0;
    Since it's public i guess.
    But if i will change the DXHookD3D9 class from internal to public:
    public class DXHookD3D9: BaseDXHook
    I will get error on the DXHookD3D9: 
    Error 1
    Inconsistent accessibility: base class 'Capture.Hook.BaseDXHook' is less accessible than class 'Capture.Hook.DXHookD3D9'
    And the BaseDXHook class:
    namespace Capture.Hook
    internal abstract class BaseDXHook: IDXHook
    protected readonly ClientCaptureInterfaceEventProxy InterfaceEventProxy = new ClientCaptureInterfaceEventProxy();
    public BaseDXHook(CaptureInterface ssInterface)
    this.Interface = ssInterface;
    this.Timer = new Stopwatch();
    this.Timer.Start();
    this.FPS = new FramesPerSecond();
    Interface.ScreenshotRequested += InterfaceEventProxy.ScreenshotRequestedProxyHandler;
    Interface.DisplayText += InterfaceEventProxy.DisplayTextProxyHandler;
    InterfaceEventProxy.ScreenshotRequested += new ScreenshotRequestedEvent(InterfaceEventProxy_ScreenshotRequested);
    InterfaceEventProxy.DisplayText += new DisplayTextEvent(InterfaceEventProxy_DisplayText);
    ~BaseDXHook()
    Dispose(false);
    How can i solve it so i can use the variable framesperhourtodisplay in the DXHookD3D9 class with the TestScreenshot windows forms application ?

    Hi,
    I dont know if it will work here, since I dont know the complete structure, but the base call must be public, if the derived class is public, so the base class is at least as accessible as the derived class.
    Try make the base class public. (And maybe the base-class IDXHook of the base also...)
    Or use a different approach and make only the properties public that are needed to be public by adding an extra class...
    A structure could look like:(you need to create a class thats public in your dll and expose a property, and set this property in the internal class...)
    In the Accessing class (here Form1)
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    C c = new C();
    MessageBox.Show(B.F.ToString());
    and in the class Lib:
    internal class A
    public A()
    B.F = DateTime.Now.Millisecond;
    public class B
    public static int F { get; set; }
    public class C
    public C()
    A a = new A();
    (add a referenc to the class lib from the accessing project)
    Regards,
      Thorsten

  • Compilation Error for import classes not found in generated Proxy Class

    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

    Hi,
    I resolved the other errors by changing all references from com.bea.jcom.Variant
    etc to com.linar.jintegra.class name..all were present under the com.linar.jintegra
    package.
    Thank you all anyways,
    Regards,
    rahul
    "Rahul Srivastava" <[email protected]> wrote:
    >
    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling
    the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch
    class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used
    by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found
    inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface
    with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch
    to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the
    COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

  • I prefer to arrange my photos by title but when I shut down Iphoto, my photos rearrange by date.  This is not acceptable for my growing library of snanned black and white ancestral photos. How do I get photos in events to stay in place ?

    I prefer to arrange my photos by title but when I shut down Iphoto, my photos rearrange by date.  This is not acceptable for my growing library of snanned black and white ancestral photos. How do I get photos in events to stay in place ?

    I actually am illiterate on the use of the finder to to view photos in folders.  I guess I will go to a class at the local Apple store for a lesson on the uses of finder .
    My method of viewing my photos are through events in I photo.
    1. Download  from camera or scan  in from old photos.
    2  I organize photos into events by occasion, or happenings in a certain year, or a group of photos with memorabilia of a certain person from childhood and on. etc.
    3.  Because Iphoto does not allow rearranging as I was able to do in my old PC with Corell,  I drag all of the photos to an " album" on the left side of sceen.  
    4.  I arrange photos in "order" after which I number each photo in sequence. I do this for a few of reasons.
              - if a photo is accidentally deleted I know it.  I can usually remedy this by checking my trash or
    rescanning.
              - I can sort by title without complications and this holds in "album"
    5.  The pictures will re arrange automatially to match the album in I photo.
    6.  This worked great in I-photo 09 but now in mountain lion the pictures in events go back to "
    sort by date" and will not hold "sort to Title"each time I photo is closed down.  What a nuicance it is to have to go  to view and click "title"  again and again every time Iphoto is opened.
    7. Can I go back to Photo 09? . 

  • Class library in a web app and config files

    I built some class libraries and included them in a web project. Where do I put configuration files so the class library can access them? no matter where I put it, i keep getting file not found. What I've been doing is having a JSP read the config details and pass it to the class library. Is there another way?

    I guess the question is where IT thinks the file is? What code are you using to load it?
    I guess what I'm asking is where is the default folder for FileInputStream?The default folder is your runtime working directory. More often than not thats the "bin" directory of Tomcat. Not a great place to go looking for files.
    getResource() and all that can be accessed from the JSP but those aren't available to me from within the class libraries. Are you saying you don't have access to a ClassLoader object that you can call getResource or getResourceAsStream on? You should be able to access things in the WEB-INF/classes directory in that way.
    Given a web app, my first inclination would be to use the ServletContext.getResourceAsStream method.
    Rather than passing in a file name, why not an InputStream, or byte[] ?
    cheers,
    evnafets

  • Creating a class library in VS2013 that can be referenced by a VB6 application and newer applications

    I need to create a class library in VS2013 that can be referenced by a VB6 application and newer applications. I heard something about
    COM Interop but have no idea where to start. I am assuming I would develop a class library in VS2013 and then package the assembly for COM. Any good sample projects on this out there?

    Hello,
    >> Any good sample projects on this out there?
    Not suer if you are using C# as the develop language, if it is, i think you would find a lot of articles about this topic with your favorite search engine, here are some related links:
    COM Interop Part 1: C# Client Tutorial
    COM Interop Part 2: C# Server Tutorial
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What is a class library?

    can someone tell me what a class library is? examples would be helpful thanks

    A bunch of associated classes, meant to be used by other classes.
    Typically these classes are focused on a particular area of functionality, for example, an "email library" or "3d graphics library".
    The classes in the library do not know about the other classes that use it. (But the classes that use the library know about it, obviously.)
    In java, typically bundled in a jar file.
    There's probably a much better description somewhere.

  • Java class library method definition is visible in debugging!!!!!

    I create a jar by using java class library project option, and when i am using it in other project, it is displaying all code inside the library, i implement security inside the java library, it contains some key ...... is there any way to hide the code? or how to hide my logic when i submit it to client...
    is there any tool for this or is there are any technique to create a dll like microsoft supply.

    rohit pathak wrote:
    thanks for your time gimbal2 ,
    I tested it and it is working fine, i choose the option
    Exclude from jar file - **/*.java
    and its worked out.could you tell me about security of this class library (.jar file) ? Although i used required code { code which omit .java file during packaging } , is this is secure? or we can get the code { key in my case } from .jar file by any java tool.As you have already noticed through your other thread - yes you can.
    how to secure code in java..

  • Export for AS: Class vs Base Class

    when i export a movie clip for actionscript, what are the differences between Class & Base Class?  i see most tutorials change Base Class and leave Class as the name of the movie clip defined in the library.

    the main use of the base class is to extend it so many different classes can share it's functionality.
    but even when not needed as a super class, the base class is also helpful when you want to instantiate many different objects using code and you don't want to write/compile many different class files.
    if flash finds you failed to write a class file (for every class exported for actionscript), flash writes a default class files for you.

  • Java Class Library

    What's the online Java Class Library reference site?
    I swore it was on this Java.sun.com site, but I can't seem to locate it again.
    Thanks,
    MB

    Are you looking for http://java.sun.com/j2se/1.3/docs/api/index.html by any chance ?

  • Unable to locate specified base class 'resources.style1.HelpButtonIcon' for component class

    Hi,
    I have a Flex (4.1.0) project, which has many skinnable custom components. The application allows a user to choose another style which changes these skins via loading a new compiled CSS. These non-default skins are in a separate Flex project.  I've not had a problem with this method until now.
    The custom component I am skinning contains several icons which are defined in the component like this:
    [SkinPart(required="true", type="mx.core.IVisualElement")]
    public var componentIconHelp:IFactory;
    then I use the iconRendererFunction to return the appropriate component part:
    private function iconRendererFunction(item:Object):IFactory
         //truncated method    
         return componentIconHelp;
    Within the skin for "style1", I then have
    <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
         xmlns:style1="resources.style1.*">
    <!-- host component -->
    <fx:Metadata>
         [HostComponent("myApp.components.ButtonComponent")]
    </fx:Metadata>
    <fx:Declarations>
         <fx:Component id="componentIconHelp">
              <style1:HelpButtonIcon />
         </fx:Component>
    </Declarations>
    When I try to compile this, I get the "Unable to locate specified base class 'resources.style1.HelpButtonIcon' for component class 'resources.style1.ButtonComponentSkinInnerClass0'" error.
    If I remove the HelpButtonIcon from the <fx:Component> declaration, and just put it in the main body of the skin, it compiles and renders, but I need it to be a component (there's multiple components I have to choose from to display, similar to the ButtonBar skin).
    Any ideas why it's not compiling and what I need to do to achive this?
    Thanks

    Thanks, one step closer (or further away :-)
    I tried adding the airspark.swc to the library path for the project and it made no difference so I added:
    -external-library-path /Applications/Adobe Flash Builder 4/sdks/4.0.0/frameworks/libs/air/airspark.swc
    to the external tools configuration and now get the error:
    command line: Error: unable to open 'Flash'
    The project itself runs fine, it's only the ASDocs that's causing problems.

Maybe you are looking for

  • I want to create a backup of my Macbook Pro

    I want to create a backup of my Macbook Pro, but I don't have an external drive! I want a backup for updating OSX purposes. Simple version please!

  • Class naming convention

    many a times i face difficulty with the Action/Class naming convention. Say, today ..i wrote a class.....tomorrow i have to rename the name of the class so that it becomes a more meaningful name and becomes unique and understandable with the newcomer

  • I keep getting a msvcr80.dll is missing message. what can i do to fix?

    I keep getting a msvcr80.dll warning message on startup tagged to iTunes.exe   What can i do to fix?  On my dell laptop

  • Excel addin

    i get below error whn i try to retrieve the data No data was generated .suppress Missing = [true], zeros = [true]. Sheet not over written. cheers

  • FSRM [Source File Path] and DFS

    Hi, When i use the [Source File Path] in a notification email it does not show the source file path but instead shows d:\xxxx which is the local drive of the server hosting the destination share. The users has a lot of problems with file types that a