Search:

Type: Posts; User: Dekade

Search: Search took 0.02 seconds.

  1. Communicate between windows (same app & non MFC)

    What is the best way to communicate between different windows of the same application?

    Basically, all i'm trying to do here is show a "set up" window from the main window, change some settings,...
  2. [MySQL] "LOAD DATA INFILE" but only certain columns (csv)

    I've read around and seen how to load a csv file into a table, but what if the csv contains columns that you want to ignore?

    For example, say my csv file contains "col1, col2, col3, col4, col5,...
  3. Replies
    1
    Views
    613

    Re: HeapFree()

    Never mind. I have now changed the code to return a string instead and free the memory in the method.



    string cSetupWindow::GetInput(int ResourceID) {

    int len =...
  4. Replies
    1
    Views
    613

    [Resolved]HeapFree()

    I'm using a method to return a char pointer for retrieving text from a edit control. Everything works nicely, but i'm curious as to the memory management side of things. Here's the code:



    ...
  5. Replies
    2
    Views
    514

    Re: Copy all files in a directory

    How on earth did i miss that??

    Cheers :)
  6. Replies
    2
    Views
    514

    [RESOLVED] Copy all files in a directory

    Hello,

    I need to move all files found in a subdirectory into the parent directory. Would i iterate through all files in that subdirectory, gather the file name, fill out a file structure...
  7. Replies
    0
    Views
    1,583

    [C++ DX9] D3DXCreateMesh

    Does anyone have any experience with creating meshes "on-the-fly"? I'm trying to create a simple quad for now, but i must be missing something. I've read the theory in how it *should* work and have...
  8. Replies
    0
    Views
    492

    Memory could not be read [Resolved]

    I'm having trouble tracking down a bug. I have a small DX9 app that works in debug mode, but the compiled "release" mode will crash upon startup. I'm not getting any errors or warnings during the...
  9. Replies
    36
    Views
    18,043

    Wow people are still playing this huh? Cool. ...

    Wow people are still playing this huh? Cool.

    I'll use this opportunity to post an update for the world of Zombie Hordes. Firstly, the game that you've been playing has now become a spin-off to the...
  10. Replies
    36
    Views
    18,043

    Thanks for all the comments. I still have plans...

    Thanks for all the comments. I still have plans to develop this game one day, but for now i am caught up in way too much other stuff (technical term). I did do a slight update to the prototype and...
  11. Replies
    0
    Views
    489

    Looking for Sound Engineer

    First up, this is not a paying gig. Sorry.

    We're looking for a Sound Engineer to replace the current "footstep" sounds in our mod for the game Thief: The Metal Age. The ones we currently have...
  12. Replies
    36
    Views
    18,043

    Editor is now bundled with the game. A word of...

    Editor is now bundled with the game.

    A word of warning though... any maps you make with this editor will not be compatible with the full release. I have changed the structure and also have a whole...
  13. Replies
    36
    Views
    18,043

    Thanks for the suggestions. I'll definitely...

    Thanks for the suggestions. I'll definitely change the spec to incorporate some of those.

    I must admit that it was many moons ago that i last played an RTS game. I can soon switch the buttons...
  14. Replies
    36
    Views
    18,043

    Yeah i really need to implement a "restart"...

    Yeah i really need to implement a "restart" feature. I've found that i can usually continue with 3 soldiers, but once i'm down to two... well... a lot of civilians end up dead ;)

    As for saving, i...
  15. Replies
    36
    Views
    18,043

    I fully understand the "Don't run EXE files", and...

    I fully understand the "Don't run EXE files", and i'm also a great believer in it. Especially from places like this. Not saying this is a bad place or anything... but it only takes one clown to ruin...
  16. Replies
    36
    Views
    18,043

    VB: Zombie Hordes [Exe]

    Greetings,

    I have decided to release the prototype version of my very first game "Zombie Hordes". The prototype is written in VB6 and uses DX8. Source code has not been made available so i...
  17. Replies
    8
    Views
    569

    In most cases, yes, it is best to create one...

    In most cases, yes, it is best to create one global connection object when the application is started and release it when the application terminates.

    As to the 30 recordsets... are you talking...
  18. Replies
    3
    Views
    532

    I'm assuming you're talking about an array here...

    I'm assuming you're talking about an array here right?


    Dim i as long

    For i = 0 to ubound(udtMyWhateverTypeARRAY)
    'do stuff
    Next i
  19. Thread: Explain Code

    by Dekade
    Replies
    5
    Views
    535

    Private Sub AnotherSubSomewhere() Dim...

    Private Sub AnotherSubSomewhere()

    Dim sErrorMessage As String


    sErrorMessage = "Oh crap an error has occured and this is my message"

    LogPrint sErrorMessage '<---...
  20. Thread: Explain Code

    by Dekade
    Replies
    5
    Views
    535

    The memory address that contains the string is...

    The memory address that contains the string is being passed to the sub. This means you can call "LogPrint" and pass it the message you want to log from any procedure within your application....
  21. Replies
    11
    Views
    4,042

    VB is certainly fast enough for it. The game runs...

    VB is certainly fast enough for it. The game runs well. The main reason behind using VB is that i only started learning DirectX at the beginning of this year and i am more comfortable with VB than...
  22. Replies
    11
    Views
    4,042

    Heh, I've never played that but it sounds like...

    Heh, I've never played that but it sounds like something i would have enjoyed. This may sound funny, but the whole reason i decided to make this game was due to one of my old favourite games no...
  23. Replies
    11
    Views
    4,042

    Beautiful. Works like a charm. I'm sure i would...

    Beautiful. Works like a charm.
    I'm sure i would have thought of that eventually *cough* ;)

    Excellent. Thank you.
  24. Replies
    11
    Views
    4,042

    Pathfinding Advice (resolved)

    I am trying to find the best solution to overcome a problem i have encountered. In the attached picture, you can see on the right side of the screen that all the AI's are starting to bunch up (the...
  25. Replies
    6
    Views
    668

    This is taken from an old Database Analyser app i...

    This is taken from an old Database Analyser app i wrote a while back.
    I've removed a lot of the code (it also displayed keys, field sizes, etc) but it should give you an idea of how to go about...
  26. Replies
    5
    Views
    427

    Another way (although i'm sure there is a simpler...

    Another way (although i'm sure there is a simpler way)



    Dim lHours As Long
    Dim sCurrentTime As String
    Dim sNewTime As String


    sCurrentTime = Format(Time,...
  27. Replies
    2
    Views
    319

    You can print the active sheet with a method...

    You can print the active sheet with a method called "Printout".



    Private xlMyWorkSheet As Excel.Application

    Set xlMyWorkSheet = CreateObject("Excel.Application")...
  28. Replies
    2
    Views
    840

    Fixed it. Thank you :)

    Fixed it.
    Thank you :)
  29. Replies
    2
    Views
    840

    Weird "pixel shift" error (Resolved)

    I've built a 2D tile engine using DX8, but for some unknown reason my tile textures are not aligning properly. They seem to be displaying a small section of the right and bottom sides of the texture,...
  30. Thanks, but i found the problem. I... um......

    Thanks, but i found the problem.
    I... um... *cough* *cough* forgot to set the texture coordinates.

    Yet another instance of beer and coding not mixing well ;)
    (and it's written in VB btw)
  31. Textures showing as single colour (Resolved)

    I'm sure this one is an easy one, but i'm not sure what i've done wrong.
    Anyway, my textures are appearing as only one colour when using DirectX.

    Here's a shot of what i mean:
    DX Shot


    And...
  32. Replies
    7
    Views
    1,019

    I've knocked up a quick demo to show how you can...

    I've knocked up a quick demo to show how you can use an API call for your timer needs. Sooner or later you'll want to do away with controls like the "Timer Control", so it's never too early to jump...
  33. Ahh crap Sorry nevermind i figured it out....

    Ahh crap

    Sorry nevermind i figured it out. Just needed the extra parameter.
    Why do i always find the answer after i give up ;)
  34. Finding a specific excel workbook **Resolved**

    Hello

    I'm trying to test if a specific excel workbook (which will always be named "Tax Invoice.xls") is already open as to not create multiple instances. I've been messing around with...
Results 1 to 34 of 34



Click Here to Expand Forum to Full Width