Skip to main content
Advice
2 votes
3 replies
63 views

I have the following use case. My main program is written in Python, and I want to accelerate some parts of it. The Python program makes use of dataclasses (~structures) to store parameters, arrays, ...
ninivert's user avatar
0 votes
0 answers
54 views

How do you pass the flags to the final exe like -D_DEBUG, /SUBSYSTEM:WINDOWS, -DCMAKE and so on to the final exe thats built when using dart's newest build hooks, native assets interop method? ...
mln4574's user avatar
Advice
1 vote
5 replies
90 views

[EDIT] Updated this question with actual working code. (Note: This discussion talks about the way that the array interop works, which might be relevant.) I'm trying to transfer an array of shorts to ...
Matthew Watson's user avatar
1 vote
0 answers
72 views

I have a .NET 9 console app built for x86: <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net9.0</TargetFramework> <PlatformTarget>x86<...
Teckel Cruel's user avatar
1 vote
0 answers
134 views

Here is a simple C++ structure (member method implementations are trivial and omitted for brevity): struct SWIFT_NONCOPYABLE CppStruct { CppStruct() {} CppStruct(const CppStruct&); CppStruct(...
Anatoli P's user avatar
  • 4,966
1 vote
3 answers
115 views

I have a C++ DLL I want to call into from Python. I have no control over the C++ DLL nor do I have its source code or headers. The mangled functions are of the form: 2980 BA3 005A3060 ?getFoo@FooLib@@...
Nick Bauer's user avatar
  • 1,104
2 votes
2 answers
107 views

I am working on a C++ library with a Swift backend (the C++ code mainly serves as a bridge to Rust). I have the following: char* get_string(void* pBackend) { Backend* backend = (Backend*) pBackend;...
Plegeus's user avatar
  • 402
-2 votes
1 answer
111 views

I am developing SPM and want to integrate C++ code base into SPM using Swift C++ interop. I have added c++ file in the SPM and tried to call CPP function in the swift file but it does not work. Below ...
user1066642's user avatar
3 votes
1 answer
166 views

I have implemented INetworkListManagerEvents interface to get network connectivity state changes as a C# class. In my project, the INetworkListManagerEvents is code generated via CsWin32 source ...
Guezt's user avatar
  • 157
0 votes
0 answers
78 views

I'm building a Windows Service in C# (.NET Framework 4.8) that should automatically import sales receipts from XML files into Comarch ERP Optima. The service is supposed to create a COM session using ...
adrianmatysiak1916's user avatar
0 votes
1 answer
230 views

I have a Rust function named init that calls the following ncurses functions (in the following order): initscr(), cbreak(), keypad(stdscr, TRUE), getch() followed by endwin(). The init function looks ...
Radon's user avatar
  • 117
0 votes
1 answer
59 views

in my Flutter application, users can set their avatar. Basically, it works like this: you choose a file (only images) a dialog appears and you can crop the circle for the avatar widget I'm using ...
loreeemartiii's user avatar
0 votes
0 answers
52 views

I have an application built with WPF using .Net framework 4.8 and windows APIs which runs as a windows application and opens an excel app (separate excel process) and from the excel app opens up a ...
Ganpat Gutte's user avatar
0 votes
1 answer
67 views

I need to check that all the unsaved progress from Visio is in the UTF-8 encoding before I save the document. The reason I need this, is because the xml data is encoded in UTF-8 and I have people ...
DanTheMan's user avatar
0 votes
0 answers
109 views

I can't figure out a good way to word this question since I'm kind of new to c++, but I found an image loading library called stb_image. It's pretty neat, but I have two questions I need to make sure ...
Gwendolyn Krezel's user avatar

15 30 50 per page
1
2 3 4 5
388