IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.67 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-17
[20:09]<sdnffdxdlld>monad/powershell is done by MS for OS and application mantinance ... I dont think they'd see the point of porting it to linux :P
[20:10]<sdnffdxdlld>lo m0`
[20:10]<awjzdd>yo ho
[20:10]<y-gz>why would you port something that exists since ages on *nix ?
[20:10]<sdnffdxdlld>yer
[20:11]<y-gz>in that context i hate autotools bash scripting
[20:11]<y-gz>it's just too bizzare
[20:13]<d0`>who y0 callin a ho0
[20:13]<d0`>:(
[20:13]<sdnffdxdlld>lo wormy :D
[20:14]<lyfuym-wjzc>sup worms
[20:14]<lyfuym-wjzc>sup Andy
[20:14]<lyfuym-wjzc>again
[20:14]<lyfuym-wjzc>:P
[20:14]<sdnffdxdlld>;)
[20:14]<sdnffdxdlld>better now I have a J and I'm not dealing with VS/sql
[20:15]<lyfuym-wjzc>heheh
[20:15]<sdnffdxdlld>that'd be handy
[20:18]<maxgg>why would you port something that exists since ages on *nix ? <-- you have got to be kidding right
[20:18]<maxgg>PoSH seems different enough from bash or perl
[20:19]<maxgg>Moridin8: just click the eraser button then start your debugging
[20:19]<maxgg>oh wait
[20:19]<maxgg>yeah, aren't those irritating?
[20:19]<lyfuym-wjzc>smellyhippy what will be best in this case
[20:19]<lyfuym-wjzc>I need to return an object from a sql select query
[20:19]<lyfuym-wjzc>what will be best?
[20:20]<lyfuym-wjzc>A IList
[20:20]<lyfuym-wjzc>or something different
[20:20]<maxgg>are there megawidgets, specifically wizards, added to the windows forms 2.0 components collection?
[20:20]<sdnffdxdlld>eh?what do youu mean by return an object?
[20:21]<sdnffdxdlld>use a value from the select to retrive an existing object?
[20:21]<lyfuym-wjzc>well I have to return something so that I can do databinding
[20:21]<sdnffdxdlld>if its just the single object then bind to that
[20:21]<lyfuym-wjzc>or to manipulate the data
[20:22]<sdnffdxdlld>if itsa a collection then yeah add each returned item to a List and bind to that
[20:25]<d0`>heh I am starting to hate C# :)
[20:25]<d0`>It seems simpler to do it in C++
[20:27]<vufvuzn>do what exactly?
[20:28]<sdnffdxdlld>the haptics app hes working on ... theres alot of c++ intergration needed
[20:28]<d0`>heh
[20:29]<d0`>not really...
[20:29]<d0`>i love pointers :(
[20:29]<d0`>they are powerfull
[20:29]<d0`>inorder to use them in c# i need to unsafe it, and that scares me :x
[20:31]<vufvuzn>if you want to code in one paradigm use a language that supports it. If you're going to code in a different language you might want to take the time to realise that it promotes different style
[20:31]<vufvuzn>rather than working against it, you might try to work with it. (taht's wyh I don't code in C - I do'nt like the paradigm)
[20:31]<d0`>The thing that confuses me is that, why do in some places it works perfectly
[20:31]<d0`>and in some places PInvoke acts the way it wants to
[20:32]<d0`>For instance, when I use the return type to be a struct, then it returns whatever it wants to
[20:32]<y-gz>the final conclusion is that we all should code in x86 macro-enabled Object oriented assembly
[20:32]<d0`>doesn't equal to the correct valuie
[20:32]<y-gz>:P
[20:32]<d0`>lol
[20:33]<d0`>When I do this: error = HDDevice.hdGetError() it return 256 in C# and 101 in C++
[20:33]<d0`>So I assume there is a problem :)
[20:34]<y-gz>give c and c# method signatures
[20:35]<d0`>hm
[20:37]<d0`>http://pastebin.ca/90418
[20:37]<d0`>you wont figure out why it is giving a different result :S
[20:38]<d0`>I think I have to call the struct in decl
[20:39]<isnnisnn>can I use C++ code inside C# ?
[20:39]<isnnisnn>lets say I want to use an open-source library in my Pocket PC project ?
[20:39]<vxnsxrmjw>IseeIsee: O_o
[20:39]<vxnsxrmjw>IseeIsee: you can import com objects and the like
[20:40]<isnnisnn>I have never worked on com objects
[20:40]<vxnsxrmjw>IseeIsee: sorry you can't directly write C++ code in C#
[20:40]<vxnsxrmjw>IseeIsee: You can convert the c++ code to C# though ;)
[20:40]<isnnisnn>is there any other way to use C++ libraries in C# ?
[20:41]<dzmzaivnz>Just get someone to write a C++ to C# compiler. Clearly. :)
[20:41]<vxnsxrmjw>IseeIsee: If they are compiled and written in a .net language yes, or if its been wrapped in a managed language
[20:41]<dzmzaivnz>(Because that would make sense...)
[20:41]<maxgg>is there an microsoft blessed wizard control in windows forms?
[20:41]<isnnisnn>man its a GNU library
[20:41]<gjrvcxnne>are parameter arrays available in .net 1.0?
[20:41]<maxgg>there's a lot on codeproject
[20:41]<maxgg>but
[20:42]<maxgg>something blessed would be comforting
[20:42]<maxgg>i didn't think so since normally there's no megawidgets like that in windows forms 1.1/2.0 right?
[20:42]<maxgg>anyone?
[20:43]<d0`>i-nZ: found any errors here? http://pastebin.ca/90418 wondering why that function returns differently within C++ and C#
[20:43]<vxnsxrmjw>dchen: I think there is.. to create a wizard? but I don't remember where I saw it ...
[20:43]<gjrvcxnne>m0
[20:43]<gjrvcxnne>which funciton?
[20:43]<d0`>GoatCheez it is only 1
[20:43]<maxgg>TheShadow: yeah i don't recall Chris Sells mentioning one in his book when i read his 1.1 book
[20:43]<d0`>GoatCheez take a look http://pastebin.ca/90418
[20:44]<d0`>The struct seems to be faulty
[20:44]<gjrvcxnne>m0`: the hdGetError call?
[20:44]<d0`>yes
[20:44]<maxgg>there are a ton on codeproject but sometimes the solutions aren't quite as fleshed out as i like
[20:44]<gjrvcxnne>know what the actual struct looks like?
[20:44]<d0`>When I do this: error = HDDevice.hdGetError() it return 256 in C# and 101 in C++
[20:44]<d0`>i placed it in that page
[20:44]<isnnisnn>i'm looking for a mathematics library in C# ? like Matlab/Mathematica
[20:44]<gjrvcxnne>m0: so that stuff at the top is C?
[20:44]<maxgg>it's actually not a trivia exercise since you have to ensure validators follow groups (panels in the wizard and not fire in all other instances)
[20:45]<d0`>GoatCheez the top is c and bottom is C#
[20:45]<maxgg>i think validation groups is more well implemented in 2.0
[20:45]<gjrvcxnne>m0`: and you are 100% absolutely sure that the function is @ entry point 11?







