Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

The DateWrapper popover is appearing at the top-left side of the button. I've tried fixing it, but it's still not working. how to fix it? <Box sx={{ display: "flex", ...
Anjali Gupta's user avatar
4 votes
1 answer
208 views

The question is in the title. I try to wrap c++ code to python, which has nested structs (struct definitions inside another struct definition), and the inner struct doesn't appear in my python module (...
Quantumwhisp's user avatar
4 votes
1 answer
116 views

I am using Java 8 and facing some weird error. The compiler gives the following error: error: reference to [method] is ambiguous Here's my code StringBuilder sb = new StringBuilder(); Stack<...
bloop's user avatar
  • 43
-2 votes
4 answers
121 views

There are already a few javascript wait until questions on stackoverflow. But none of them address a wrapper function. Could anyone provide wait until functionality and then wrap it in a function like:...
Cymro's user avatar
  • 1,484
-1 votes
1 answer
579 views

I'm working on an Apex Invocable Method that returns a wrapper class with nested wrapper objects. However, in Flow, I'm unable to access the inner wrapper fields properly. Here’s a simplified version ...
yogesh lee's user avatar
1 vote
1 answer
84 views

I have a class A with a property prop and a method method that uses this property: class A: @property def prop(self) -> int: return 1 def method(self) -> int: return ...
Raquel's user avatar
  • 121
0 votes
1 answer
124 views

I am trying to wrap a shell script so that it may be called from a Windows program inside Cygwin. Following up on a previous question, I thought it was enough to pass the arguments of the script to ...
jarnowicz's user avatar
  • 266
0 votes
0 answers
25 views

THis is regarding Java Service Wrapper version 3.2.3 when attempting to start the service using JSW and seeing this WrapperManager class initialized by thread: main Using classloader: jdk.internal....
Hari Addepalli's user avatar
0 votes
0 answers
12 views

enter image description here image from a part of my spread sheet. how can I divide rows number 35-37 to a single row like 34. In the image for example names and numbers are in wrapped text format but ...
Nader Fallah's user avatar
1 vote
1 answer
170 views

I faced with the issue - I have C code of optimization library, and it accepts pointer to function as one of the argument. So, previously I used SWIG to generate Tcl wrapper of for C functions, but in ...
georgtree's user avatar
  • 132
0 votes
1 answer
91 views

I'm trying to create a C++/CLI wrapper of a cpp header file. I have only access to the header files and to the .lib files. This is the original IRCalibrationManager.h file that I'm trying to wrap: #...
th3g3ntl3man's user avatar
  • 2,126
2 votes
1 answer
357 views

Is there any easy way to Integrate angular component into react without using react-ang? Focusing on performance. Used react-ang, which allows you to use Angular components in React. Used the Wrapper ...
Ganesh Gandhi's user avatar
1 vote
0 answers
79 views

I was using HubConnection in my component in order to user real-time fucntionnality. But I would like to test my component so then I wrapper my HubConnection like this: public class ...
mathdxdx's user avatar
1 vote
1 answer
45 views

I have react native app that displays a responsive website. We have a wrapper built around the app to display this responsive website. Now the problem is that in the website we have enabled current ...
Uma Ilango's user avatar
  • 1,018
1 vote
2 answers
125 views

I want to be able to pass a structure to some c-code and am using ctypes.structure. I have a simple working example that takes an input array and squares the elements and outputs as an array. However, ...
Robert Smith's user avatar
1 vote
1 answer
148 views

After upgrading to the latest glibc, I noticed that malloc_hooks is deprecated, so I am trying to override certain glibc functions with user-defined ones using the --wrap symbol. For instance, I'm ...
Bhavya M's user avatar
2 votes
1 answer
152 views

I try to create a std::print() wrapper with a modified format (e.g. add something before and after the original format). I can achieve this using a macro: #define DECORATED_PRINT(fmt, ...) std::...
Solo's user avatar
  • 439
0 votes
1 answer
90 views

I am trying to create a wrapper dll. So far I made one .dll that sums a and b. Then I used the tutorial here https://www.nerdthings.dev/2020/08/06/understanding-loadlibrary, but did not get anywhere. ...
StackoWhacko's user avatar
1 vote
0 answers
212 views

I want to create a wrapper in C# for google/jpegli. I’m having trouble figuring out how to build the project to eventually get a DLL for creating the wrapper. I followed this guide: https://github.com/...
Miles's user avatar
  • 546
1 vote
1 answer
47 views

Good morning, I have the following situation: I have a library middleware.so that provide a wrapper for a external library boughtLib.so makefile of middleware.so link dynamic library boughtLib.so and ...
Giox79's user avatar
  • 156
2 votes
2 answers
98 views

I have two files t.py: import functools import traceback def wrapper(func): @functools.wraps(func) def wrapped(*args, **kwargs): try: return func(*args, **kwargs) ...
hovnatan's user avatar
  • 1,395
2 votes
1 answer
481 views

Assuming I have this service registration: services.AddScoped<IFoo, Foo>(); I know you can "Replace service registration in ASP.NET Core built-in DI container?" but is it possible to ...
Luke Vo's user avatar
  • 21.6k
0 votes
1 answer
104 views

I have installed GDAL and GDAL.Native v3.9.1 packages. Console applications work well, but when I use it in AutoCAD Class Library project, it always raises the exception: The type initializer for '...
Imran Anees's user avatar
0 votes
0 answers
43 views

There are 5 wrapper objects in JavaScript: Number, BigInt, String, Boolean, and Symbol.You can use 'new' to create a Number, String, Boolean, Symbol. But you can not use 'new' to create a BigInt. what ...
Leo qiao's user avatar
1 vote
2 answers
101 views

Let's say we have two functions which first do some parameter checking. They return early if the checks are not met. Then they do stuff. Quite simple: function funcA (inputParam) { if(!inputParam....
cis's user avatar
  • 1,403
-1 votes
1 answer
140 views

I've recently stubled across a seemingly very simple problem I can't wrap my head around: I am currently building a simple tool to access some USB Oscilloscopes. Language Version is C#7.3 Following ...
L T's user avatar
  • 3
-1 votes
2 answers
94 views

I have a class to wrap POD struct types, but I'm having trouble when a POD struct has another POD inside, because my wrapper class only stores the POD as it is, using composition. #include <utility&...
edugomez102's user avatar
1 vote
1 answer
65 views

Considering {tern} and {rtables} package formatting functions, can you override auto formats in {tern} functions like count_patients_with_flags? For example: library(rtables) library(tern) library(...
Dimple Patel's user avatar
1 vote
1 answer
194 views

I am building a module in C++ which will also be used by some C code. The C++ module makes use of std::map to manage some objects. I would like to write a C wrapper to return some info about the ...
phatpaul's user avatar
  • 364
0 votes
0 answers
75 views

At DOS CMD prompt, I ran 'mvnw.cmd' as shown below. However, I had a hard to interpret error - my partial Window user home directory pathname is being treated as a command. That is, my home directory ...
Park JongBum's user avatar
  • 1,411
0 votes
1 answer
187 views

I am trying to encapsulate a third-party library by writing a wrapper over it and using only required APIs as per my need. To achieve this, I have created this wrapper project as a standalone project ...
booyaakaashaa's user avatar
0 votes
1 answer
206 views

In summary, I have written a C++ library and am now making a C wrapper to let C programmer use my lib. I am able to get it to work by using raw pointers. Here's what I do. // some_class.hpp namespace ...
user avatar
1 vote
1 answer
241 views

We are attempting to connect a vite react web app to an azure iot hub. We'd like to use a .pem, and .key file to register the device with gobal.azure-devices-provisioning.net as shown in their github ...
Jeff spaulding's user avatar
1 vote
3 answers
231 views

I have a function-returning function. The inner function makes use of the parent function's argument in its body. Then I make a list of functions produced by calling the parent function with different ...
burkay's user avatar
  • 1,200
0 votes
1 answer
84 views

. @AuraEnabled(cacheable=true) public static list<ProgramBrandTotalAmount> ReportWithTotalBrandOrder(string programId) { list<Program_Item__c> programBrandList ...
Kavya's user avatar
  • 3
0 votes
0 answers
190 views

I'm working on a C++ code that makes use of openmp on MacOS. The code normally gets compiled with a makefile, and the resulting binary accepts some arguments in input and outputs arrays as files. ...
Matteo Peron's user avatar
2 votes
1 answer
130 views

I have the following minimal example of summing an array (taken from here): #lib.cpp template<typename T> T arr_sum(T *arr, int size) { T temp=0; for (int i=0; i != size; ++i){ ...
Gideon Kogan's user avatar
-1 votes
1 answer
123 views

I am writing an app that requires high efficiency. It's an app that deals constantly with floats. I've been told to avoid constants (static final fields). So basically I have a method like this one: ...
zaxunobi's user avatar
  • 962
0 votes
1 answer
44 views

My project involves 3 dlls for each of which I am building python interfaces. Let's call them aux, libA and libB. The idea is that aux defines a python object (which I will call Point that is used by ...
tjd's user avatar
  • 53
1 vote
1 answer
133 views

I can build example.so and put it into /usr/lib in Yocto dunfell after I read https://github.com/pybind/pybind11/issues/1330. This is example.cpp that includes pybind11 wrapper #include <pybind11/...
Youngmin Kim's user avatar
0 votes
1 answer
138 views

I need a cython wrapper for a tuple consisting of three elements all of the same type. Now I know that this isn't directly supported by cython but that there is a workaround that is "explained&...
tjd's user avatar
  • 53
0 votes
0 answers
58 views

Adding multi level project reference(Project1 referenced in Project2 & Project2 is reference in Project3) allows accessing the methods/namespace of level1(i.e. Project1) in level3(i.e.Project3). ...
PRI's user avatar
  • 27
-1 votes
1 answer
51 views

After rewriting the VTK example 'MouseEvents' (https://examples.vtk.org/site/Cxx/Interaction/MouseEvents/) in Java, import vtk.vtkActor; import vtk.vtkInteractorStyleTrackballCamera; import vtk....
mike_uvw's user avatar
0 votes
0 answers
72 views

I'm brand new to swift, and I've been learning how to use SwiftData at a basic level. I have an array of Item objects called "items" that is using the @Query wrapper so that it updates ...
snide_forever's user avatar
0 votes
0 answers
108 views

I am writing a class stalker<Obj> that holds inside a variable of type Obj. I want stalker<Obj> to pretend that it is the same as Obj (from the user's perspective). Thus, I expect that ...
Alexander S's user avatar
1 vote
2 answers
93 views

I've been trying to learn how to use ArrayLists, however when I try to add primitive type values they don't convert to wrapper types in this machine. import java.util.ArrayList; import java.util....
xzd's user avatar
  • 11
2 votes
1 answer
215 views

I suspected the Mockito.spy() returns a wrapper around the copy of the parameter object, and the type of this wrapper is a generated sub type of the wrapped object. Then the spying functionality could ...
Géza's user avatar
  • 515
-1 votes
1 answer
136 views

not a lot of experience in C++. Attempting to Marshal char* in C to string in C#, using [MarshalAs(UnmanagedType.LPStr)], but I get a "a heap has been corrupted" exception. It does however ...
isswf's user avatar
  • 191
1 vote
1 answer
332 views

I want to write a C++ wrapper class which can be used to handle multiple timer interrupts in parallel. For one interrupt at a time i have a working solution similar to this one: Use lambda function as ...
Vanessa 0's user avatar
-3 votes
1 answer
135 views

LVGL library looks very promising as an alternative to Qt (C++), but it's C based. Is there a way to automate wrapping it into a C++ modern interface or at least with minimum modification each new ...
b26's user avatar
  • 676

1
2 3 4 5
74