C# - 3CX - Access violation when calling method in PCL through NetNamedPipeBinding -


i trying integrate crm 3cx windows api, have simple windows application lets enter number , button instantiate call, method go , call method in pcl attached 3.

now when pressed button nothing happened, checked syntax many times , looks should , doesn't error out, opened task manager right clicked 3cx while running , pressed debug. once visual studio debugging 3cx clicked call button in windows application , 3cx throws following.

error

i'm not sure whats going on great, thanks.

call windows applications

private void cmdcall_click(object sender, eventargs e)     {         imakecallservice makecallservice = _makecallchannelfactory.createchannel();         makecallservice.makecall(txtnumber.text.trim());     } 

call method in 3cx pcl

public void makecall(string destination)         {             task.factory.startnew(() =>             {                 _instance._callhandler.makecall(destination, makecalloptions.none);             });         } 

project hierarchy:

project hierarchy

this line of code throws access violation

_instance._callhandler.makecall(destination, makecalloptions.none); 


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -