dllimport


how to use DllImport in metro-style app


I'm trying to use DLLImport in metro-style project.
[DllImport("pjsipDlld.dll")]
private static extern int dll_init();
void test()
{
dll_init();
}
I copied pjsipDlld.dll and its dependencies to the output directory. The project build seems fine. It crashes when I launch it though.
and when debugging i get this exception "DllNotFoundException" when calling the native method.
I followed the very same procedure in a WPF project and every thing went well with no errors or crashes. Am I missing something in metro-style app?

Related Links

how to use DllImport in metro-style app
Converting doc file to post script
How can I get a COM component which can be used on Windows phone 8 project with C#
Externs and DLL imports
Mixed native and managed code heap corruption
MarshalDirectiveException
call unmanaged C++ code from C# using pinvoke
Detecting DLL Code Splicing
WOW64 Redirection and LoadLibrary
Using C# dll in Windows phone 7
Python 2.5 Import dll AttributeError
Replacing the Import Table in PE file by standart LoadLibrary
Unresolved external symbol
Declare and <DllImport> in VB.NET have different results
how to import/export dll and use its function
HELP linking library in DLL project

Categories

HOME
eclipse
spark-streaming
awk
webdriver
css3
twig
gradient
javacc
permissions
babeljs
zip
tvos
crystal-reports-2013
azure-container-service
joomla3.0
fosrestbundle
openstreetmap
tput
intercom
pybossa
frequency-distribution
dynatrace
gource
esoteric-languages
lilypond
kendo-mobile
named-entity-recognition
xunit
xcode-ui-testing
onload
itunes
maze
oculus
winexe
winpe
volatile
cart
r-grid
sammy.js
hunspell
nested-lists
html-encode
pdw-file-browser
fiware-cygnus
xajax
alphabetical
google-knowledge-graph
wurfl
jpad
release
filesystemwatcher
signals-slots
trigonometry
odoo-website
postgresql-8.4
parser-generator
microsoft-metro
claims
ssrs-2014
bindingnavigator
apollostack
apache-spark-dataset
flask-login
procfile
vaadin-elements
xbmc
dbcontext
launchctl
tf
payara-micro
compiler-design
reachability
rmongo
cudd
microstation
async.js
cifilter
lz77
false-sharing
blitline
state-restoration
tfs-workitem
r-package
extjs-grid
toolkit
ember-cli-rails
jdk1.7
beatsmusic
punycode
entry-point
imagefilter
lnk
mutual-authentication
syndicationfeed
multitasking
android-usb
c++builder-xe5
tlf
observium
facebook-timeline
web-notifications
joomla3.1
panda3d
qtconcurrent
boost-signals
extconf.rb
u2netdk
exponentiation
vs-android
object-database
office-2007
application-verifier
movieplayer
appliance

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App