Hi all,
I have written a VB.NET DLL for a project I am working on. I need this DLL to be called by the Blaise DEP. Unfortunately I can't seem to get it to work.
From my understand I need to create a procedure in Blaise that is defined the same as my public procedure in the VB.NET DLL and than call the procedure using the ALIEN command in Blaise.
My DLL is called CortexController, the class is called CaseStatusController and the public function is called ChangeCaseStatus. In Blaise I call my ALIEN like this:
ALIEN('CortexController.CaseStatusController', 'ChangeCaseStatus')I have also made sure to register the .NET dll using regasm but it just does not call the DLL function.
One thing I have realized is that when the DEP is running it locks the DLL. I am not able to delete it or anything while the DEP is open. This makes me think the DEP is loading my DLL but for whatever reason it is not able to call the public function.
Thanks for any help provided.

Thanks alot, I noticed that I was using .NET data types for my method parameters as opposed to the Blaise API Field classes for the method parameters. Once I changed that everything worked perfectly.
Hi Dan,
The following link points to a zip file containing a Visual Studio solution called Alien.sln:
https://oto.cbs.nl/blaiseforum/dotnetaliens/aliens.zip
This is an example demonstrating how to program Blaise aliens in .NET.
The solution contains 2 projects: CSAlien (written in C#) and VBAlien (written in Visual Basic .NET). Each project contains
2 classes called Router and Procedure. The idea is that they can be used together with the Blaise projects AlienProcedure.bpf
and AlienRouter.bpf from the \Samples\Datamodel\Alien subfolder of the Blaise installation.
See the documentation in the .NET sources for detailed information.
If you have access to Blaise 4.8, then you will find this solution also in the subfolder \Samples\BCP\dotNet\Aliens of the Blaise installation.
I hope this will help you.
Regards,
Han Hölsgens