Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

sultan_of_6string

@sultan_of_6string
About
Posts
28
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Fixed... yet another query
    S sultan_of_6string

    Thanks a lot. I tried that, but whenever I try to boot to RHL, the system restarts. My config is a little wierd: Partition 1: Drive C NTFS--System Partition 2: Linux /boot Partition 3: Linux root (beyond LILOs 1,024 cylinder limit) Partition 4: Linux Swap Partition 5: Drive E NTFS--Boot (don't ask why, I can't figure it out) So, I installed LILO to the /boot partition and used dd, but it didn't work. Argh! Why must NT hijack my MBR?!

    System Admin question database help

  • Fixed... yet another query
    S sultan_of_6string

    Thanks for the response. You seem to know about this so could you help me out here? I've read about this stuff of copying the first 512 bytes, but it doesn't seem to make sense. Won't it corrupt my NTFS partition? If you could give me a few points or link me to a decent article, it would be great. Plus, I got the strange feeling I'm posting on the wrong website... any suggestions? Thanks.

    System Admin question database help

  • DirectX
    S sultan_of_6string

    You want to do this with DirectDraw? Sorry, but that still isn't simple!

    C / C++ / MFC graphics game-dev help

  • Fixed... yet another query
    S sultan_of_6string

    Okay, I got over the LILO problem in my last post, but I've got another problem. The genius that is the Windows installer has made C: my system partition and D: my boot partition. I need to make C: my boot partition as well (cuz D is beyond the 1024 cylinder limit of LILO). How do I do this? Simply copying ntldr and company doesn't work. Thanks.

    System Admin question database help

  • Red Had Linux screwed XP
    S sultan_of_6string

    So, I needed to install RHL 7.1 for academic reasons. I deleted one of my extra NTFS partitions and installed RHL into it. The thing is, I installed LILO to the MBR. RHL setup didn't detect my XP boot partition. Manually adding it to lilo.conf results in an error: NTLDR not found. What have I done? How do I fix it? Thanks.

    System Admin help question linux workspace

  • to C.NET or not to C.NET
    S sultan_of_6string

    Yeah, the CLR runs the same, but the C# and VB.NET compilers are really bad at optimizing code. I found that out with ildasm, and I think there is an article on MSDN about performance tuning .NET which admits the same thing.

    .NET (Core and Framework) c++ csharp dotnet help question

  • Linked List?
    S sultan_of_6string

    As I learnt while writing an article on an MC++ linked list, that is very, very slow. The only way to put a managed pointer into an unmanaged class is using the gcroot template, which is extremely, extremely slow. By the way, I created a linked list in C# that I'll post as an article in a few weeks. It is faster than ArrayList on some accounta and vice-versa.

    .NET (Core and Framework) data-structures question

  • to C.NET or not to C.NET
    S sultan_of_6string

    Quite frankly, it doesn't matter what language you choose (VB.NET C# or MC++) because they all work the same framework and 99% of what they can do is the same. MC++ is the most powerful and most flexible, but can be the biggest pain, as you don't have a GUI interface for designing forms/windows. C# and VB.NET are practically identical, except that C# can work with pointers (which I've never had a use for). If you're really performance oriented, create the front-end in C#/VB.NET and the back-end in MC++, as the C#/VB compilers suck.

    .NET (Core and Framework) c++ csharp dotnet help question

  • DirectX and .Net
    S sultan_of_6string

    I strongly recommend you don't even try. COM Marshalling is really slow. You're best off creating a Managed C++ class library that contains native DirectX code. Still, there are some features such as Direct3D FVFs that are impossible to implement as managed code.

    .NET (Core and Framework) csharp graphics game-dev question

  • command line
    S sultan_of_6string

    The default VB projects normally create Sub Main(), kinda like void main() in C++. Well, just like in C++, there are other "versions" of the main function: Sub Main(ByVal CmdArgs() As String) Function Main() As Integer Function Main(ByVal CmdArgs() As String) As Integer Just replace the default with the one you need.

    Visual Basic help tutorial

  • Removing CR-LF's from a string using Regex
    S sultan_of_6string

    Whoa! So easy! Thanks a lot. I was doing something really wierd.

    C# regex csharp

  • Removing CR-LF's from a string using Regex
    S sultan_of_6string

    Hi! I've got these strings that have \r\n's in them. I wanted to know if there is a way to remove them from the string using the .NET regular expression engine, instead of StringBuilder. Thanks and sorry about the double-post.

    C# regex csharp

  • file renaming
    S sultan_of_6string

    Use System.IO.File.Move(originalName, newName); After all, renaming is just moving it to the same folder with a different name.

    C# com help tutorial

  • Windows XP is incompatible with Windows XP
    S sultan_of_6string

    So this is my third clean install of XP Pro. It runs fine through an administrator account, but when when one logs on as a user, IE enters long, deep sleeps while visiting Hotmail.com and Windows Messenger refuses to start up. How do I cure this bitch?

    The Lounge question com

  • HTML rendering in C#
    S sultan_of_6string

    Hi! I need to be able to view web pages in a C# application. Does anyone know how to use the IE or Mozilla engine in .NET?

    C# csharp html tutorial question

  • HEEEEELP!!!!
    S sultan_of_6string

    Sounds like your making a graph. Well, whatever it is, you could easily write a translation function. I don't know what the properties and function names are, but the following pseudo-code should give you the idea Point TranslatePoint(Point p) { Point q; q.x = p.x; q.y = Window.Height - p.y; return q; }

    C# question

  • IL Question
    S sultan_of_6string

    After disassembling the Managed C++ code, I realized that I can optimize it better than the compiler. However, the MC++ included some native code which can't be disassembled with ildasm so I can't compile it with ilasm. Besides, since the stuff is managed, it doesn't really matter what language I write in; I like C#.

    .NET (Core and Framework) csharp dotnet data-structures question

  • IL Question
    S sultan_of_6string

    By Microsoft's own admission, the C# compiler is not much of an optimizer. I need to get a particular class working blazing fast, so I'm using ildasm to get the IL, modifying it and ilasm-ing it back to a PE. I need to know what's a faster way to push two references to the current object onto the stack: ldarg.0 ldarg.0 OR ldarg.0 dup Thanks

    .NET (Core and Framework) csharp dotnet data-structures question

  • MFC Combobox help please...
    S sultan_of_6string

    To generate random numbers, use the srand(time(NULL)) to seed the generator. Then use rand() to get a random number between 0 and MAX_INT (4 billion or so). To scale this massive range down to that of your listbox, use this formula: rand() % listbox.ItemCount (or whatever the property is) That will generate a number between zero and listbox.ItemCount - 1. You +/- and constant value if you need to shift the lower limit or use rand() % (listbox.ItemCount + x) to shift the upper limit.

    C / C++ / MFC question c++ help

  • Template Troubles (Solved)
    S sultan_of_6string

    Hehe!;)

    C / C++ / MFC c++ help sharepoint wpf graphics
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups