Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 2.65 KB

readme.rst

File metadata and controls

37 lines (23 loc) · 2.65 KB

Clarion Registration-Free COM

This project is a demonstration of my attempts to use Registration-Free Activation of COM Components with Clarion.

Installation

Running this project assumes that you have the .NET Framework v2 installed

You can download the files as a zip file from the link on this page or better yet, go get the awesome GitHub windows client !

I have included the binary files so you can just run the InteropTest.exe and see what happens. If you are interested in taking a look and compiling it for yourself I have included both the Visual Studio 2010 C# project and the Clarion8 project (source only, no app or templates required). Have a look in the Src directory, it should be fairly self explanatory.

What is happening?

Once you have the manifest files correct you need to use the cslid instead of the progid in myFeq{PROP:CREATE} and calling methods in the object seems to be working fine.

However, this only gives you an ole object (myFeq{PROP:OBJECT} returns a value like `1234) but myFeq{PROP:OLE} is FALSE which based on the docs indicates that there is no object in the container.

Is there anyway to take the object id I have and activate it (display it?) in the container?

Am I in fact barking up the wrong tree with this?! Not sure, I am learning :)

Here are some links to things I intend to try next:

Let me know how you go!