• Content count

  • Joined

  • Last visited

Community Reputation

122 Neutral

About Beelzebub

  • Rank
  1. Nope it's not that, I can single step down to the CreateWIndow call and everythings fine. But I've just found the problem, CreateWindow loads a 'Messenger Plus 3' DLL (an extension to MS-Messenger) and it is that that's taking the time to load, which is strange cos the DLL is 60K in size - anyway off to MsgPlus's forum to try and get an answer
  2. I'm doing a tool for a game and the initial call to CreateWindowEx() takes about 10 seconeds to complete when debugging (Run/F5 and Single step/F10), but if I run without the debugger (Ctrl-F5) it's full speed ahead. I've even tried adding a HelloWorld MessageBox() as the first line of WinMain, but that also takes 10 seconds before it appears??? Anybody got any ideas? PS. I'm using Visual Studio 2003 in C++
  3. Teachers (TV show)

    Cheers for the info guys, glad I'm not the only one confused about cast members just disappearing. Wasn't that impressed with the first show, but I'm hoping that now the new characters as established the story will pick up a lot. And American's wake up, not everything happens with in the boundarys of your 50 states.
  4. Teachers (TV show)

    New series has just started on channel 4, I think I must have missed the end of the last, cos I can't remember what happend Andrew Lincoln's character and the dweeby IT and PE teachers. Didn't get the bit about the current cast taking a leak on the Kirk's grave...
  5. What's your worst driving experience?

    Back when I was 18, didn't have a car of my own so I borrowed my parents, night time, raining, and had just left the petrol station, driven straight across crossroads (lights were green obviously) and hit a car with no lights on that was pulled out after being parked illegally. Not much damage to either car only 20 mph. But telling my paraents that I'd damaged their car - eventhough it was not my fault - that was scarry. And resently: I live a small village, driving down one of the country lanes (1 lane each way, no divider between the lanes) 100m ahead I can see a 17 year old learner driver coming towards me, driving fine, no problems. But then when he's 10m away to starts steering straight at me, luckly his instructor grabs the wheel and corrects the course. I guess the kid concentrating so much on my nice shinny Evo8, he forgot to think about driving. The Worth thing about it, I'd only had this Evo a few weeks.
  6. Joke

    Guy gets a new car, showing it off to his neighbor they go for a drive around the block. "The radio on this thing is really cool, it's voice activated. Look." He says, "Watch this, RADIO ON" The radio turns on. Friend: "That's nothing special" "This is the best bit." says the guy, and continues in a clear voice "Mobi" Radio: "Searching for songs by Mobi" and the radio starts playing Mobi songs. The friend is suitable impressed, and they drive on changing between Pink Floyd, Mobi and any other band they can think off. The radio obediently replying "Searching for songs by <band>". The two friends are busily chatting away and the driver doesn't notice 2 teenagers stepping out on to a cross walk. At the last moment he sees them and slams on the brakes, missing them by inches. When the cars stopped shuddering, the driver screams out "Fucking kids" in frustration. Radio: "Searching for songs by Micheal Jackson"
  7. The worst pick up lines ive ever heard

    "Great pair of legs, what time do they open" "Do you have any Yorkshireman in you? Do you want some?"
  8. When Did You Start Programming?

    10 - ZX-81 BASIC, learnt to program from the manual that came with the machine. 13 - Pascal on an IBM-XT clone, 14 - Realised Pascal was a bad idea and started C and assembler. 30 - 6502 assembler, needed it for my job!
  9. Pet peeves

    Declaring variables, this way: int* ptr; I can live with it for a single variable, but when you declare multiple variables on a single line it falls apart... int* one, two, three; Why? Cos 'one' is an int pointer, but 'two' and 'three' are plain ints.
  10. Some people DO NOT need pets!

    Try some reverse psychology on these people (I use the term loosely), next time you see them outside, out outside and call them over you. When they walk over, you walk off with out saying anything. After a few times they'll get pissed off and ask you what you are doing. Explain you've seen them doing it to their dog, and you thought it was a fun game, so you had a go. It might be too subtle for them, but maybe you'll be able to educate them.
  11. I pasted some code directly from my source file which had '\' on the end of the lines, and the webpage formatter removed and changed them into a load of spaces... Edit: It appears that backslash on the end of normal text also gets swollowed... #define _DUMP4(what1,what2,what3,what4) { \. char __string [256]; \. sprintf (__string, what1, what2, what3, what4); \. _DUMP (__string); \. } becomes... #define _DUMP4(what1,what2,what3,what4) { char __string [256]; sprintf (__string, what1, what2, what3, what4); _DUMP (__string); }
  12. Debugger break points

    You could try dumping lots of messages to the "Output" window in the IDE - then when get lock up hit Debug/Break, and the bottom of the output window will show the last messge you outputted. You can also cause a debugger break point when an illegal condition occurs. Very useful when you're passing pointers around, you can check all pointers at the start of every function, 99.9% you'll never hit these break points, but when that 0.1% happens the program will stop before memory has been too trashed. These are the macros I use: #define _DUMP(what) OutputDebugString (what), OutputDebugString ("\n") #define _DUMP4(what1,what2,what3,what4) do { char __string [256]; sprintf (__string, what1, what2, what3, what4); _DUMP (__string); } while (0) #define _BREAK(why) do { _DUMP4 ("%s@%d: %s", __FILE__, __LINE__, why); _DEBUGGER (); } while (0) #define _BREAK_IF(x,why) do { if (x) _BREAK (why); } while (0) PS: You'll need to add \ to the end of the multiline #defines, the source tags formatter for the webpage screws up if I included them.
  13. AVP

    "No matter who wins, the audience looses" - according to a review in an LA paper.
  14. WinMail.DAT

    Outlook 2000 is really pissing me off, sometimes when I send an email with an attachment is arrives as a winmail.dat or it's not attached at all. Anybody got any ideas - please.....
  15. FPGAs - Anyone use them?

    Working with a FPGA contractor on my current project - he recommends - the compiler is free and latest version includes a scalable CPU (8, 16, or 32 bit).