Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
104 views

I have a .dll written in C++ with a C style API. I have successfully implemented various interop methods but this one is causing exceptions. BL_API BLResult BL_CDECL bl_image_write_to_file(const ...
1 vote
1 answer
120 views

I need to use a Windows API function in my VB.NET application. I need to pass an ASCII string of text to that function. This string is stored as a zero-terminated byte array. What I currently do is I ...
0 votes
2 answers
144 views

I have setup a Flask project using the flask restx to help me validate the input JSON payload. Note: I am also using restx's Namespace for other things too, so I have ns instead of blueprint I have ...
0 votes
0 answers
28 views

A method in a C++ DLL can return a function value of TRUE or FALSE. When called from a C# application, the C# application always receives a value of "TRUE", even when the C++ method is ...
1 vote
0 answers
145 views

Background I have an application that uses gRPC to communicate with other services. Nothing fancy. The data exchange includes fields representing SHA-1, SHA-256 and UUIDs, which are stored as bytes. ...
1 vote
1 answer
139 views

I'm working with an unmanaged c++ dll in C# that controls a measuremnet device over USB. I got as far as getting single value measurement but I struggle trying to recover recorded data... I guess I ...
Pierre B's user avatar
-4 votes
1 answer
219 views

I'm working with a Go application where I need to pass raw JSON data to a struct field, but I am encountering issues with extra escaping when marshaling the struct, especially when the raw JSON ...
-1 votes
1 answer
125 views

@Override public void configure(){ rest("/camel/loss-events") .get("/csv-download") .to("direct:generateCsv"); CsvDataFormat csv = new CsvDataFormat(); ...
0 votes
0 answers
83 views

I'm using cxf xjc plugin version 4.0 to transform a schema to a java class, but this is generating a class that when a list is null, it returns an empty list, but I need the null, so I'm using JAXB ...
3 votes
1 answer
397 views

I'm trying to export a function so that it can be used from the native unmanaged world. In my case this would be a Delphi application. I'm using [UnmanagedCallersOnly] keyword to export the functions. ...
White's user avatar
  • 399
1 vote
1 answer
91 views

I’ve created a .NET DLL with exported functions using DllExport, and I would like to call one of these exported functions from the Pascal Script in Inno Setup to retrieve their return value. Please ...
2 votes
0 answers
144 views

I currently have a code base written in Fortran with interop code written in C#. In the Fortran code, there are many structures. All arrays and strings are fixed size. There are duplicate definitions ...
Adam's user avatar
  • 1,206
-1 votes
1 answer
65 views

Would using encoder.Encode within Go's customized json marshal function be causing goroutine stack overflow? Please take a look at (enclosed below) https://go.dev/play/p/KXLH0B20b1u Using encoder....
xpt's user avatar
  • 23.7k
1 vote
1 answer
61 views

I was playing around with this new feature and decided to use dbghelp.dll's SymGetModuleInfo64 as an example. I wrote the custom marshaller and I am able to run it (below is the generated code), but ...
0 votes
1 answer
29 views

An example of replacing a lambda with a subclass in code is as follows: scale = tf.Variable(1.) scale_layer = tf.keras.layers.Lambda(lambda x: x * scale) Because scale_layer does not directly track ...

15 30 50 per page
1
2 3 4 5
...
252

AltStyle によって変換されたページ (->オリジナル) /