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: 1822.56 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-31
[18:52]<drdyrrr>yes
[18:54]<awjzdd>lol
[18:56]<awjzdd>so far we have..
[18:56]<awjzdd>T.I.T.S. G.O.D. Drop It Like Its Hot and Cha-Ching!!
[18:56]<awjzdd>quite the little software development firm we have here
[18:56]<ycnr_>=)
[18:56]<drdyrrr>not as cool as the proposed name for my old work
[18:56]<drdyrrr>"Hot Squirrel"
[18:57]<ycnr_>Hot Squirrels arn't that cool, now are they? :P
[18:57]<drdyrrr>heh
[18:59]<awjzdd>lol
[19:16]<sdfvrg>Hey.. about that unsafe code... Any way to turn a pointer into a regular reference again? Or at least find some sort of word-sized representation of a reference that can be turned back into a regular reference for use in safe code?
[19:16]<sdfvrg>(I want to store a reference to a safe object inside a data structure written in C)
[19:19]<lcs>Marshal.MarshalIntPtrAs(....)
[19:19]<vxznrm__>try giving System.Runtime.InteropServices.Marshal a look
[19:20]<sdfvrg>thanks
[19:21]<sdfvrg>But what if the GC will relocate the object?
[19:21]<sdfvrg>So I store the IntPtr at some point, and then much much later I want to return the reference, but maybe the GC relocated the object during that time?
[19:21]<lnvnzxu>always pin pointers on the GC heap in native code
[19:22]<sdfvrg>pin pointers?
[19:23]<lnvnzxu>pinning tells the GC that there will be a native reference on the object the GC cannot track, and therefore the object is pinned in place so that a GC can't move it
[19:24]<lnvnzxu>depending on how you marshal your pointers to the native code, this may already be done for you
[19:24]<lnvnzxu>time for lunch, i'm starving
[19:24]<sdfvrg>Hmm... any reference on how to do this?
[19:30]<lnvnzxu>if you're P/Invoke, the marshaller automatically pins all reference types being marshaled as native pointers for the duration of the call
[19:30]<lnvnzxu>for explicit control over pinning an object, there's the GCHandle class
[19:31]<lnvnzxu>(structure)
[19:32]<lnvnzxu>time to grab a bite, bbiab
[19:38]<-- dzwzuvxjzdvd xzs>utf8")
[19:50]<rgvjgys`>what is best to use withasp.net ifi make two buttons for language selecting and i create them with a placeholder
[19:50]<rgvjgys`>from database becouse i don't know how many there will be of them
[19:51]<rgvjgys`>and if i click on one of them
[19:52]<rgvjgys`>then it would place the lang variable
[19:52]<rgvjgys`>in a cookie or smth
[19:52]<rgvjgys`>a session in this example
[20:02]<2uc>Can one of you recommend some UML tool?
[20:02]<2uc>OpenSource, please.
[20:36]<rjjgwq>buk, I have used ArgoUML or something. It was ok.
[20:36]<rjjgwq>I think you can get it from tigris
[20:36]<txnjzd>buk: what OS?
[20:36]<rjjgwq>Argo is Java, should work on any.
[20:37]<rgmznrs__>Dia and Violet for me
[20:37]<rgmznrs__>Violet is java, Dia is a pretty portable gtk-app
[20:37]<rjjgwq>dia does UML ? Is that new ?
[20:38]<rgmznrs__>0.95, yes
[20:38]<rjjgwq>ahh
[20:39]<jjjg-gug>Sorry guys, is this proper c sharp sintax? -> public event EventHandler<ExpandedEventArgs> Expanded;
[20:39]<jjjg-gug>syntax
[20:39]<jjjg-gug>XD
[20:43]<tdlnr>C# has vectors?
[20:44]<rgmznrs__>List<int> is a vector
[20:44]<rgmznrs__>ArrayList is a vector
[20:44]<rgmznrs__>heck, even int[] is a vector
[20:45]<tdlnr>managed C++ lacked vectors :(
[20:46]<svzz[wjzc]>hey guys i need huh... an advice about what tyope of collection to choose... my book doesn'T say much about them, only 3 pages on classes of system.collections... so i need a collection putin items sequentially in it, allowing access to any element, and that i can only remove the last element and add a new element at the end..
[20:46]<svzz[wjzc]>i see here that Stack work like that, being a LIFO queue but i don't know if i can "access" any member at any time
[20:46]<svzz[wjzc]>i work actually with a List<> was wondering if anything could be better
[20:47]<txnjzd>List<> sounds what you want
[20:47]<lnvnzxu>Joon-Gun: yes, with the generic EventHandler
[20:47]<dnscr>ahr .. anyone has ideas how to restore 2.0 MonthCalendar style to 1.1 style?
[20:48]<dnscr>cause now it makes selected dates white :/
[20:48]<svzz[wjzc]>Theory oh fine then, thanks
[20:48]<jjjg-gug>peterhu, mmmm I'm getting invalid tokens
[20:48]<lnvnzxu>joon-gun which version of visual studio / mono?
[20:48]<jjjg-gug>peterhu, 2003, i was wondering if it was that
[20:49]<lnvnzxu>.NET 1.1 does not support generics
[20:49]<jjjg-gug>peterhu, do you have a gun?
[20:49]<jjjg-gug>Just Shoot Me
[20:49]<lnvnzxu>no worries
[20:49]<jjjg-gug>heheh, thanks, I'm getting the 2005 tommorow anyway, but i wanted to be sure
[20:50]<jjjg-gug>peterhu, thanks
[21:09]<jz22nzwjac>Hello. do you guys know of an API that will run on both pocket pc and palm os?
[21:11]<jjjg-gug>Jabberwock, there was one called "Booster" but it was ugly
[21:11]<jz22nzwjac>Oh :/
[21:12]<jjjg-gug>but that was a couple years ago, I dont know if any other came up
[21:12]<jz22nzwjac>You familiar with PDF?
[21:12]<jjjg-gug>unfortunally
[21:12]<jz22nzwjac>The military needs a program that will let them browser through information about vaccines..
[21:12]<jz22nzwjac>http://www.immunizationed.org/
[21:12]<jz22nzwjac>I see this app that these people at the Uni of Pittsburgh wrote. They released it for both palm os and pocket pc
[21:13]<jz22nzwjac>I'm wondering if I could get away with it in a simple clickable pdf
[21:13]<jz22nzwjac>But I'm not familiar enough with PDF to know if that's feasible
[21:14]<jjjg-gug>so you just need a pdf browser?
[21:14]<jz22nzwjac>Ie.. HOW interactive can a pdf really get?
[21:14]<jjjg-gug>XD
[21:14]<jz22nzwjac>I don't know. It depends on the above statement
[21:14]<jz22nzwjac>question, rather
[21:14]<jjjg-gug>newest pdf's allow video on them
[21:14]<jz22nzwjac>Neat. Are they as interactive as web pages? Ie.. I could have a back button etc
[21:14]<jjjg-gug>video / flash / etc
[21:15]<jz22nzwjac>Wonder if the adobe readers' for pda's do that
[21:15]<jjjg-gug>you could use adobe's readers
[21:15]<jjjg-gug>cant tell
[21:15]<jjjg-gug>go to adobe's web site and check it ou t ;)
[21:15]<jjjg-gug>gotta go, From time to time I need to work
[21:16]<jz22nzwjac>thanks
[21:18]<dgrrdrg69>how do i do credit card processing in c#?
[21:22]<sdnffdxdlld>you need to use a service provider, have a merchent account and then the service provider normally gives you an api to use
[21:23]<dgrrdrg69>okay
[21:27]<zgzzcydjvgev>bahahahah!!!







