Open SalmanVolvoGit opened 2 weeks ago
Hi @SalmanVolvoGit --
DyKa.dll is the C# "shim" layer. The build instructions are for macos. I assume you're using Windows? After you did a dotnet build
and dotnet publish
, in which directory did your DyKa.dll
end up?
Hi @xpqz , Thank you for your response. Yes, we are using Windows.
DyKa.dll did end up in mybuild folder as you have instructed in the steps mentioned.
And I used another approach in which I have kept the mybuild folder outside the DKaf directory(which I think is correct ) and is close enough to the solution I believe. DKaf directory of this is as shown below.
For the later one, as per the Instructions from Vince(Dyalog Support associate), we set DYALOG_NETCORE as 1 and we are getting this error now. ]LINK.Create # C:\DKaf-main Link Warning: ⎕SE.Link.Create: .NET or .NetCore not available - watch defaults to 'ns' Linked: # → C:\DKaf-main ⎕USING←'Confluent.Kafka,C:/mybuild/Confluent.Kafka.dll' ⎕USING,←⊂',C:/mybuild/DyKa.dll'
]assemblies
He did mention to use 32-bit build of the dlls for 32-bit Dyalog but in the runtimes directory I don't see any folder with win-x32 as shown below:
Not sure where exactly are we going wrong in our approach.
@SalmanVolvoGit you're nearly there, I think -- the 32-bit build is called win-x86
, somewhat confusingly. Try that. Feel free to contact me directly (stefan@{that APL company}.com)
Hi Stefan, We came through this example and tried to implement it with the steps mentioned but we encounter Value Error in following line: ⎕NEW Consumer(0 '' ) VALUE ERROR: Undefined name: DyKa Ctor[6] consumer←⎕NEW DyKa.StringConsumer(bss groupid topic).
I assume it is not able to load the dll files which we run through using command ⎕USING. Is there any another approach we can follow or we can connect over to look at the issue ?
Will be eagerly waiting for your response on this.