Eynix
Eynix
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
thank you very much
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
do I need to put lib B as a dependency of lib A in the manifest I generate for lib A ?
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
Let say the COM lib A uses lib B
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
I have one last question on that topic :
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
I managed to use a small COM lib I've made
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
the manifest works great
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
nor can I upgrade to vs2022
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
I can't downgrade to c++17
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
problem is I use vs2019 and C++20
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
yes, that's what I've tried in 2.
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
@reflectronic thank you
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
Is there any other way for me to use a COM dll in my (unmanaged) C++ project ?
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
so here's what I've figured so far : There's at least 2 ways to use COM interrop DLL. 1. by registering the DLL, which requires admin rights 2. by directly using the DLL (with the #using instruction, which requires CLR enabled which means I'm limited to C++17
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
and since I don't have a manifest file, it fails
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
while the DLL was registered, my project was also configured (badly configured) to use it as a free component (as an isolated COM)
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
apparently there's 2 ways to use COm interropt : by registering the dll or by using the dll as a "register free" component
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
ok I just figured out what was going on
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
the _com_error Description() is NULL
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
now, I'm trying to figure out how to write a manifest file so I don't have to register the dll.
42 replies
CC#
Created by Eynix on 6/1/2023 in #help
❔ COM type library integration in C++ project
I've made a breakthrough yesterday. I figured that if I registered the dll manually (using regasm), I could in fact use the library.
42 replies