How do I use a DLL in a C++ native module? #12284
Answered
by
chrisglein
meucontato
asked this question in
Q&A
-
I have some resources already developed and available in a dll and I didn't want to recreate everything new so my idea is to use the native C++ module to call this dll |
Beta Was this translation helpful? Give feedback.
Answered by
chrisglein
Oct 23, 2023
Replies: 1 comment
-
Yes, this should be very possible. Native modules are just C++ code. Have you got as far as getting your basic native module (without linking in your DLL) yet? Once you're there, you should be able to use Visual Studio to link your DLL in just fine and call that code from your native module. Look for resources on this on docs.microsoft.com. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chrisglein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, this should be very possible. Native modules are just C++ code. Have you got as far as getting your basic native module (without linking in your DLL) yet? Once you're there, you should be able to use Visual Studio to link your DLL in just fine and call that code from your native module. Look for resources on this on docs.microsoft.com.