Comments (7)
I've tried to compile re dll, seem like you need to add Ws2_32.lib
and Iphlpapi.lib
to additional dependencies for linker. Also you need to include file http/chunk.c to compilation, I don't understand why project complies without it btw:)
I think you need do the same thing for rem.
I checked baresip repo but I can not find any solution or reference for libre and librem.
Probably, it's much easier to use baresip solution project alfredh/baresip/win32/baresip.sln and compile only re/rem.
About Gm
option: sometime it will be deprecated in future realease of VS, but now it is OK. Maybe project need to be upgraded, but then users with VS15 or VS17 won't be able to compile project.
from re.
@Varooneh sorry, I didn't see your message
The best way is to create a wrapper with functional that you need and declare functions with _cdecl
and __declspec(dllexport)
from re.
Hello,
Yes you can
You can use visual studio project re/mk/win32 with combination of rem project rem/mk/win32
Look at example of compiling stack of re/rem/baresip at baresip/mk/win32
Modify this project files for your need or create your own from scratch. Then compile it as dynamic library (dll) and use in your Delphi or C# projects
from re.
Hi @Encamy
Thank you for help me, I used visual studio 2015 and visual studio 2019. When I open libre in vs 2015 or 2019 I can only build .lib, when I changed to dll I got multiple errors and can not create dll, but .lib have not any problem. I can not use .lib id delphi or c#.
Can you help me how to combine libre and librem and build as dll?
I checked baresip repo but I can not find any solution or reference for libre and librem.
Please help me.
(sorry for bad english)
from re.
@Encamy
Also I read this link and i get many warnings and errors :
from re.
@Encamy
After several attempts, with your help, I could create dll for libre and very very thank you for help me. Now, I've another problem, when I want get dll exported functions list for example with this tools DLL export viewer , re-win32.dll have not any exported function, also I can't use dll in C# because is not COM or delphi because have not exported functions.
Can help me for this?
from re.
@Encamy Thank you for help.
from re.
Related Issues (20)
- Some example about JSON may mislead in retest HOT 1
- DNS client only queries first server (in most cases) HOT 5
- add RFC 6062 HOT 2
- accept 401 to re-REGISTER without WWW-Authenticate stale=true HOT 7
- Use database insted of File
- DNS resolution does not respect local configuration (/etc/hosts, avahi *.local, nsswitch.conf, etc) HOT 1
- Is there any demo for ICE ? HOT 1
- Can't Build on Docker from source HOT 2
- Via header address is set before TCP connection is established
- How to use rtmp_send_video to publish H264 frame?
- Issue with RTP Video over Network
- Upstream .so name versioning?
- Compilation with musl-libc fails
- libre can work based on the thirdpary Lwip?
- SIGABRT after tcp_close_handler derefs conn one too many times (race condition on socket close) HOT 2
- auth won't work for binary passwords containing zero byte characters
- config with sip device
- Shani gujjar
- WEB
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from re.