Yeeeehaw ^^
Der incredible Leitman hat doch tatsächlich einmal etwas gewonnen :)
Vorgeschichte:
Mittlerweile hat das österreichische Spieleportal eine eigene Gruppe auf Facebook,
auf der ihr natürlich herzlich willkommen seid :)
Zu erreichen galt die 1.000 Fan Grenze,
dann wird eine nigelnagelneue XBox 360 unter den Fans verlost.
Und siehe da,
direkt am 1.12. erscheint mein Name im Gewinnpost ^.^ (party)
Sodala,
und um nun zu beweisen,
dass mein Gewinn tatsächlich versanft und erhalten wurde,
eine kleine Fotostrecke:
(jaja, ich weiß, ich bin ein Kacke Fotograf xD)
hm... was mag in diesem Paket wohl drinnen sein ? ;)
TATSÄCHLICH! :-o Eine XBox!
... aber ist das Paket nicht bloß leer? ;)
oder mit Styropor befüllt? xD
In diesem Sinne,
vielen Dank nochmal für das verfrühte Weihnachtsgeschenk an die Betreiber von Nextgen.at
Frohes Fest :)))
Montag, 6. Dezember 2010
Dienstag, 9. November 2010
Dictionary.ContainsKey() confusion in C#
-.-
Dictionary.ContainsKey() confusion in C#
http://msdn.microsoft.com/en-us/library/7h9bszxx%28v=VS.80%29.aspx
http://bytes.com/topic/c-sharp/answers/266088-override-gethashcode
http://msdn.microsoft.com/en-us/library/xfhwa508%28v=VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/kw5aaea4%28v=VS.80%29.aspx
Herb Sutter:
http://herbsutter.com/2008/01/01/gotw-88-a-candidate-for-the-most-important-const/
Dictionary.ContainsKey() confusion in C#
http://msdn.microsoft.com/en-us/library/7h9bszxx%28v=VS.80%29.aspx
http://bytes.com/topic/c-sharp/answers/266088-override-gethashcode
http://msdn.microsoft.com/en-us/library/xfhwa508%28v=VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/kw5aaea4%28v=VS.80%29.aspx
Herb Sutter:
http://herbsutter.com/2008/01/01/gotw-88-a-candidate-for-the-most-important-const/
Mittwoch, 27. Oktober 2010
Resourcen für die Webentwicklung
http://www.w3schools.com/
http://de.selfhtml.org/
http://www.html-world.de/
Jetzt lerne ich Javascript. Webprogrammierung mit JavaScript, (X)HTML, CSS und Co.
http://books.google.com/books?id=fUH85iGmc0oC&lpg=PP1&ots=yxK2wnqDiS&dq=Jetzt%20lerne%20ich%20Javascript&hl=de&pg=PA207#v=onepage&q&f=false
http://de.selfhtml.org/
http://www.html-world.de/
Jetzt lerne ich Javascript. Webprogrammierung mit JavaScript, (X)HTML, CSS und Co.
http://books.google.com/books?id=fUH85iGmc0oC&lpg=PP1&ots=yxK2wnqDiS&dq=Jetzt%20lerne%20ich%20Javascript&hl=de&pg=PA207#v=onepage&q&f=false
Labels:
Aktuelles,
Internet,
Privates,
Programming,
Projekte
Mittwoch, 20. Oktober 2010
Konverter für dotnet Sprachen
Heute nur ein ganz kurzer Beitrag, ein Link:
http://dotnet.mvps.org/dotnet/faqs/?id=languageconverters... selbstredend ^^
Labels:
.NET Develop,
Internet,
Programming,
Projekte,
Software,
Technologie
Mittwoch, 13. Oktober 2010
... just MORE more incredible :D
w00t, jetzt ganz neu,
incredible Bots, Teil 2!
http://incredibots2.com/
Es ist sogar möglich, seine Bots aus Teil eins zu übertragen :)
na dann, auf gutes Gelingen,
euer incredible Leitman
incredible Bots, Teil 2!
http://incredibots2.com/
Es ist sogar möglich, seine Bots aus Teil eins zu übertragen :)
na dann, auf gutes Gelingen,
euer incredible Leitman
IncrediBots - Just more incredible ^^
Böse Zungen mögen nun behaupten, ich bin lediglich an einem upranking per Google mit dem Begriff "incredible" interessiert,
aber Tatsache ist, ich finde IncrediBots geil :)
in Incredibots gilt es Roboter zu zeichnen, die eine vorgegebene Aufgabe ("Challenge") lösen müssen.
Das Spiel ist äußerst komplex, bietet aber ein tolles Tutorial.
Hier gehts zu den incredible Robotern: http://incredibots.com/
aber Tatsache ist, ich finde IncrediBots geil :)
in Incredibots gilt es Roboter zu zeichnen, die eine vorgegebene Aufgabe ("Challenge") lösen müssen.
Das Spiel ist äußerst komplex, bietet aber ein tolles Tutorial.
Hier gehts zu den incredible Robotern: http://incredibots.com/
Freitag, 10. September 2010
Unhandled exception Win32Exception - Error creating window handle
Unhandled exception Win32Exception,Error creating window handle - AboutMyDot.Net
Unhandled exception Win32Exception,Error creating window handle.,System.Windows.Forms, at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.CreateGraphicsInternal()
at System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
at System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
at System.Windows.Forms.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.ControlNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.ComponentManager. System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager. FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
————————————————
This is a very boring error, it means that all the available windows handlers are finished so your application can’t create new windows. The limit seems to be 1000 windows but as you can imagine it’s really hard to think that someone could write a program that uses 1000 opened windows. The problem is that somewhere in your code you think you have closed forms and released controls but they’re just hidden and continue to occupy memory and handlers. I had this problem with a software developed by my company, RYHAB Solutions, and we lost a lot of time to figure out where the problem was. At the end we understood what was going on.
We had in our code something like this:
I searched a lot on the web and a lot of people talked about freeing manually resources and other strange things, someone assumed that it could be a .net bug. Actually i can say that it was my fault, no strange things behind, just a programming bug. I’m sure that most of the people that have the same problem could solve it as i did just ensuring that they close their forms properly.
Don’t waste time searching for strange solutions, just check what you do with forms
If you have this error message in your application use the CLR Debugger provided by Microsoft. It’s a graphical tool that shows you everything appening in a managed application, opened forms, memory usage, controls, events … everything. This is really useful to understand if something you tought was closed is opened instead.
Here is the link to download the tool:
http://msdn2.microsoft.com/en-us/library/7zxbks7z.aspx
maybe it requires the Platform SDK, you can get it on Microsoft site too.
Unhandled exception Win32Exception,Error creating window handle
———————————Unhandled exception Win32Exception,Error creating window handle.,System.Windows.Forms, at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.CreateGraphicsInternal()
at System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
at System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
at System.Windows.Forms.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.ControlNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.ComponentManager. System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager. FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
————————————————
This is a very boring error, it means that all the available windows handlers are finished so your application can’t create new windows. The limit seems to be 1000 windows but as you can imagine it’s really hard to think that someone could write a program that uses 1000 opened windows. The problem is that somewhere in your code you think you have closed forms and released controls but they’re just hidden and continue to occupy memory and handlers. I had this problem with a software developed by my company, RYHAB Solutions, and we lost a lot of time to figure out where the problem was. At the end we understood what was going on.
We had in our code something like this:
- public sub CloseWindow()
- if typeof(me) is mybaseclass then
- me.visible=false
- else
- me.close()
- end if
- end sub
public sub CloseWindow() if typeof(me) is mybaseclass then me.visible=false else me.close() end if end subWe used this sub in a base class so all the classes that hinerited by this returned “mybaseclass” when calling typeof(me). This caused all the windows to be hidden instead of closed so they occupied all the available handlers in few hours and program crashed.
I searched a lot on the web and a lot of people talked about freeing manually resources and other strange things, someone assumed that it could be a .net bug. Actually i can say that it was my fault, no strange things behind, just a programming bug. I’m sure that most of the people that have the same problem could solve it as i did just ensuring that they close their forms properly.
Don’t waste time searching for strange solutions, just check what you do with forms
If you have this error message in your application use the CLR Debugger provided by Microsoft. It’s a graphical tool that shows you everything appening in a managed application, opened forms, memory usage, controls, events … everything. This is really useful to understand if something you tought was closed is opened instead.
Here is the link to download the tool:
http://msdn2.microsoft.com/en-us/library/7zxbks7z.aspx
maybe it requires the Platform SDK, you can get it on Microsoft site too.
Labels:
.NET Develop,
Bugs und Sicherheitslücken,
Privates,
Programming,
Projekte,
Software,
Technologie
Abonnieren
Kommentare (Atom)