Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: lucky6969b

Page 1 of 24 1 2 3 4

Search: Search took 0.04 seconds; generated 30 minute(s) ago.

  1. Re: Grouping data retrieved from a Data Source (for a DataGrid)

    Thanks, buddy.
    Have a nice weekend
    Jack
  2. Grouping data retrieved from a Data Source (for a DataGrid)

    Hi all,
    If I directly map the database to the DataGrid, there is nothing special.
    If I need to group the data, like summing the amount of money for a column, how
    would I do that?
    Thanks
    Jack
  3. Re: These threads never execute in artbitrary order?

    I'd want to simulate a warehouse environment where cargo trucks would come in randomly but within a predictable time range.
    I have asked Mark Little, the author of the library, called C++ Sim
    The...
  4. These threads never execute in artbitrary order?

    void Arrival_MainThread::Body ()
    {
    t1 = new boost::thread((Arrive_Fctor()), 2);
    t2 = new boost::thread((Arrive_Fctor()), 10000);
    t3 = new boost::thread((Arrive_Fctor()), 3000);




    class...
  5. Replies
    9
    Views
    472

    Re: A Thread that doesn't hold long enough

    Hello,
    I work on it today. And finally find out that the Arrivals Suspension only works when there is a machine available
    Thanks people
    Jack
  6. Replies
    9
    Views
    472

    Re: A Thread that doesn't hold long enough

    Hello,
    I have stripped all the unnecessary files.
    Hope you can compile it, easy task for you ;)
    Thanks
    Jack
  7. Replies
    9
    Views
    472

    Re: A Thread that doesn't hold long enough

    If you have the time to take a look at the source code, it would be greatly appreciated!
    I stuck with it for a week already. It's pretty simple and light-weight except that I just can't figure out...
  8. Replies
    9
    Views
    472

    Re: A Thread that doesn't hold long enough

    Hello Arjay,
    I suddenly realized that I need to open up a main thread that derives from Process.
    But I need to suspend the main thread in order for the child threads to execute.
    So my new question...
  9. Replies
    9
    Views
    472

    Re: A Thread that doesn't hold long enough

    nt_thread.cc


    /*
    * Copyright (C) 1994-1997, 1998,
    *
    * Department of Computing Science,
    * The University,
    * Newcastle upon Tyne,
    * UK.
  10. Replies
    9
    Views
    472

    A Thread that doesn't hold long enough

    I've got a process called Arrivals, this process has mean arrival time of 8 seconds.
    I've created an ExponentialStream like this,


    #ifndef _ARRIVALS_H_
    #define _ARRIVALS_H_

    //#ifndef...
  11. Re: Unresolved Externals after using #define DLL extern "C" __declspec(dllexport)

    I think I messed up the different variations of the same library, I cleaned everything up, and it links.
    However, I am dealing with exportation of static members of the class.

    Update:
    Yeah, it...
  12. Re: Unresolved Externals after using #define DLL extern "C" __declspec(dllexport)

    Here is the dump, Excuse me because I am not quite familiar with the name decoration and mangling stuff.
    Indeed, the destructor seems not to exist.....
    Thanks
    Jack


    Microsoft (R) COFF/PE...
  13. Re: Unresolved Externals after using #define DLL extern "C" __declspec(dllexport)

    I seem to have to dllimport back into my project.
    The protected access modifier can make a difference though
    I am still checking.




    #ifndef _ARRIVALS_H_
    #define _ARRIVALS_H_
  14. Unresolved Externals after using #define DLL extern "C" __declspec(dllexport)

    In the calling program, I've got


    Error 1 error LNK2019: unresolved external symbol "public: virtual __thiscall Process::~Process(void)" (??1Process@@UAE@XZ) referenced in function...
  15. Re: How can I create a template method in a C++ class?

    Thanks, Richard.
    Code Updated.
    Jack
  16. Re: How can I create a template method in a C++ class?

    Thanks OReubens and Richard,
    It works as expected now.



    template<class T>
    ObjectBase* createObject(T* objType, Ogre::String name, Ogre::Vector3 position) {...
  17. How can I create a template method in a C++ class?

    class A {

    public:
    template<class T>
    ObjectsBase* createObject(T* objType, Ogre::String name, Ogre::Vector3 position);
    };

    template<class T>
    ObjectBase* A::createObject(T* objType,...
  18. Replies
    12
    Views
    2,770

    Re: Usage problem on std::unordered_map

    I didn't see that statement because it was too far down the right.
    I got it now. It's typo as you said..
    Thanks
  19. Replies
    12
    Views
    2,770

    Re: Usage problem on std::unordered_map

    Yes, I spot that error too, it is all fine now.
  20. Replies
    12
    Views
    2,770

    Re: Usage problem on std::unordered_map

    Yes, all fixed, because of typos..... Thanks Victor and laserlight
  21. Replies
    12
    Views
    2,770

    Re: Usage problem on std::unordered_map

    Thanks Victor, The bug still exists. The test program runs fine, but the program I am working on does not.
    I tried to overload the -> operator to no avail.
    Jack
  22. Replies
    12
    Views
    2,770

    Re: Usage problem on std::unordered_map

    main.cpp


    #include "OgreDetourCrowdBase.h"
    #include "OgreDetourCrowdCB.h"
    #include <unordered_map>
    #include <iostream>

    using namespace std;
  23. Replies
    12
    Views
    2,770

    Usage problem on std::unordered_map

    There is an error saying that unordered_map has no associated operator '->'
    Any ideas why?
    Thanks
    Jack




    #ifndef _OGREDETOURCROWDBASE_H_
    #define _OGREDETOURCROWDBASE_H_
  24. Re: No circular references, but undeclared idenifier

    Magic!
  25. No circular references, but undeclared idenifier

    Each of my header includes is protected by directives
    I think I don't have to include Boolean in my work space because it is already included
    in the external dependencies section. and the Boolean.h...
Results 1 to 25 of 590
Page 1 of 24 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center