Sign in to follow this  
Vortez

VS6 Hack - Caret Extension

Recommended Posts

Hi! I've been lucky enough today to find this little hack for vs6 that add a nice replacement caret instead of the same vertical boring one. You can see the original work here. The new replacement caret is way better now, but do we have to have an horizontal caret in insertion mode that make feel like we are now working in a dos windows??? So, with more luck, using a dissasembler i've been able to find the corresponding injected code, near the end of the file, and done modification so we have a normal vertical carret in instert mode. Here is my version and here is how i've done it:
replaced those(from the given code on the web page):
   push   2     ; nHeight
   push   dword [eax+54h] ; nWidth

for
   push   dword [eax+40h] ; nHeight
   push   2     ; nWidth

and canceled the code that make the cursor draw a line too low by replacing
    inc    edi ; don't increase if we are in OVR mode
and 
    dec    edi ; don't increase if we are in OVR mode

by NOP so this code dont execute and the carret is not moved about a line lower.
Isn't that great? Any Feedback welcome! EDIT: The file to replace is in the folder %ProgramFiles%\Microsoft Visual Studio 6\Common\MSDev98\Bin [Edited by - Vortez on January 18, 2009 5:05:25 PM]

Share this post


Link to post
Share on other sites
I know:)
... but like many hobbyist programmers, i like vs6 better, it just compile faster, and is better suited for little programs i make, i dont really feel the need to change unless i would work for a compagnie or something.

Share this post


Link to post
Share on other sites
I have not known compilation speed to be signifigantly degraded post-VC6.

However, it doesn't much matter since you're comparing apples to oranges. VC6 doesn't compile standard C++, let alone modern C++.

I think your assertion about 'most hobbyists' using it is off base, to say the least.

Share this post


Link to post
Share on other sites
Quote:
Original post by Vortez
I did that to help and i got my rating decreased, thx...
Next time i got some usefull code i think im gonna pass...


I'm sure if people got annoyed with your comment, it is because the message that it's okay to still use VS6 can be mistaken by newer programmers. There are still newbies who pop up from time to time and ask why x, y and z doesn't work when they use VS6. In every case, they are directed to use the newer compiler. VS6 is an awful C++ compiler. It wasn't even nearly compliant with C++98 and was riddled with bugs and edge cases. Most API writers aren't providing VS6 support anymore, including Microsoft. The notion that it's faster to compile a program is generally true, but mostly irrelevant. The compilation speed boost isn't enough to justify using a compiler over 10 years out of date in most cases. Part of the other sensitivity is I imagine some of us have worked with significantly out of date compilers, that companies thought were "good enough". The message needs to be consistent that these compilers aren't good enough and cost more money than they save.

A snippet for VS6 is cool... but probably not useful to most people here.

Share this post


Link to post
Share on other sites
usually in these forums you'll be rated up only for two reasons:

1. For being politically correct.
2. For being really helpful technically speaking.

If you post (and want) to get you rated up, you must consider those items.

Share this post


Link to post
Share on other sites
I guess I've never really considered this until now, but it probably also depends on how old your computer is. If it's an old Windows 98 machine with 128MB of RAM, you might not want to use anything past VS6 on it.

Share this post


Link to post
Share on other sites
Everyone gets rated down now and then -- I myself am no exception. Be warned, though; complaining about your rating when (many) others consider it justified tends to only exacerbate the problem.



While VS6 is a piece of shit, the chances that "many" hobbyist programmers still use it probably isn't too off base -- we still see the poor bastards often enough, wondering why their C-with-classes is causing access violations. It always seems to be either that or Dev-C++, which is similarly ancient.

Share this post


Link to post
Share on other sites
Quote:
Original post by iMalc
I guess I've never really considered this until now, but it probably also depends on how old your computer is. If it's an old Windows 98 machine with 128MB of RAM, you might not want to use anything past VS6 on it.


Or you could just skip the IDE and drop to the command line. :)

Share this post


Link to post
Share on other sites
Quote:
Original post by Zahlman
Quote:
Original post by iMalc
I guess I've never really considered this until now, but it probably also depends on how old your computer is. If it's an old Windows 98 machine with 128MB of RAM, you might not want to use anything past VS6 on it.


Or you could just skip the IDE and drop to the command line. :)
Yeah good call. I thought of that a while after posting.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this