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

Mangled member function name different during dllimport
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

Categories

HOME
service-worker
django
google-cloud-platform
delphi-7
apache-flink
ns-3
swt
serialization
google-cloud-functions
rds
visual-studio-emulator
banner
lanczos
github-enterprise
jsonpath
azure-powershell
xmonad
production
nodemcu
pagespeed
joptionpane
scriptella
jquery-callback
strongname
fat
linked-data
firebase-analytics
intersystems-cache
handler
exchangewebservices
tizen-tv
winpe
left-join
testbed
pdw-file-browser
apic
nohup
c9.io
hackintosh
resolution
magento-1.9.3
http-request
flask-login
uiimage
linter
openrasta
gitlist
chai-as-promised
yii2-user
template-toolkit
vibrate
shinobi
change-tracking
simplepie
mapxtreme
signalr.client
drawstring
mapinfo
stream-processing
fink
concurrentmodification
terracotta
oracle-spatial
sony-lifelog-api
lasso
zscript
zend-currency
delayed-execution
sonarqube-5.0
jama
twitter-bootstrap-rails
qscrollarea
scringo
jquery-1.9
android-icons
xcode3.2
appjs
usertype
fitbounds
floating-point-exceptions
google-maps-mobile
webdev.webserver
msr
appledoc
socketserver
diagrams
commerceserver2007
object-database
zen
burndowncharts
murmurhash
tui
business-model

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