Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 154081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:54:56+00:00 2026-05-11T09:54:56+00:00

I suspect that I will shortly have a need to write an integration library

  • 0

I suspect that I will shortly have a need to write an ‘integration’ library that will need to call an OLE object on Windows from Java.

I have done Java to C/C++ integration on windows before (using C/C++ and JNI) – so I’m not new to that part of the equation.

However; I’d like to try out writing a C/C++ wrapper around an OLE object to give that part of the project a test-spin.

So, some questions:

  1. Can I do OLE with VS C++ Express Edition. I believe the answer is, ‘Yes, but you don’t have MFC, so you can’t call the Microsoft OLE Objects (e.g. Excel, Word, etc.)’

  2. If my presumption about #1 is correct, I need a ‘test’ application that provides an OLE object that I can call – what are suggestions for something that would be good practice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:54:56+00:00Added an answer on May 11, 2026 at 9:54 am
    1. Yes, you can do OLE with VC++ Express, I’d recommend to install Windows Platform SDK. You don’t need MFC to use office applications. With VC++ Express 2005 you can install the older version of Platform SDK 2003 R1 which includes ATL, which are convenient wrappers around COM functionality. If you can’t install it you can create you own wrappes see this more advanced article COM in Plain C .

    2. A well know application which provides COM objects is Internet Explorer, also Windows Media Player, and Flash can be accessed by COM.

    Also you can take a look at Jacob ‘The JACOB Project: A JAva-COM Bridge’

    You can think that COM is the layer in which OLE functionality is built.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I suspect that adding a certain letter/character to the beginning of my text will
I suspect that calls from separate threads (>15) are having a negative effect on
I am creating a shared library using gcc and suspect that there may be
I'm trying to write a program that will write some data to a temporary
I have a ListView that will allow the user to long-press an item to
I have written a task that will run periodically to recalculate and update the
I have written an application in C# that receives UDP packets continuously streamed from
I suspect that I will soon exhaust the speed improving possibilities of threading on
I have a string that I am creating, and I need to add multiple
I suspect that one of my applications eats more CPU cycles than I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.