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.38 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-09-02
[02:18]<kjr>so instead of selling it to me, he gave it to me. He still paid for it
[02:18]<zyjvnz>microsoft loves putting wierd restrictions on versions like that
[02:18]<jusvygc>Kog: well there was some loophole ....
[02:18]<kjr>HE didn't get it for free
[02:18]<kjr>I did
[02:18]<jusvygc>MS prevented people from selling Windows online except with hardware
[02:18]<kjr>JustinC: he didn't sell it to me ;)
[02:18]<jusvygc>so a bunch of online merchants started selling $5 usb dongle things with a copy of Windows
[02:18]<fz1dbz>wow
[02:18]<fz1dbz>i just learned something very good
[02:18]<jusvygc>to get around the "it must be sold with hardware" restriction
[02:18]<jusvygc>something like that. MSFT got pissed :)
[02:18]<zyjvnz>thats not MS
[02:18]<fz1dbz>drawing my idea in a paper
[02:19]<fz1dbz>helps alot
[02:19]<jusvygc>rioter: what do you mean? it's not a special version
[02:19]<zyjvnz>thats oem laws
[02:19]<fz1dbz>wtf why i didnt did that before...
[02:19]<jusvygc>rioter: I just got normal Windows XP Pro... no special restrictions
[02:19]<fz1dbz>i should draw anything i want to do
[02:19]<fz1dbz>before trying to code it lol
[02:19]<jusvygc>well, I can't sell it for a profit... I think that's it though. but the version is normal
[02:19]<zyjvnz>so they just sold you a copy of a 200$ os for 25$
[02:19]<jusvygc>well, it's a $25 OS actually :)
[02:19]<zyjvnz>i bet there are restrictions on it
[02:19]<jusvygc>but yeah... why wouldn't they?
[02:19]<jusvygc>nope, it's normal
[02:19]<jusvygc>you could ask me why they did it :P
[02:19]<jusvygc>or you could keep speculating
[02:19]<jusvygc>:D
[02:20]<zyjvnz>or you could just tell us
[02:20]<jusvygc>because i was an employee
[02:20]<jusvygc>i had an internship with them this summer :p
[02:20]<jusvygc>employee store has a bunch of cheap stuff
[02:20]<jusvygc>i got some ridiculous wireless laptop laser mouse of the future for $10
[02:20]<zyjvnz>i bet the licence voids when your no longer a employee
[02:20]<jusvygc>its pretty neat
[02:21]<jusvygc>the dongle is contained in the mousye itslef... you pop it out and put it in a USB port, then it's working
[02:21]<jusvygc>nah
[02:21]<jusvygc>I get to keep it
[02:21]<jusvygc>I can reven resell it, but not for a profit
[02:21]<zyjvnz>eh, plus microsoft has its internal network of everything
[02:21]<jusvygc>it actually has a lot less than you'd think
[02:21]<gzup>there was a scam a while back, where employee was buying heaps of cheap copies of XP from the store and reselling them on ebay or something...
[02:21]<jusvygc>for a lot of software you need approval to install it
[02:22]<rrvy_>hi... i'm trying to do COM interop... and getting the reportavoncomrelease triggered... all i get is the value (in hex of a vtable pointer ... presumably this is the vtable for the object on which the release is causing an exception)... is there a way to figure out what type the vtable pointer belongs to?
[02:22]<zzgmzjym>"reportavoncomrelease"?
[02:22]<zyjvnz>JustinC eh, friend who works there just used to grab things off the network, beta's previous versions etc
[02:23]<rrvy_>Randroid: yeah... I can paste the description of the error... just a sec
[02:23]<rrvy_>An exception was caught but handled while releasing a COM interface pointer through Marshal.Release or Marshal.ReleaseComObject or implicitly after the corresponding RuntimeCallableWrapper was garbage collected. This is the result of a user refcount error or other problem with a COM object's Release. Make sure refcounts are managed properly. The COM interface pointer's original vtable pointer was 0x6141b180. While these types of exceptions a
[02:24]<rrvy_>Unfortunately... i'm not doing any of the ref counting myself so I have no idea where its failing
[02:24]<zzgmzjym>Ravi_: Are you doing low-level COM interop or did you just import a typelib?
[02:25]<jusvygc>rioter: well yeah they have a ton of MSF software... but not a lot of non MS.. or not as much as I thought
[02:25]<rrvy_>Randroid: if by low-level COM interop you mean did I define the interfaces myself - yea I did that .. couldnt find a .tlb for the UrlMon stuff i needed
[02:26]<zzgmzjym>OK, so you did a "manual import" essentially, but with the appropriate guids, etc. to tell .NET where to look and what to do, right?
[02:26]<rrvy_>the actual functionality seems to work... as in the MIME filtering functionality I wanted ... I was able to get... but after a few seconds, it does that exception
[02:26]<rrvy_>Randroid: yeah
[02:26]<rrvy_>I worked from the idl
[02:28]<zzgmzjym>Ravi_: That's bizarre, then. Unfortunately I got nothing. You've reached my level of expertise as far as COM Interop goes. If you can actually instantiate the object and use it, .NET should be taking care of the rest. If not, perhaps there's some oddity with that object that makes it unusable from .NET. I've heard there are a few, though I can't name any names.
[02:29]<rrvy_>Randroid: hrm... weird.. I was just wondering if there was a way I could work back from that address to the object type... any tools for that type of thing?
[02:30]<zzgmzjym>Ravi_: None I know of.
[02:30]<rrvy_>Randroid: k, tks
[02:31]<zzgmzjym>Ravi_: I can't even think, given a raw vtable pointer, how you could possible know what object it points to. Unless I'm mistaken, a vtable pointer doesn't contain any kind of type information at all. It's just an array of function pointers, but I'm no expert on that.
[02:31]<zzgmzjym>Ravi_: An application already has to know what it's got before it can use the vtable, not the other way around.
[02:32]<ijfrus>Hey all, can anyone tell me if there is a way to navigate a flowlayoutpanel from child control to child control with arrow keys? I have a flowlayoutpanel full of selectable controls and would like to be able to navigate them with the keyboard.
[02:32]<2j2>how do you get the ip address of a computer
[02:32]<2j2>in C# of course ;D
[02:32]<rrvy_>well, yeah... I kind of was thinking that but there might be a forward list somewhere in the debug info that you can do a reverse lookup from..
[02:32]<rrvy_>DOn't know enough though
[02:32]<zzgmzjym>Ravi_: Me either.
[02:33]<2j2>BNYEUR
[02:34]<rrvy_>bob: look at System.Net.DNS class
[02:51]<mgglslrrgrgv>Does anyone here have experience writing shell namespaces?
[02:51]<jusvygc>Yes.
[02:52]<mgglslrrgrgv>can you go over the process with me, i've done some work (reading a few tutorials) and im still missing some pieces to the puzzle
[02:52]<mgglslrrgrgv>right now im just trying to get it to work at all
[02:53]<mgglslrrgrgv>http://msdn.microsoft.com/msdnmag/issues/04/01/WindowsShell/default.aspx#S9 thats what i'm using at the momeny
[02:53]<mgglslrrgrgv>moment*
[02:54]<mgglslrrgrgv>and i took his interfaces and base class and added a form like it says but it fails to mention what project settings i need and how to register the dll
[02:54]<mgglslrrgrgv>so i have something i want to test, but am not sure how
[02:56]<mgglslrrgrgv>JustinC: ?
[02:58]<ijfrus>Does anyone know if a ControlCollection's items are indexed in order or if there can be gaps in the indexes?
[02:59]<mgglslrrgrgv>darn, i think JustinC vanished.
[03:02]<jusvygc>Nope, I'm here. But I was lying about having experience writing shell namespaces :P I don't know what they are, in fact.
[03:03]<mgglslrrgrgv>oh great.
[03:03]<jusvygc>Sorry,
[03:03]<mgglslrrgrgv>haha :)
[03:04]<mgglslrrgrgv>they are extensions to windows shell to create virual folders (like gmail drive) etc
[03:15]<rrvy_>is there a com channel?
[03:16]<mgglslrrgrgv>dont know
[03:20]<sxyg-rr>hey guys
[03:21]<sygn_>yo
[03:31]<fzzrjs>I'm executing a console app from a c# program using Process.Start(..) and a shell window is spawned to show the output of the app. How can I squelch this window from appearing?
[03:32]<fzzrjs>s/shell window/console window/
[03:32]<fzzrjs>oh.. figures. I ran across ProcessStartInfo right after posting that question.
[03:35]<fz1dbz>largo
[03:35]<fz1dbz>largos
[03:35]<fz1dbz>the max message ill receive is the same size as my mtu ?
[03:36]<fz1dbz>or at least the server mtu ?







