hishamabs / sipek2

Automatically exported from code.google.com/p/sipek2
1 stars 0 forks source link

Using pjspidll.dll in a C++ project #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I built the PJSIP library 0.9.0
2. Included the pjsipdll vcproj as suggested in 
https://sites.google.com/site/sipekvoip/Home/documentation/pjsipwrapper/pjsipwra
pper-for-windows

And built the project successfully to obtain pjsipDlld.dll file

3. Now I've made a cpp project where I've included the pjsipDll.h and added the 
pjsipDll.dll file. In the main, I am trying to call

dll_makeCall(1234,"abcd");

I built the project then, 
I receive the following error
Error   1   fatal error LNK1302: only support linking safe .netmodules; unable to 
link ijw/native 
.netmodule  g:\July\9.0\pjproject-0.9.0\newProject\newProject\pjsipDll.dll  1   newP
roject

Is my approach correct, what do need to change to use the functions and build 
my custom program for it.

I'm using SIPEK and not SIPEK2

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by vinu.vik...@gmail.com on 29 Jun 2012 at 7:06

Attachments: