News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

GetLogicalDrives trouble

Started by Nilrem, February 09, 2005, 08:07:26 PM

Previous topic - Next topic

Nilrem

That aside it doesn't fix my problem. If you run and compile the program after entering your username it tells you the correct password (for testing purposes) but if you enter it, it says it's incorrect. Also it displays 00000000 for the volume serial number.

MichaelW

Nilrem,

When I am working on a project and it turns into a confused mess, I save the mess and start over with a clean sheet of paper, so to speak. It's not that I can't work with a confused mess, it's just that I prefer to apply a maximum amount of my increasingly limited brain power to the core task at hand, instead of wasting it unraveling a confused mess.
eschew obfuscation

Mark Jones

 That is so true Michael. I recently made a simple data-hashing algorithm and had to start over from scratch - twice - to get my head out of the clouds. Assembler is very non-intuitive at first, I tried it once about 10 years ago and gave up after a few weeks of it [hell]. But then it was all Win16/dos; Win32 is much nicer to work with. Especially if you get accustomed to using Ramon's Easy Code. :bg
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

Nilrem

I'd code it exactly the same way. If you compile it, it just doesn't work properly. I do not understand why, good advice but not really applicable in my case (I'll rewrite it and optimise it when it actually works). Any help?