Silverlight hosting using development server


hi

 

i'm using c++ library reads config.ini file , has methods access usb device.

this library wrapped in c# class library com access.

a setup , deployment project installs c# com object , library being wrapped correctly, mentioned config.ini file read bin/debug directory (of the c# console client) reason, not location setup&deployment project installs c# , c++ libraries.

my question is, place config.ini file access silverlight (as said, installation directory of deployed com object not c++ library looks config.ini) ?

 

thank you

etienne marais

dont use current working directory, thts mistake did in case. if silverlight use getexecutingassembly().location.tostring(); not sure method allowed coz of security in sl.

current working directory windows explorer selected directory wrong in many cases.



Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........