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

Search:

Type: Posts; User: Geof

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    1,260

    Re: Dynamic memory allocation from dll

    Thank you for your information. I have finally found a walk around by adding function in the dll that can return size of returned structures. In this way I preallocate arrays. This walk around works...
  2. Replies
    2
    Views
    1,260

    Dynamic memory allocation from dll

    Hi,

    I have a C++ DLL. This DLL contains a function func ( float **arg1, int &nbArg1, int **arg2, int &nbArg2 ); This function do dynamic memory allocation to allocate enough of memory for arg1 and...
  3. Replies
    4
    Views
    675

    Re: Windows 7 to Windows XP crrash

    It is difficult to link static because my program use QT and OSG. It is a lot of libraries to link. I have installed Visual C++ 2005 redistribuable package on the virtual XP machine. For my simple...
  4. Replies
    4
    Views
    675

    Re: Windows 7 to Windows XP crrash

    The soft is develop on a 64bits machine but compiled with a 32bits compiler
  5. Replies
    4
    Views
    675

    Windows 7 to Windows XP crrash

    Hi,

    I develop a software on a windows 7 (ultimate) 64bits machine with VS2005. I compiled this software in release mode and I transfer executable and all dll on a windows XP 32 bits virtual...
  6. Thread: const iterator

    by Geof
    Replies
    3
    Views
    3,152

    Re: const iterator

    Perfect, Thank you for your answer
  7. Thread: const iterator

    by Geof
    Replies
    3
    Views
    3,152

    const iterator

    Hi,

    I have a problem with a constant iterator. This is an example of the situation

    class B
    {
    public:
    B(){}

    std::list<int> m_List;
  8. Replies
    2
    Views
    2,208

    Re: iterator for a list of template objects

    Wow it is not a fast awnser, it a ultra fast awnser. Thank you it solves my problem
  9. Replies
    2
    Views
    2,208

    iterator for a list of template objects

    Hi,

    I have a compilation probleme when I create my iterator for a stl list of template object. This is the situation

    template <typename T>
    class A
    {
    ...
    };
  10. Thread: dnsapi.lib

    by Geof
    Replies
    1
    Views
    3,334

    Re: dnsapi.lib

    I have found the solution. I need Microsoft Platform SDK.
  11. Thread: dnsapi.lib

    by Geof
    Replies
    1
    Views
    3,334

    dnsapi.lib

    Hi,

    I'm looking for file dnsapi.lib. Where can get this file?
  12. Replies
    16
    Views
    1,801

    Re: Little theoretical question

    Thank you for your awensers
  13. Replies
    16
    Views
    1,801

    Little theoretical question

    A little theorctical question about variable size in C++. I would like to know the difference between a int and a long. The range of int is -2147483647 and +2147483647 and a long int is the same...
  14. Replies
    6
    Views
    1,424

    Creating Context menu

    I have a CtreeView and I would like to associate a context menu to it when I do a right click on a element. I use Visual C++ 6 and I would like to know the easest way to do that.

    Thank you
  15. Replies
    6
    Views
    964

    Re: Change window name

    Is it work with the title of a MDI Frame?
  16. Replies
    6
    Views
    964

    Re: Change window name

    I call it directly in the OnCreate function of my window ( CMDIChildWnd). At the same place I call MoveWindow to resize it and it work.
  17. Replies
    6
    Views
    964

    Change window name

    I would like to change the default name that appear at the the to of the window in a MDI application. I tried to use the function SetWindowText, it run but never change. I call it in the OnInitUpdate...
  18. Thread: Fill CDocument

    by Geof
    Replies
    12
    Views
    1,521

    Re: Fill CDocument

    Thank you for your example. It help me.
  19. Thread: Fill CDocument

    by Geof
    Replies
    12
    Views
    1,521

    Re: Fill CDocument

    I will try to use a prctical situation to exaplain what I want to understand.

    I have a MDI program with Doc\View support. This programme take data in a SQL database and display it in views. To...
  20. Thread: Fill CDocument

    by Geof
    Replies
    12
    Views
    1,521

    Re: Fill CDocument

    It is approximately what I understand of the CDocument class. But where is the CDocument object.

    For example if I have In my CDocument object 2 variables of data.

    int Data1;
    int Data2;
    ...
  21. Thread: Fill CDocument

    by Geof
    Replies
    12
    Views
    1,521

    Fill CDocument

    I would like to better understand the way to use CDocument class with multi-view application.

    The thing I have difficulty to understand is what pointer is retrive by the GetDocument function in...
  22. Replies
    8
    Views
    1,697

    Re: Loading data in a View without Doc

    I didn't use a Doc\View application because the only Data are use is from a MySQL database. Is it a Doc can help me to load data from a MySQL Database? The data I have to transfert between views are...
  23. Replies
    8
    Views
    1,697

    Loading data in a View without Doc

    I have a MDI application without Doc/View support. My problem is to load information in the view.

    I Create a first view with control inside (CtreeView). This view create a other one (derive from...
  24. Thread: CView : creation

    by Geof
    Replies
    2
    Views
    1,421

    Re: CView : creation

    Thank you very much for your reply, it is exactly what I want to know
  25. Thread: CView : creation

    by Geof
    Replies
    2
    Views
    1,421

    CView : creation

    I use two class in a none doc\view application. The first one is derive from CMDIChildWnd and the second one is derive from CView. I Create the CMDIChildWnd this way :


    pFrame->CreateNewChild(...
Results 1 to 25 of 81
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured