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
delphi-7
deep-learning
polymer
fpga
powerpoint
youtube-data-api-v3
toolbox
jwplayer
devise
yandex
cublas
tivoli
square
maxscript
jtextpane
recordrtc
joomla3.0
jquery-ui-sortable
owin
reactive-programming
gson
text-mining
watson-conversation
shared-libraries
intershop
git-extensions
mapstruct
production
google-maps-autocomplete
visual-glitch
joptionpane
onload
ms-access-2003
8051
sinch
finagle
boost-asio
volatile
livelink
paragraph
weather
left-join
vue-chartjs
getpixel
google-earth-engine
metaprogramming
chef-solo
glm-math
snapchat
yii2-api
manova
bluez
static-cast
spring-data-couchbase
lsyncd
flac
choice
materialized-path-pattern
seek
google-cloud-console
resourcemanager
neon
pre-build-event
android-wake-lock
kango-framework
data-protection
redis-cluster
ascii-art
linklabel
ess
eoferror
atoi
jdk1.7
uncompress
linked-tables
botan
rrule
actionfilterattribute
showdialog
ss7
dot42
dsym
websphere-esb
koala
hibernate-entitymanager
workitem
preload
nokia-s40
zope.interface
faye
jsr286
virtualpathprovider
promotion-code
creole
quotation-marks
msr
codebase
cac
luajava
uideviceorientation
pagemethods
purepdf
sun
escrow
business-model
httpcookie

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