Search:

Type: Posts; User: klmdb

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,773

    Well I'm trying to run 2 instances of the same...

    Well I'm trying to run 2 instances of the same multiplayer game. I can accomplish the same result by running each instance in a different virtualpc, but that seems like to much overhead.
  2. Replies
    6
    Views
    1,773

    I'm not really looking for ways to make sure only...

    I'm not really looking for ways to make sure only one instance of a program can be ran, rather than ways to bypass it.
  3. Replies
    6
    Views
    1,773

    Good idea, but you were right; it didn't work....

    Good idea, but you were right; it didn't work. Any ideas of how I could bypass it anyway?
  4. Replies
    6
    Views
    1,773

    block program from seeing process tree

    I'm not sure if this is the right place to ask this, but does anyone know if it is possible to disable a program from seeing the process tree?

    I have a program that I can only run one instance of....
  5. Replies
    22
    Views
    1,903

    UPDATE: I found out what the problem was: I was...

    UPDATE: I found out what the problem was: I was running the VS builder in 'release' mode instead of 'debug' mode. This screwed up the values I saw while debugging.

    The algorithm is still buggy...
  6. Replies
    22
    Views
    1,903

    @Salem: I trimmed the source so thet I don't...

    @Salem:
    I trimmed the source so thet I don't call any function that frees any memory before trying to call SimAnAlgorithm_run() & it didn't solve the problem.


    @dmh2000:
    SimAnAlgorithm.c has...
  7. Replies
    22
    Views
    1,903

    anyone please? this project is due in two days...

    anyone please? this project is due in two days...
  8. Replies
    22
    Views
    1,903

    ok so I couldn't get the board attachement to...

    ok so I couldn't get the board attachement to work so I uploaded it here:

    http://www.opaalkust.com/Download/project%20AD3.rar

    Run it and the command window will ask for your input. Enter this:...
  9. Replies
    22
    Views
    1,903

    Damnit, it's back! clean/rebuild doesn't seem to...

    Damnit, it's back! clean/rebuild doesn't seem to help... Any other ideas? Do you need more of my code to find it?
  10. Replies
    22
    Views
    1,903

    ok, thank you for the help!

    ok, thank you for the help!
  11. Replies
    22
    Views
    1,903

    I include a header file that defined the method....

    I include a header file that defined the method.


    I'm working in VS 2010 so shouldn't be a problem


    I'm using calloc, but I think I freed everything properly. Haven't got the time to veryfy...
  12. Replies
    22
    Views
    1,903

    I'm writing C; I'm using tons of functions with...

    I'm writing C; I'm using tons of functions with similar build though (EDIT and these have all been tested and work). For example


    struct AlgorithmHandler_Nucleotide *...
  13. Replies
    22
    Views
    1,903

    I can't see what's wrong with this? ...

    I can't see what's wrong with this?

    int restartPropability){

    ')' to close the argument list, '{' to start the method body
  14. Replies
    22
    Views
    1,903

    srry which line do you mean? I think I need a...

    srry which line do you mean? I think I need a break; I can't even find it when people point it out to me...
  15. Replies
    22
    Views
    1,903

    I dont understand how this can bugged

    I use this method to run my Simulated Annealing algorithm:


    struct AlgorithmHandler_Critter * SimAnAlgorithm_run(
    struct AlgorithmHandler_Settings * settings,
    int...
  16. Replies
    3
    Views
    920

    ok, I thought I'd forgotten someting having to do...

    ok, I thought I'd forgotten someting having to do with EOS. Thx!
  17. Replies
    3
    Views
    920

    problem with free()

    Could anyone explain to me what I am doing wrong here please?


    void testFree(){
    char * s=(char *)calloc(sizeof(char),5);
    sprintf(s, "[%d]",321);
    printf(s);
    free(s);
    return;
    }
  18. Replies
    6
    Views
    7,176

    I found the bug! I modified the supplied...

    I found the bug! I modified the supplied delegate/invoke code to this:


    private delegate void CrossThreadLabelHandler(Label obj, String str);
    private void UpdateLabelText(Label...
  19. Replies
    6
    Views
    7,176

    I updated my code: private delegate...

    I updated my code:


    private delegate void CrossThreadLabelHandler(Label obj, String str);
    private void UpdateLabelText(Label obj, String str)
    {
    if...
  20. Replies
    6
    Views
    7,176

    PS this is an example I built, but it doesn't...

    PS this is an example I built, but it doesn't work. My debugger says"Cross-thread operation not valid: Control 'label1' accessed from a thread other than the thread it was created on."

    Any clues...
  21. Replies
    6
    Views
    7,176

    "Parameter count mismatch" error in MVC + multithreading example

    --- SOLVED ---

    original post:



    Progress:

    I wrote an example code for the proposed example but can't get it to work. As sugested I used a cross thread controler to fix the thread access...
  22. Replies
    6
    Views
    10,312

    @Bayint Naung: I didn't think the malloc cast...

    @Bayint Naung:

    I didn't think the malloc cast was necessary, but it's done the same way in some of the examples we got in class.
    And you were right about the init() function :)


    Now I've been...
  23. Replies
    6
    Views
    10,312

    jay!! that seems to be what the teach' is talking...

    jay!! that seems to be what the teach' is talking about :)

    Thx alot, I can't believe I wasted like 6-7 hours on that one :s
  24. Replies
    6
    Views
    10,312

    implementation of part 1: #include...

    implementation of part 1:


    #include "general.h"
    #include "LinkedList.h";
    #include "LinkedListEntry.h";

    /*
    struct listhdr {
    struct listhdr *prev, *next;
  25. Replies
    6
    Views
    10,312

    I did a couple of weeks ago when I was first...

    I did a couple of weeks ago when I was first working on this problem, but I lost my source. I'm doing it again right now, should be ready soon.

    Last time I tried part 1 didn't seem to be the...
Results 1 to 25 of 39
Page 1 of 2 1 2