Hello, I have been trying to convert a ulong into it's component bits. Unfortunately there is no converstion operation, and using pointers this is not possible, since there is no pointer of size 1 bit. I have also tried the BitArray operation, but this only allows for int32 size variables... so I converted my ulong into 2 ints. However the result was not correct. Now I do not have any ideas how to proceed. Could somebody pls help me?
NiteShade
Posts
-
Converting ulong into an array of booleans -
Object reference not set to an instance of an object.I'm starting to think that it may be a bug in mySQL or a microsoft program. Is there any way you can close all open connections to the database manually? Andrew
-
Object reference not set to an instance of an object.It usually works... except on certain occasions. My best bet would be that the mySQL is not deallocation the connections in spite of me calling the close methods. Andrew
-
Object reference not set to an instance of an object.yes, the error is occouring on cn.open (where cn is the set OdbcConnection). The following is the stack trace: [NullReferenceException: Object reference not set to an instance of an object.] System.Data.Common.Odbc32.SQLFreeHandle(Int16 HandleType, HandleRef StatementHandle) +0 System.Data.Odbc.DBCWrapper.CloseAndRelease() +191 System.Data.Odbc.OdbcConnection.DisposeClose() +311 System.Data.Odbc.OdbcConnection.Open() +638 Andrew
-
Object reference not set to an instance of an object.I'm haveing problems with opening a connection using Odbc in an ASP.NET page. First it starts of well and good, but after a while I'm receiving the error: Object reference not set to an instance of an object. I'm sure I'm closing the connections each time I use them, but I cannot understand why this error is happening. Does anybody know? Andrew
-
Need HelpIf you want to keep a linked list you won't search very fast, unless you add some other data structures with it. I'd suggest data hashing (order 1 search with a good algorithm) or AVL trees, which are better than binary search trees but require more work. Andrew
-
ASP.NET Text BoxI am having trouble with the ASP.Net textbox. First I'm adding text from database, and when I run the page, in spite of changing it, the value returned is always the one given by the database. why is this? Thanks Andrew
-
Calling Web Services from a web pageDear people, I have been searching for the correct code to call upon a webservice directly from an aspx page. Can anyone tell me how to do it?
-
Needleman Wunsch10x a lot. I'm not a java guru, but I'll try to understand it from Java code. :)
-
Needleman WunschHello, I am currently having a hard time finding any good references for the needleman wunsch algorithm to learn and implement it in C#. Does anyone please have a reference or can help me by supplying pseudo or proper code? 10x Andrew Cortis