568 questions
2
votes
1
answer
64
views
Error link 2001 on CLSID from my another DLL
I have 2 DLLs. I want create instance of class in my second DLL that I declare at .idl file of first library. But I get Error Link 2001 on CLSID, when try to link second DLL. I'm linking with first ...
1
vote
0
answers
101
views
How to use void pointer as parameter type in interface definition?
I am creating a COM server using native C++. And I need to use void pointer as a parameter type in the server interface.
[
dual,
oleautomation,
uuid(E62A1CB0-86A7-40AE-AFE4-75562C32A498)
]
...
0
votes
0
answers
20
views
Declaration and Call of IDL in OpenDDS
module InstructionManager {
typedef sequence<double> DoubleSeq;
#pragma DCPS_DATA_TYPE "InstructionManager::Instruction"
#pragma DCPS_DATA_KEY "InstructionManager::...
0
votes
0
answers
18
views
Translating an IDL binary data reader to Python
I’m trying to read a binary data file and have its data reader. The reader is about 10 lines and is written in IDL (which I am not familiar with), and I have no way to compile it to recover the ...
1
vote
1
answer
65
views
Using scipy.ndimage.correlate only calculate elements with full overlap
I am trying to use scipy.ndimage.correlate to replicate the output of IDL convol() function. The IDL function only calculates elements where there is full overlap between the input and the kernel.
So, ...
0
votes
1
answer
167
views
Avro Maven Plugin idl-protocol Execution Failed After Upgrading to Avro 1.12.0
After upgrading to Apache Avro 1.12.0, I encountered the following error while running the Avro Maven:
line 65:8 token recognition error at: '_'
line 65:10 token recognition error at: '_'
[ERROR] ...
3
votes
0
answers
78
views
Accessing a c# .NET core dll exposed to COM from c++
I need to be able to access a c# .NET (core) dll written in vscode from c++.
I have found that .NET does not create a tlb file when compiling a c# dll exposed to COM. One of the pieces of advice in ...
0
votes
1
answer
51
views
Define sequence of array in cyclonedds IDL
Im trying to deifine a sequence of array type in cyclonedds idl file like this:
module TheModule
{
struct SequenceOfarrays{
sequence<long[3], 5> boundedArraySequence;
};
};
but got ...
1
vote
0
answers
51
views
MIDL only generates Simple.h, Simple_i.c, and Simple.tlb, but not dlldata.c and Simple_p.c for COM out-of-process server. How to fix this?
I am building a COM out-of-process (EXE) server and need to generate the proxy/stub files using the MIDL compiler. However, when I run the midl command, it only generates the following files:
Simple....
0
votes
1
answer
62
views
Should the IDL definition of a callback throw an error if the return type does not match?
There is such a definition of IDL:
callback NavigationInterceptHandler = Promise<undefined> ();
This corresponds to the property of the handler argument passed to the intercept method of the ...
2
votes
0
answers
370
views
Having issues with Anchor generated IDL file in react project
I am trying to connect React frontend with a Program running in Solana. It work find with my previous attempt a year ago and i was able to write React frontend and connect with a Program running in ...
1
vote
1
answer
340
views
Converting IDL into Python, Taking Verbatim translation and making it Pythonic
I'm translating some old IDL code into python. I'm very new and hoped (am still hoping) that by jumping into some IDL code I could maybe learn the language faster. I've started with what seemed to be ...
0
votes
1
answer
98
views
make picture/image/pixel image of a xml-file [closed]
I am trying to write a script to convert my XML files of direct image exoplanet data into/back into images for my AI classifier, but I having some trouble with converting the XML's into images. An ...
0
votes
0
answers
163
views
how to make enum values 64 bits in .idl file
Im working on WPF project with C++ and C#. I have written .idl file for communicating between these modules. I defined one enum like
typedef enum Samp{
Samp1 =1,
Samp2 =2,
Samp3 =4,....
...
0
votes
1
answer
459
views
ROS2 Custom MSG files and generated C++ headers
I have the following issue - I get from a 3rd party a database which contains the message names and signals. I need to write a generator that creates ROS2 MSG files based on the input from the ...