forum.alglib.net http://forum.alglib.net/ |
|
C# in Visual Studio install and usage for newbie http://forum.alglib.net/viewtopic.php?f=2&t=836 |
Page 1 of 1 |
Author: | DanG [ Thu May 09, 2013 12:50 am ] |
Post subject: | C# in Visual Studio install and usage for newbie |
Hello, I have been hacking my way thru c# in Visual Studio Express 2012. I have a pretty good project almost done, controlling a camera and doing the image processsing (using FreeImage). I added a reference to alglibnet2 to my project. I added interpolation.cs also. I get about 150 errors, most of them about names or namespaces not existing: Quote: The type name 'apobject' does not exist in the type 'alglib' Any help would be appreciated. I'm sure it's something simple an expert would know. Also, once I get it installed properly, what "using" command do i use? i.e., how do i invoke the methods? Thanks, Dan |
Author: | DanG [ Thu May 09, 2013 6:14 pm ] |
Post subject: | Re: C# in Visual Studio install and usage for newbie |
So I added all the alglib packages (.cs files, e.g., fasttransforms.cs, dataanalysis.cs...) The Build errors go away, but i still don't see how to call any of the methods. Meaning there is no alglib option for autocomplete when i type "using" at the beginning of a .cs file (again, in VS Express 2012)... ok, alglib is available inside the class methods in the autocomplete. Then a . after gives all the functions. So it is working! Can someone explain how this works? Why don't i need a using statement? Thanks, Dan |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |