# Interop

**URL:** https://clarionhub.com/c/code/interop/22.md

[Latest](https://clarionhub.com/latest.md) · [Categories](https://clarionhub.com/categories.md) · [Tags](https://clarionhub.com/tags.md)

---

## [About the Interop category](https://clarionhub.com/t/about-the-interop-category/193)

<div class="topic-metadata">

**Author:** [@brahn](https://clarionhub.com/u/brahn)\
**Replies:** 0

</div>

.NET Interop, ActiveX, COM, Stdin/stdout, web services, whatever you think interop means this is the place!

---

## [What is the minimum .Net Framework I should have installed](https://clarionhub.com/t/what-is-the-minimum-net-framework-i-should-have-installed/8158)

<div class="topic-metadata">

**Author:** [@sgower](https://clarionhub.com/u/sgower)\
**Replies:** 3\
**Last updated:** [May 13, 2025, 7:45pm UTC](https://clarionhub.com/t/what-is-the-minimum-net-framework-i-should-have-installed/8158 "2025-05-13T19:45:35Z")

</div>

What is the minimum .Net Framework I should have installed for my clarion app generated with Clarion 11.1.13845. I use both Noyantis Add ons as well as Capesoft add ons.

---

## [Crash when using GROUP with BSTRING from \`.inc\`](https://clarionhub.com/t/crash-when-using-group-with-bstring-from-inc/7996)

<div class="topic-metadata">

**Author:** [@ThaDaSoft](https://clarionhub.com/u/ThaDaSoft)\
**Replies:** 3\
**Last updated:** [March 14, 2025, 7:47am UTC](https://clarionhub.com/t/crash-when-using-group-with-bstring-from-inc/7996 "2025-03-14T07:47:25Z")

</div>

I am trying to setup an interop between Clarion and NativeAoT Compiled DotNet project - but for some reason I am getting a nasty GPF by only declaring a variable based on a type from my INC I am using BSTRING as I am wa…

---

## [MS Control Flow Guard Exploit protection](https://clarionhub.com/t/ms-control-flow-guard-exploit-protection/4985)

<div class="topic-metadata">

**Author:** [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Replies:** 1\
**Last updated:** [March 19, 2024, 6:08am UTC](https://clarionhub.com/t/ms-control-flow-guard-exploit-protection/4985 "2024-03-19T06:08:34Z")

</div>

So Windows has exposed a number of different options to mitigate security vulnerabilities. I’ve found the paper that looks at one of these which is called Control Flow Guard. TL;DR its a general term for computer secur…

---

## [ODBC Driverstring for HFSQL / Example](https://clarionhub.com/t/odbc-driverstring-for-hfsql-example/6956)

<div class="topic-metadata">

**Author:** [@Joei](https://clarionhub.com/u/Joei)\
**Replies:** 1\
**Last updated:** [February 2, 2024, 12:41pm UTC](https://clarionhub.com/t/odbc-driverstring-for-hfsql-example/6956 "2024-02-02T12:41:03Z")

</div>

Need help. TIA & Regards

---

## [How To: Use DllImport from C# to call a clarion procedure](https://clarionhub.com/t/how-to-use-dllimport-from-c-to-call-a-clarion-procedure/1104)

<div class="topic-metadata">

**Author:** [@brahn](https://clarionhub.com/u/brahn)\
**Replies:** 5\
**Last updated:** [May 25, 2023, 6:50pm UTC](https://clarionhub.com/t/how-to-use-dllimport-from-c-to-call-a-clarion-procedure/1104 "2023-05-25T18:50:16Z")

</div>

Just for fun, can we call into ClaRun directly from C#? Why yes, we can! :slight\_smile: using System; using System.Runtime.InteropServices; namespace ClarionDllImport { class Program { static void Main…

---

## [MS Win32 Metadata Win32apis to Clarion.net?](https://clarionhub.com/t/ms-win32-metadata-win32apis-to-clarion-net/5009)

<div class="topic-metadata">

**Author:** [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Replies:** 0\
**Last updated:** [April 14, 2022, 10:25pm UTC](https://clarionhub.com/t/ms-win32-metadata-win32apis-to-clarion-net/5009 "2022-04-14T22:25:24Z")

</div>

So MS released a blog post 21st Jan 2021 Making Win32 APIs More Accessible to More Languages - Windows Developer Blog So whilst not strictly in-accessible to Clarion, they do state The goal of the win32metadata proje…

---

## [Using Groups with .Net Com Controls Part 1](https://clarionhub.com/t/using-groups-with-net-com-controls-part-1/311)

<div class="topic-metadata">

**Author:** [@Mark\_Sarson](https://clarionhub.com/u/Mark_Sarson)\
**Replies:** 6\
**Last updated:** [April 27, 2021, 7:43pm UTC](https://clarionhub.com/t/using-groups-with-net-com-controls-part-1/311 "2021-04-27T19:43:35Z")

</div>

I have been working with .Net for a client to create a COM control to be used in his clarion product over the last 3 years. For the most part it has been very successful and I have even shared some of my findings with C…

---

## [Some help with C# interop](https://clarionhub.com/t/some-help-with-c-interop/194)

<div class="topic-metadata">

**Author:** [@brahn](https://clarionhub.com/u/brahn)\
**Replies:** 16\
**Last updated:** [April 19, 2021, 6:24pm UTC](https://clarionhub.com/t/some-help-with-c-interop/194 "2021-04-19T18:24:18Z")

</div>

I received this message through the contact form at ClarionAddins the other day. Unfortunatly the lovely helpful person didn’t leave any contact detail. In case it is helpful to anyone I thought I might share it here. P…

---

## [Calling Windows Runtime (WinRT) API's from Clarion](https://clarionhub.com/t/calling-windows-runtime-winrt-apis-from-clarion/2967)

<div class="topic-metadata">

**Author:** [@donridley](https://clarionhub.com/u/donridley)\
**Replies:** 0\
**Last updated:** [November 10, 2019, 3:12pm UTC](https://clarionhub.com/t/calling-windows-runtime-winrt-apis-from-clarion/2967 "2019-11-10T15:12:18Z")

</div>

Hello All, First, a thank you to the person(s) who created this site. We needed this. Second, I have a question: I have been speaking to Dries about a project he is working on. I find Dries to be exceptionally talen…

---

## [KW Project - Rumbo a la sinapsis global](https://clarionhub.com/t/kw-project-rumbo-a-la-sinapsis-global/2949)

<div class="topic-metadata">

**Author:** [@Gustavo](https://clarionhub.com/u/Gustavo)\
**Replies:** 0\
**Last updated:** [October 31, 2019, 8:49pm UTC](https://clarionhub.com/t/kw-project-rumbo-a-la-sinapsis-global/2949 "2019-10-31T20:49:48Z")

</div>

Buenas tardes a todos. Soy veterano en esto de Clarion aunque, admito, no es una herramienta popular en mi país y por lo tanto estoy lejos de poder competir con GeneXus. Creo que la comunidad Clarion debe desarrollar a…

---

## [Why did Marc need the yada.exe.config with NewtonSoft.json 11, but not with 10](https://clarionhub.com/t/why-did-marc-need-the-yada-exe-config-with-newtonsoft-json-11-but-not-with-10/2083)

<div class="topic-metadata">

**Author:** [@brahn](https://clarionhub.com/u/brahn)\
**Replies:** 1\
**Last updated:** [September 11, 2018, 4:50pm UTC](https://clarionhub.com/t/why-did-marc-need-the-yada-exe-config-with-newtonsoft-json-11-but-not-with-10/2083 "2018-09-11T16:50:13Z")

</div>

The original problem: I need a little clarion/.NET help. I build a .NET assembly that has 4 nuget packages some years ago. Next I wrote a clarion class to wrap my .NET assembly. I recently updated the nuget packages. M…

---

## [Using Groups with .Net Com Controls Part 2](https://clarionhub.com/t/using-groups-with-net-com-controls-part-2/313)

<div class="topic-metadata">

**Author:** [@Mark\_Sarson](https://clarionhub.com/u/Mark_Sarson)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 6:30am UTC](https://clarionhub.com/t/using-groups-with-net-com-controls-part-2/313 "2018-06-18T06:30:17Z")

</div>

In part 1 I discussed mapping Clarion Groups to c# Structs specifically implementing MetaData from System.Runtime.InteropServices. I talked about the data types I have experimented with that have worked in passing data o…

---

## [Call back to Clarion from a .Net control](https://clarionhub.com/t/call-back-to-clarion-from-a-net-control/1808)

<div class="topic-metadata">

**Author:** [@brahn](https://clarionhub.com/u/brahn)\
**Replies:** 0\
**Last updated:** [April 27, 2018, 12:02am UTC](https://clarionhub.com/t/call-back-to-clarion-from-a-net-control/1808 "2018-04-27T00:02:03Z")

</div>

This is a continuation of a longer conversation on Skype, with reference to a ClarionLive webinar and example code by @hdsoftware I managed to get your demo code (SQLQuery) to call back to clarion it was a matter of us…

---

## [How To: Call a .NET method and passing a variable by address](https://clarionhub.com/t/how-to-call-a-net-method-and-passing-a-variable-by-address/1715)

<div class="topic-metadata">

**Author:** [@brahn](https://clarionhub.com/u/brahn)\
**Replies:** 0\
**Last updated:** [March 6, 2018, 2:50am UTC](https://clarionhub.com/t/how-to-call-a-net-method-and-passing-a-variable-by-address/1715 "2018-03-06T02:50:35Z")

</div>

In response to this question on Skype: Does anyone have an example of calling a method in a .Net Assembly with in an out arguments? I was, once again, reminded of the awesome ClarionLive webinar and examples by @hdso…

---

## [Having fun with c10 and .net](https://clarionhub.com/t/having-fun-with-c10-and-net/919)

<div class="topic-metadata">

**Author:** [@Martin\_Vecchione](https://clarionhub.com/u/Martin_Vecchione)\
**Replies:** 7\
**Last updated:** [January 5, 2017, 1:38pm UTC](https://clarionhub.com/t/having-fun-with-c10-and-net/919 "2017-01-05T13:38:51Z")

</div>

Yesterday i was wondering if a can use some clarion code in a new ASP.NET MVC5 project.. I do some basic step from a simple test. create a simple asp.net mvc project. Create a vanilla clarion exportable procedure …

---

## [Using C struct referenced by address in clarion](https://clarionhub.com/t/using-c-struct-referenced-by-address-in-clarion/863)

<div class="topic-metadata">

**Author:** [@seanh](https://clarionhub.com/u/seanh)\
**Replies:** 2\
**Last updated:** [November 22, 2016, 4:46am UTC](https://clarionhub.com/t/using-c-struct-referenced-by-address-in-clarion/863 "2016-11-22T04:46:29Z")

</div>

Hi All I’m trying to interact with a C dll. The C has a struct that it creates in one function and returns a pointer to it. How do you reference the structure in clarion? struct theStruct int fieldA int fieldB; …

---

## [.NET Color Picker with Clarion color code support](https://clarionhub.com/t/net-color-picker-with-clarion-color-code-support/206)

<div class="topic-metadata">

**Author:** [@brahn](https://clarionhub.com/u/brahn)\
**Replies:** 1\
**Last updated:** [June 16, 2016, 4:25pm UTC](https://clarionhub.com/t/net-color-picker-with-clarion-color-code-support/206 "2016-06-16T16:25:00Z")

</div>

In response to a query by someone on skype (or was it the newsgroup? I can’t remember…) I finally got around to uploading my fork of the ZetaColorEditor containing a few fixes as well as a little bit of support for Clari…

---

## [A quick and dirty way to attach "DebugView++.exe" to a window handle](https://clarionhub.com/t/a-quick-and-dirty-way-to-attach-debugview-exe-to-a-window-handle/449)

<div class="topic-metadata">

**Author:** [@brahn](https://clarionhub.com/u/brahn)\
**Replies:** 0\
**Last updated:** [September 16, 2015, 8:54pm UTC](https://clarionhub.com/t/a-quick-and-dirty-way-to-attach-debugview-exe-to-a-window-handle/449 "2015-09-16T20:54:38Z")

</div>

Yes, I have hard coded “DebugView++.exe” and yes, my usage of the passed in handle is not the greatest but really, you will only call this one time or so right so there is no need to pass a handle in to the DetachDebugVi…

---

## [Calling Clarion procedures from C#](https://clarionhub.com/t/calling-clarion-procedures-from-c/349)

<div class="topic-metadata">

**Author:** [@elankreijer](https://clarionhub.com/u/elankreijer)\
**Replies:** 0\
**Last updated:** [March 25, 2015, 2:28pm UTC](https://clarionhub.com/t/calling-clarion-procedures-from-c/349 "2015-03-25T14:28:25Z")

</div>

Clarion Prototypes aStrToStr FUNCTION(BSTRING pInput), BSTRING, PASCAL, NAME('aStrToStr') Multiply FUNCTION(BYTE A, BYTE B), BYTE, PASCAL, NAME('Multiply') Msg PROCEDURE(), PASCAL, NAME('Msg') C# Prototypes: \[D…
