jwenting 1,905 duckman Team Colleague

Short log is good ;)

Most likely the driver for your flashdrive is slow. You shouldn't need one anyway on any version of Windows newer than Windows 98.

O4 - HKLM\..\Run: [PHIME2002ASync] C:\WINDOWS\System32\IME\TINTLGNT\TINTSETP.EXE /SYNC
O4 - HKLM\..\Run: [PHIME2002A] C:\WINDOWS\System32\IME\TINTLGNT\TINTSETP.EXE /IMEName

What are those 2 for? They LOOK harmless and probably are, maybe those are resource hogs?

jwenting 1,905 duckman Team Colleague

These look highly suspicious too:
O16 - DPF: {3B02AAA2-327C-40ED-A849-4BE819AE5385} (ImgSizer Control) - file://C:\Documents and Settings\Administratör\Lokala inställningar\Temp\~DlfnTmp0\imgSizer.ocx
O16 - DPF: {56336BCB-3D8A-11D6-A00B-0050DA18DE71} (RdxIE Class) - http://207.188.7.150/03493b97aa74f0...ip/RdxIE601.cab

And get rid of realplayer. It's a spyware infested mess.

Replace Norton with a good AV product.

jwenting 1,905 duckman Team Colleague

Another addition: NEVER use filesharing programs like Kazaa and NEVER visit sites distributing warez or other pirated stuff.

All of them (and their products) come loaded with all kinds of nasties. It's hard enough for experts to prevent getting infested and infected when testing those things to see how they can be countered, for the uninitiated it's nigh on impossible unless they get extremely lucky.

jwenting 1,905 duckman Team Colleague

You might start posting your questions in relevant places where people may find them sooner that can help you out...

First learn Java, and learn it very well. This should take a few years.
Then start writing the game design document. This should describe exactly what the game is, storyline etc. etc. in excruciating detail. It should also contain things like concept art.
Then create a technical design based on that design doc.

You should now be about half a year further along.

Then start looking at what APIs are appropriate at that time for the tasks at hand for your game.

jwenting 1,905 duckman Team Colleague

nah. it's written in the wrong font size, that machines that have trouble cannot read the small text.

jwenting 1,905 duckman Team Colleague

You're asking for help in a criminal activity. Anyone rendering such help will themselves be guilty of a criminal act...

jwenting 1,905 duckman Team Colleague

but your paying all that money for someone to teach you are you not??

Most kids don't pay for school. Their parents do but don't pass on the bill, so the kid never knows the cost of their schooling.

jwenting 1,905 duckman Team Colleague

You have to wonder why ID and Valve didnt turn to one of the many "Hey-make-a-game-in-5-minutes-even-with-3d!" programs on the internet to make their latest creations......

They did. It took them 3 years to write that program, then 5 minutes to create the game using it ;)

There's use for Java and C++ both, there's even use for Cobol and PL/1.
Neither is perfect, neither is omnipotent.

Personally I favour Java for most things but when you really need to get down to the hardware Java gives up by design.
Any library that claims to allow direct hardware access is in fact going through a JNI interface which plugs into a C or C++ (usually) library to do the actual interfacing.

Where Java is particularly strong is networking, something the language was designed to be used for.

jwenting 1,905 duckman Team Colleague

main reason to use a trackball (if I could find one I can use and like) would be because they limit micromovement of the mouse hand and therefore reduce the risk of RSI which is not to be discounted, especially for IT workers (which is one reason I use a €100 keyboard and an €80 mouse).

jwenting 1,905 duckman Team Colleague

I've never liked them, which may be caused by the fact that I've only ever seen right handed ones and I'm totally left handed.

I've trouble even finding a GOOD mouse as all the quality models are sculpted for right handed use only :mad: :evil:

jwenting 1,905 duckman Team Colleague

it's your recycling bin. It's not only harmless, it's meant to be there.

jwenting 1,905 duckman Team Colleague

BlackIce has a rather poor reputation as a "firewall". It used to have a lot of holes while at the same time reporting nonexistent attacks to make people think it was doing its job.

I'd suggest you get another firewall to replace it.

That screensaver sounds dubious. MANY "free" screensavers will in fact install spyware and backdoors, allowing their creators access to your system (usually for nothing more sinister than having a look at your browsercache for things to spam you which is still spyware).
You may want to get rid of all Webshots stuff.

O16 - DPF: {047CE197-F3B0-40EE-B4BD-D8B388AB5EFD} - file://C:\Recycled\193350.exe

you got a program running from inside your recycling bin. NEVER good news.

O4 - HKLM\..\Run: [SupaDial] C:\Program Files\SupaDial\SupaDial.exe /A

don't know what that is. Could be a hidden dialer trying to connect you to expensive 0900 dialup services.

O2 - BHO: IeCatch2 Class - {A5366673-E8CA-11D3-9CD9-0090271D075B} - C:\PROGRA~1\FLASHGET\jccatch.dll
O8 - Extra context menu item: Download All by FlashGet - C:\Program Files\FlashGet\jc_all.htm
O8 - Extra context menu item: Download using FlashGet - C:\Program Files\FlashGet\jc_link.htm

and all other flashget crap. Just about every download manager is spyware. Get rid of them.

O23 - Service: BrSplService - brother Industries Ltd - C:\WINDOWS\System32\brsvc01a.exe

did you install this? If you have a Brother printer it's probably genuine, but it could be something trying to hide as a printer spooler.

jwenting 1,905 duckman Team Colleague

Get a GOOD book.
The O'Reilly book on JSP is excellent.

Don't start on EJB unless you must. It's an overweight technology that should not be used in over 90% of the cases it is used...

And no, you're not getting private assistance. Asking for that in a public forum is extremely rude.

jwenting 1,905 duckman Team Colleague

read the instructions, the installation (and integration with Apache) are well documented.

And no, I'm not going to email you about it. Asking for private assistance in a public forum is extremely rude.

P.S. you may want to check out the period (.) key on your keyboard and use it a bit more in your writings.
Properly used it creates sentences which make text a lot easier to read.

jwenting 1,905 duckman Team Colleague

no.
You CAN IF the network card supports it query the network card using a proprietary API for that card and command it to do some things.
This is (for security reasons) usually either disabled, not installed, or severely limited.
You'd also need a (usuall) C or C++ program for it.

And no, we're not going to help you write a program that can shut down another computer over the internet.

jwenting 1,905 duckman Team Colleague

no you can't, at least not in that form.
The conditional expression returns a value, it cannot terminate a method.

Instead you would use

return (a==2)?4:5;
jwenting 1,905 duckman Team Colleague

and get rid of weatherbug which is spyware infested.

jwenting 1,905 duckman Team Colleague

like I said, you can't...
You could create a Map with those Strings as keys and integer values indexing an array of integer constants as values which you can then use as indices for the switch.
Easier to use a series of if ("black".equals(blah)) ... instead.

jwenting 1,905 duckman Team Colleague

ah yes, Commander Keen it was. Those were the days ;)

I personally don't think using some kind of generator to create a game out of existing components to be game development...
I agree you won't have to go around building the entire engine (though IMO that's the fun part, I couldn't care less about user interface programming myself which is why I specialise in batchprograms and other serverside stuff) but a 3D game is still a lot more work on things outside the actual game logic system to distract people.

jwenting 1,905 duckman Team Colleague

Depends on the game ;)
Writing games isn't for the fainthearted though, and you need a lot of experience in a lot of different areas to go it alone (graphics, sound, AI, user interface design, etc. etc. etc.).
If you want to go that way, start small.
Don't go out to write a competitor to Doom3 or even Wolfenstein 3D. Start with tic-tac-toe, then maybe Pong. Pacman is next.
From there you may think of a sidescroller like Captain Keen.

A few years down the line you may then start thinking of beginning to design something 3D. That design should take several months before you write your first line of code and years before you have something worth showing the world.
That is, if you work on it fulltime and don't give up for a job that brings in money to pay the rent :)

jwenting 1,905 duckman Team Colleague

yes, in your case it works for linebreaks because regular expressions only work on a single line.
It does however not work for tabs.

jwenting 1,905 duckman Team Colleague

You can only switch on integer constants (static final int) or literals.

jwenting 1,905 duckman Team Colleague

hmm, if you drank 49 of those bottles you'd see 102 of them now ;)

jwenting 1,905 duckman Team Colleague

If you have a text that
has words on more than one line with
no space between them looking only
for spaces as word boundaries
will mean you see
a lot
less
words
than
you
should.

jwenting 1,905 duckman Team Colleague

I've had bad luck with DVD writers myself. Only the third drive I got worked, the other two never worked at all (they were faulty right out of the box).

Have the drive checked by the manufacturer or return it for a refund if possible and get one direct from Toshiba to replace it.
May cost you a bit more but you get their service and support and most likely a higher quality unit too.

jwenting 1,905 duckman Team Colleague

I've only twice had trouble with Maxtor drives in a decade (and using about a dozen of them).
Neither was the fault of the drive (bad controller on the motherboard blew them) yet in both cases Maxtor replaced the drive under warranty.

Contact them, their support department is good.

jwenting 1,905 duckman Team Colleague

every software company I've dealt with has a replacement program for faulty disks.
Within a few weeks they'll usually do that for free, otherwise for a small fee.

I've personally dealt with Corel, Microsoft, Borland, Cavedog, Logitech, and others. In all cases I paid at most about €10 for a new diskset.
You'll be without the game for a week or two, but that's it.

Every time someone downloads a crack the writer's ego grows and his attitude of doing the right thing to thward the "evil" software companies gets reaffirmed.

jwenting 1,905 duckman Team Colleague

my car's a '96 Ford ;)

jwenting 1,905 duckman Team Colleague

and hardcoding directories into the exe...

He's just hardheaded in the extreme I think, refusing to listen to any advise that tells him he's not going to get what he wants.

jwenting 1,905 duckman Team Colleague

LOL, you're all off by 1 again... So to get you back on track: 93

jwenting 1,905 duckman Team Colleague

well, it works according to the standard definition of what a word is, which is anything delimited by whitespace.
Of course it's not complete as you fail to detect line breaks and tabs as word boundaries.

jwenting 1,905 duckman Team Colleague

if you want to clear selective positions, you'll need to write the text that's there in the background colour to those positions.

This is an age old technique employed by terminal applications on mainframes and it works well.

jwenting 1,905 duckman Team Colleague

BC5 can compile 16 bit Windows programs just fine. Not sure about DOS programs though.
16 bit Windows doesn't support BGI.

jwenting 1,905 duckman Team Colleague

Just about all AV products cost pretty much the same which is between 60 and 80 Euro a year.
I've used (over the years) quite a few. McAfee is good but (with Norton) a bit too much worldwide standard and therefore target for clever evasion tactics on the part of virus authors.

I'm now using Kaspersky which is good. Some false positives but I'd rather have those than false negatives like Norton is prone to giving.

jwenting 1,905 duckman Team Colleague

if you had read that other thread you'd have understood that you can NOT use BGI graphics under Windows.
It's specifically DOS ONLY.

jwenting 1,905 duckman Team Colleague

I've removed the side panels for easy access. I don't see the point in doing anything else because the machine is tucked away under my desk anyway where I don't see it.
Besides, I like the way normal machines look :)

jwenting 1,905 duckman Team Colleague

10

OK, not everyone likes to count to base 79 so 120 it is (and that's octal).

jwenting 1,905 duckman Team Colleague

Anything you can do with C++ you can do with Java (at least where file handling is concerned ;) ) .

Norton is probably the WORST antivirus product on the market, far from being the best.
It has just about the worst detection ratio I've ever seen, during one test I performed a 2 week old McAfee found 5 virusses a Norton that had been updated missed completely in just a few minutes...

jwenting 1,905 duckman Team Colleague

You don't want to do that. It's considered rude in command line programs and in all others building up your own screen will replace what's underneath it anyway (at least while your application is running).

There's no platform independent way to achieve it btw (probably because of that) so if you insist you'll have to plow through your compiler documentation to see if there's a function for it and how to call it.
You could of course always figure out the memory location of your screenbuffer and manually poke zeros into each position and hope.

jwenting 1,905 duckman Team Colleague

You may first want to look in the manuals for BC5. They're quite complete and contain a lot of information on how to actually use the environment and set all the options...

There's way too much to OpenGL and DirectX to explain it all here, pick up a good tutorial (I love books ;)) and work through that. Libraries have been written full on the subject but you will want to start small.

jwenting 1,905 duckman Team Colleague

because the revenue from them is quite low...
And also because Google isn't known to be very good at paying.
One day of over average clickthroughs and they often cancel all payouts claiming you were using a script to generate traffic. No defense, no nothing, you just loose out and they win.

jwenting 1,905 duckman Team Colleague

Wow, you've been using Borland C++ for 2 years and you still have only "a touch of programming"?

jwenting 1,905 duckman Team Colleague

experiment and you'll learn. I basically told you what to do in an earlier reply, all you have to do is translate that into code.

jwenting 1,905 duckman Team Colleague

yes, delete anything below the first </html> tag, that should remove all illegal content (no sane person would allow for more than one html block per page anyway as it's not allowed under the html standards, and any validating parser will barf over it.

jwenting 1,905 duckman Team Colleague

valid html with only one tag? Valid html requires ALL tags to be closed so if you don't use closing tags your html is invalid by definition ;)

Does the virus code always start with a fixed and unique sequence? If so, you can just load the files line by line and write everything to a memory buffer up to the first line with that sequence.
Then keep reading (but don't write) until the first line that's not part of the virus code.

When you're done, close the file and reopen it for writing, clearing the file content (File has methods for this). Move the entire buffer into the file and close it.

Of course if the virus doesn't (always) put itself on new lines of the files but inserts itself into existing lines you need to do a bit more.

jwenting 1,905 duckman Team Colleague

Sure it could.
If you can find something that uniquely identifies the start and end of the block you can use that as search criteria for the block and filter it all out.

jwenting 1,905 duckman Team Colleague

Correct. The "scientists" who came up with this nonsense never heard of reactionless thrusters or time dilation effects.
While in the past the reindeer may well have been functional I'd venture that currently they're mainly kept for appearances' sake and the real propulsion system is more advanced.

jwenting 1,905 duckman Team Colleague

I've never heard of this server.
Is it secure enough? Most non-professional servers are riddled with holes allowing people to break into your machine and install all kinds of backdoors (the first of which usually is using it to host illegal material like child porn which could get you into jail).

Before setting up ANY server on your machine make sure you're allowed to by your ISP. Many specifically say you are NOT allowed to self-host in which case starting a webserver could well get your account terminated.

jwenting 1,905 duckman Team Colleague

If I can teach one person to learn to find their own answers I'll have helped one person...
If I regurgitate code for everyone who wants some I've helped noone as they'll still not know how to find their own answers and will forever (or more likely until they end up in the unemployment line) come here for more and more.

jwenting 1,905 duckman Team Colleague

From the Win32 API reference (as supplied by Microsoft):

int WINAPI WinMain(

    HINSTANCE hInstance,	// handle to current instance
    HINSTANCE hPrevInstance,	// handle to previous instance
    LPSTR lpCmdLine,	// pointer to command line
    int nCmdShow 	// show state of window
   );

lpCmdLine

Points to a null-terminated string specifying the command line for the application.

You're not getting it as a nice array of commandline arguments but you are getting it.

Full helpfile is available here: http://www.borland.com/devsupport/borlandcpp/patches/BC52HLP1.ZIP (it's a Microsoft file supplied by Borland including complete search index).