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.68 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-31
[16:16]<lcs>you only need to implement a call with hashtable
[16:21]<lcs>hashtable will be containg function names as key, and array of funtcion overloads with given number of arguments (just array of integers)
[16:22]<lcs>after calling VariableFunctionClass.CallVariable("somefunction", array_of_arguments); it will check if given version of function exists
[16:23]<lcs>if it does not, it imports is with proper reflection
[16:23]<svlnvnz>where is loadlibray/getprovaddress?
[16:23]<svlnvnz>*getprocaddress
[16:24]<y-gz>kernel32.dll
[16:24]<lcs>next it creates and calles reflection: somefunction(array_of_arguments[0], array_of_argument[1], and so on...);
[16:24]<lcs>otherword, VERY STUPID DESIGN
[16:25]<svlnvnz>i think, i'll find some barrier
[16:25]<svlnvnz>pks: and yes is stupid that is not supported
[16:31]<svlnvnz>bah i can't realize what to do after i have an intPtr that is the pointer to the function i need to call
[16:33]<svlnvnz>http://www.nomorepasting.com/paste.php?pasteID=66030
[16:47]<gjrvcxnne>mornin yall
[16:47]<afd>morning goat!!!!
[16:47]<pzynsv-jp-psy>cheeese!!!!!!!!!!!
[16:47]<pzynsv-jp-psy>worms!
[16:50]<afd>hi worm!!!!!!!!
[16:50]<afd>hi Priest-of-Psi!!!!!!
[16:50]<afd>hi damieng!!!!!
[16:50]<afd>hi mufdvr!!!!!
[16:50]<drdyrrr>lo
[16:50]<mupmvz>lo all
[16:51]<drdyrrr>hey mufdvr
[16:51]<mupmvz>mondays:(
[16:59]<cjmgrug>damn.. i've lost all motivation to read on ADO.NET
[17:00]<svlnvnz>i've a .net 2.0 prog that works with directshow and capture from a pci aquisition card and put grabbed frames on a picture box
[17:00]<svlnvnz>all works wel on winxp sp2
[17:01]<svlnvnz>but on win 2003 server i get an exception on the drawimage called autonomously by the framework on window.onpaint
[17:02]<hzzzd>http://www.everfall.com/paste/ is more powerfull than nomorepasting.com
[17:03]<svlnvnz>http://www.everfall.com/paste/id.php?za2bngs1udbn
[17:03]<svlnvnz>this is the stacktrace and exception
[17:03]<cjmgrug>Harry: what is that expiration lock?
[17:03]<svlnvnz>if someone can change the expiration time
[17:04]<svlnvnz>i think
[17:04]<hzzzd>4 CodeRun : when the code will expire and will be deleted
[17:04]<hzzzd>these sevice has a synthax highlights
[17:04]<svlnvnz>pastebin is also better i think but in the last weeks is slow
[17:06]<`d0>:o
[17:06]<`d0>is it getting faster
[17:06]<`d0>i tend to go to the .ca domain instead of the .com domain
[17:07]<svlnvnz>.ca seems different from .com
[17:08]<cjmgrug>com has 3 letters :p
[17:10]<svlnvnz>lol
[17:11]<gjrvcxnne>stpeter: what is the method that fails?
[17:12]<svlnvnz>nothing in mycode
[17:12]<gjrvcxnne>also, anyone happen to figure out hot to force an application's window to thr front?
[17:12]<gjrvcxnne>stpeter: what function call throws the exception
[17:12]<gjrvcxnne>nm, i'll figure it out from the stacktrace
[17:12]<svlnvnz>System.Drawing.SafeNativeMethods.Gdip.GdipDrawImageRectI
[17:12]<svlnvnz>yes
[17:13]<awjzdd>AqD: sup
[17:13]<awjzdd>mornin' guys
[17:13]<svlnvnz>GoatCheez: full exception: http://www.everfall.com/paste/id.php?za2bngs1udbn
[17:13]<gjrvcxnne>stpeter: It's probably a permissions thing then... does the user on the win2k3 machine have administrator privledges?
[17:13]<svlnvnz>yes
[17:14]<svlnvnz>i get the bitmap from the samplegrabber directshow filter and copy it to the picturebox.image
[17:14]<gjrvcxnne>stpeter: can you paste the code for GdipDrawImageRectI?
[17:14]<svlnvnz>and after i get this error
[17:14]<svlnvnz>only on win 2003 server
[17:15]<svlnvnz>GoatCheez: it's a microsoft class
[17:15]<svlnvnz>but i think simply it call the equivalent in the gdiplus.dll
[17:15]<svlnvnz>unmanaged
[17:16]<gjrvcxnne>i'm looking....
[17:16]<svlnvnz>someone have win 2003 server?
[17:16]<gjrvcxnne>stpeter: where do you get your GpGraphics and GpImage objects?
[17:16]<gjrvcxnne>where did you get this assembly you are using?
[17:17]<gjrvcxnne>funny how it says safnativemethods, yet clearly calls Win32 API methods
[17:17]<svlnvnz>?? i'm using the .net 2.0
[17:17]<svlnvnz>all the stack trace is inside the microsoft classlib
[17:17]<rwyfcygs>It does call the gdiplus.dll method
[17:18]<rwyfcygs>Some classes have "UNsafe" native methods too
[17:18]<svlnvnz>could be the gdiplus.dll is wrong version?
[17:18]<rwyfcygs>Not sure what the distinction is
[17:18]<gjrvcxnne>i cant find a damn thing on this....
[17:18]<gjrvcxnne>no docs anywhere... wtf.
[17:18]<svlnvnz>but i've done nothink , only installed 2003 and the 2.0 framework
[17:18]<gjrvcxnne>my msdn 2.0 doesn't have anything on it
[17:18]<svlnvnz>i see :(
[17:18]<rwyfcygs>Is it something to do with IIS permissions on Win2k3S
[17:18]<dnn2nd>whats the easiest way to indent a XML file that I have in a string?
[17:19]<gjrvcxnne>awilkins: i doubt it's an IIS project
[17:19]<svlnvnz>no iis
[17:19]<rwyfcygs>meeby: Use XmlWriter with indenting on
[17:19]<svlnvnz>a simple one form proggy that capture images from the webcam
[17:19]<dnn2nd>awilkins: no other way around MemoryStream? its so ugly
[17:19]<rwyfcygs>Oops, sorry
[17:19]<svlnvnz>into the picture box
[17:19]<rwyfcygs>Thought hte debug log looked like an ASPX page
[17:19]<gjrvcxnne>stpeter: where did you find documentation for that class
[17:19]<svlnvnz>which class?
[17:20]<rwyfcygs>meeby use StringReader if you have a problem with MemoryStream
[17:20]<gjrvcxnne>System.Drawing.SafeNativeMethods.Gdip
[17:20]<rwyfcygs>It's a hidden class
[17:20]<svlnvnz>no where, it's internal
[17:20]<rwyfcygs>I poked around in there with Refelctor
[17:20]<rwyfcygs>It calls the same routine in gdiplus.dll
[17:20]<svlnvnz>an internal wrapper for gdi+
[17:21]<gjrvcxnne>stpeter: then how the hell did you find documentation to use it
[17:21]<svlnvnz>i don't use it







