Using C++ dll in C# project
hi everybody,
in c# code need use c++ dll. have test console project works fine when build exe. however, when try run form vs pressing f5 these errors:
'wwlocalconsoletester.vshost.exe' (clr v4.0.30319: wwlocalconsoletester.vshost.exe): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.xml\v4.0_4.0.0.0__b77a5c561934e089\system.xml.dll'. skipped loading symbols. module optimized , debugger option 'just code' enabled.thread 0x2bc4 has exited code 259 (0x103).
thread 0x2498 has exited code 259 (0x103).
'wwlocalconsoletester.vshost.exe' (clr v4.0.30319: wwlocalconsoletester.vshost.exe): loaded 'c:\_siriusware\dev\wwlocalconsoletester\bin\debug\wwlocalconsoletester.exe'. symbols loaded.
'wwlocalconsoletester.vshost.exe' (clr v4.0.30319: wwlocalconsoletester.vshost.exe): loaded 'c:\program files (x86)\siriusware\pool\ww_local.dll'. cannot find or open pdb file.
program '[14900] wwlocalconsoletester.vshost.exe' has exited code 1073741855 (0x4000001f).
-------------------------------------------
i removed part of output.
in actual project have project working on , test project. when try debug test, terminates (the dispose method of 1 of classes called) when hit line calling c++ function.
so, question - should in order debug tests normal? there way not require pdb files? not want debug c++ dll, want able use result of call of method.
thanks in advance.
for every expert, there equal , opposite expert. - becker's law
my blog
my technet articles
pdb debug information file used visual studio. these system dlls, don't have debug symbols for. go tools->options->debugging->symbols , select checkbox "microsoft symbol servers", visual studio download pdbs automatically.
-----------------------------------------
if reply mark answer.
free managed .net excel, word, pdf component(create, modify, convert & print)
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment