-
Notifications
You must be signed in to change notification settings - Fork 276
WebRTC.Native.Win32 change output from a .dll file to .exe #147
Comments
Sorry @polhaghverdian this is never possible. A library and an executable are 2 different things. You cannot convert a shared library to an executable. |
@djee-ms |
@polhaghverdian to convert from dll into an exe, you'll need to supply an entry point such as main() yourself. Usually though, you would link the webrtc dll against your application instead. Is there some reason you don't want to take that approach? |
@stephenatwork I dont see it necessary to have an dynamic library, which complicates development, and debugging in my case. I could give it a try but am convinced this wont be optimal. I need to have two separate projects one for the actual application and one for the library. |
@polhaghverdian are you saying you want static linking? It is not clear to us what you are trying to achieve here, can you describe your use case please? |
@djee-ms Exactly am trying to achieve Static Linking ( Statically Linked Executable ) |
Ok then this is not currently supported. In v2.0 we plan to change the C++ interop layer, which currently has issues due to crossing DLL boundaries, and still have a DLL but make the C++ library statically linked by default (and using the DLL internally only), see the discussion on #123. Until then I'm afraid there's no simple solution. |
Thank you! |
Hi,
Is it possible to change the output from an .dll to .exe. when compiling?
I tried changing in the settings "configuration type" from .dll to .exe, but does not work.
https://imgur.com/Zu80uMF
The text was updated successfully, but these errors were encountered: