I need to read information from an .INI file using this API
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string
section,string key,string def, StringBuilder retVal,int size,string
filePath);the .INI file is located in thebin folder. To get the right bin folder path I use Environment.CurrentDirectory or Assembly.GetExecutingAssembly().Location IF I run the tests insideVS2005 (with TestDriven.NET) they works fine but if I use mbUnit GUI I get a wrong folder. Can someone help me? Many thk. Claudio --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
