Search:

Type: Posts; User: drb2k2

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,039

    Yes it looks like i'll have to use remoting to...

    Yes it looks like i'll have to use remoting to achieve the goal.
    Thanks though
  2. Replies
    2
    Views
    1,039

    Run DLL on networked machine

    Hi guys,
    I have a difficult problem here that I can't solve.

    I have written a dll in C++ that is called from a java program.
    The java program runs on Computer A,
    The DLL is stored on Computer...
  3. Replies
    2
    Views
    842

    Cheers

    Thanks, i'll give it a go.
    Much appreciated
  4. Replies
    3
    Views
    2,157

    thanks

    thats the trick
    thank you very much
  5. Replies
    3
    Views
    2,157

    trouble with pointer to object

    Hi All,
    I have a class called CLine, and have declared a pointer by


    CLine *pWhichGen;


    I then point it to an object in an array by:
  6. Replies
    2
    Views
    842

    Accesing data from App in Doc

    Hi all,
    A bit of advice using MFC needed really. I want to be able to set a variable m_PopSize (which is declared in "App.h") to generate an array (LineArray) of objects in "Doc.cpp" whoose size...
  7. Replies
    0
    Views
    878

    carrying data over to a new document

    Hi all,
    I'm using MFC for the first time to design a genetic algorithm. When I generate a new generation stored in an array "NextGen"
    I want to have a new window pop up where the user can select...
  8. Replies
    0
    Views
    1,091

    Should call redefinition error but isn't.

    Hi all,
    I'm having trouble with a genetic algorithm. Basically I want to be able to keep 10 of the original population if a certain variable (Elitism) is set to one. This also has to change the...
  9. Sorry everyone

    opkay sorry I should have checked my code through.
    The problem for anyone that is interested seems to be related to the fact that that I hadn't changed the number being compared to the number that...
  10. continue statement causing an unexpected error

    Hi all,
    First of all I should say that I am attempting the following using MFC.
    I am trying to find the lowest scoring object in an array of objects called LineArray. Whenever a low score is...
  11. Replies
    3
    Views
    869

    if you could repost that would be great

    Hi Adrian,
    here is the coords2lineSeg defn.


    struct lineSeg *coords2lineSeg(int x1,int y1,int x2,int y2)
    {
    struct lineSeg *p;
    /* set up memory, fill it, return pointer to it */

    p= (struct...
  12. Replies
    3
    Views
    869

    Okay I really do need help!

    HI all, Still having problems getting an output from my line program.
    As an overview:
    I have an array of objects called LineArray. Each of these objects has an arrary called m_XYCoOrds[][]. This...
  13. Don't worry

    Okay don't worry I have run some tests and the function always returns 0 so there must be a problem within the function.
    sorry to waste any time
  14. problem getting result when calling a function

    Hi all,
    I have sorted out my earlier problem but now have a different. I have defined an array of objects called LineArray. Each of these objects has an array called m_XYCoOrds[][] which hold ten...
  15. pointer to variables in Doc.h is there a way of doing it?

    Hi all,
    I have defined a function in my Doc.h file that uses several variables also defined in this file, one of which is the definition of
    struct lineSeg{
    struct vector r1;
    struct vector...
  16. sorted

    yes you are right, sorry to have completely wasted your time. I was calling the random function in a different place, and when running it was never actually calling the length function. My...
  17. Funny things happening to values outside of function

    Hi again all,
    This time i'm having trouble in returning a value from a class function. The function is supposed to work out the euclidian distance between two points i.e. sqrt( (x1-x2)squared +...
  18. Replies
    1
    Views
    1,744

    Funny things happening outside of function

    Hi again all,
    This time i'm having trouble in returning a value from a class function. The function is supposed to work out the euclidian distance between two points i.e. sqrt( (x1-x2)squared +...
  19. Replies
    1
    Views
    1,397

    Displaying numerical values in a window

    Hello again all,
    I have some values stored in a Class Object that I would like to print to the screen. Unfortunately I only seem to be able to find ways of printing strings to the screen. Is there...
  20. Replies
    2
    Views
    1,914

    Superb

    Thank you very much
  21. Replies
    3
    Views
    7,779

    Sorted

    Not sure what he was on about with code tags. If anyone is interested i moved the srand(time) declaration out of the function and this fixed everything.
    cheers
  22. Replies
    2
    Views
    1,914

    CTypedPtrList problems

    Hello all,
    I can't seem to get this to work, even though it has been typed in exactly as in a book:

    class CLinesDoc : public CDocument
    {
    protected: // create from serialization only...
  23. okay

    Thanks, that will clear it up.
  24. Replies
    3
    Views
    7,779

    Help generating random numbers in MFC

    Hi all, I have a function to try and put random numbers into an array. However for each object that I run the function for the same random numbers are being produced. I used time.h to try and seed...
  25. Displaying an array value as text in windows

    Hi all,
    I'm having a bit of trouble checking that my program is working properly. I have defined a list of objects in an object array called "LineArray". One of the data members of these objects...
Results 1 to 25 of 27
Page 1 of 2 1 2