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.03 seconds.

  1. Re: Regarding the null destination pointer exception

    I am afraid I still can't stop the debug assertion dialog unless not building with multithreaded debug DLL.
    Really a headache.
    Is the following code correct?
    Thanks Codeplug.
    Jack


    ...
  2. Regarding the null destination pointer exception

    Here when NonlinearSolver called the constructor,
    m_gradient() constructor is called to construct m_gradient, which in turns sets a variable called
    m_S to NULL(0), then in the assignment operator,...
  3. How to use the sandbox version of boost?

    There aren't any files like bootstrap.bat to compile the library set.
    And I need a file called cblas2.hpp
    which can only be found in the sandbox version
    of boost. How do I compile the sandbox...
  4. Replies
    1
    Views
    141

    Fixing MSB3073

    Hello,
    I've got an open source project called OpenTissue I want to compile.
    There is a CMakeList.txt file in the root directory of the project.
    I open that up in CMake, then I generated a path...
  5. Rasterization of bitmaps and vector graphics

    Dear all,
    When I superimpose a piece of graphic on the form, I'd want to rasterize it
    and make it a final image and store in the database, what is the general approach
    to achieve this in C#?...
  6. Invoking a method of a class with template

    bool CObject<class T>::Create(LPDIRECT3DDEVICE9 pDevice, T *pMesh, float fAnimSpeed)
    {
    if(pMesh == NULL)
    return false;

    m_pDevice = pDevice;
    m_pMesh = pMesh;
    ...
  7. Re: Grouping data retrieved from a Data Source (for a DataGrid)

    Thanks, buddy.
    Have a nice weekend
    Jack
  8. 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
  9. 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...
  10. 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...
  11. Replies
    9
    Views
    597

    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
  12. Replies
    9
    Views
    597

    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
  13. Replies
    9
    Views
    597

    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...
  14. Replies
    9
    Views
    597

    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...
  15. Replies
    9
    Views
    597

    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.
  16. Replies
    9
    Views
    597

    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...
  17. 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...
  18. 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...
  19. 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_
  20. 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...
  21. Re: How can I create a template method in a C++ class?

    Thanks, Richard.
    Code Updated.
    Jack
  22. 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) {...
  23. 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,...
  24. Replies
    12
    Views
    3,315

    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
  25. Replies
    12
    Views
    3,315

    Re: Usage problem on std::unordered_map

    Yes, I spot that error too, it is all fine now.
Results 1 to 25 of 596
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