the only way i can recall now is to put your data in a string then manipulated it the way you want. after that cast it back. i don't think there could be another way becuase you are accessing the memory directly here. good luck!
Mardawi
Posts
-
Safe version of unsafe code -
MFC, or not MFC...I'm wondering if it's still important to learn MFC or (if I'm not mistaking) VC++. If Microsoft is going to make Longhorn APIs managed, then where will be the advantage of using C++ and old APIs under Windows in the future? your advice is very important to me, please tell me what do you think? :confused:
-
IDE / Command Windowyeah, life isn't easy! ;P why don't you save the day and post some VB code and i'll help you translating it to C#. becuase i really don't know where i should start to help you.
-
IDE / Command Windowyeah, these function are not in C# as VB 6.0 for sure. you can debug by puting a break point anywhere, you have the watch window, locals and autos.
-
dynamic castingmaybe typeof() helps. it will give the type of the object. you should have cases of what types could obj be, it can't be just anything. unless you should go for Generics in C# V2.0 find about generics here: http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=370
-
Hibernate, disadvantages?no, i guess not. for sure all your ram memory will be stored in the harddisk then loaded agian, but it shouldn't couse any harm to the harddisk!
-
What's instead of DDEI'm working on a project that secives stock prices via DDE and i want to resend them over the network, since DDE isn't supported anymore in .net what is the best way to send these prices that can change more than twice a second:(( over the network? Thank you
-
DDE with C#do any body knows a good reference on how to use DDE by C# i tried to do that using DDEML (APIs) but am stucked with the getdata method, it takes a pointer paramenter to a data type that should be a string, and i don't think that we can make a pointer to a string in C#...ref and out gives a null reference exipition. please help me...i will be very thankful
-
how to fire or raise an eventHi i'm doing a user control in C#, where i have textbox controles, when ever a textbox is clicked (when the event textBox1.Click is fired) i need to FIRE the this.Load event (not to call the this.Load event handler method!!!). Because when i use this conrole in a form the event handler method will change. Thanks a lot PS: if you know how to do it on other .net languages tell me...it will be very helpful