Now I have a new case:
I need to use LlamaSharp, which is a .NET6 binding for llama.cpp. I already use it from VB.NET successfully. But I really want to move away from .NET and call it directly from VB6, or at least get as close as possible by using TB.
Unfortunately, I don't think it can be wrapped into a simple COM DLL, since it's 64-bit and not COM-friendly.
Also, I'm not experienced with pipes or out-of-process communication and would prefer a simpler way if possible.
Does anyone have an idea how I could use LlamaSharp (or llama.cpp in general) from VB6, ideally with TB as a bridge?
I’ve attached a small VB.NET sample to show what I currently use.