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

Search:

Type: Posts; User: tcp1

Search: Search took 0.01 seconds.

  1. Thread: 3d vector

    by tcp1
    Replies
    11
    Views
    1,049

    3d vector

    this code crashed in my VSproject/debug:

    vector<vector<vector<double>> > array(1500,vector<vector<double>>(2000, vector<double>(20)));
    What is best way to release a 1d,2d,3d vector?. I need to...
  2. Replies
    8
    Views
    522

    Re: sending usigned char to listbox

    As I remember, with the new protocol the first 8 bytes in the file, when I used the notepad as the viewer, were extended ASCII characters and maybe these are not supported by Microsoft, VS?. ...
  3. Replies
    8
    Views
    522

    Re: sending usigned char to listbox

    I do not have the access to the file at this moment. This is a new protocol, 8 bytes + the appended string... This is the new library ... with new protocol ... That 15 bytes is replaced with 8...
  4. Replies
    8
    Views
    522

    Re: sending usigned char to listbox

    Good suggestion. Looked the file up under an hex editor. The first 8 bytes where the number of bytes. Then after, the bytes for the actual text that seem to be correct and the then the 2FEF bytes....
  5. Replies
    8
    Views
    522

    Re: sending usigned char to listbox

    when I write the buf to file using WriteFile, the content of file is: 15 unreadable characters followed by 50 readable characters and the rest are I'..
    When I do the following, I get the 50...
  6. Replies
    8
    Views
    522

    sending usigned char to listbox

    Got something like the following. A button that read characters from a thrid party tool and sends it to a listbox.
    But the contant is not readable.


    void dlg::sendtolistbox()
    {
    unsigned char...
  7. Thread: check type

    by tcp1
    Replies
    3
    Views
    320

    check type

    How to check the type of argument passed to each function, checktype, in below?.
    void checktype(void *p)
    {
    }

    or

    template <typename Type>
    Type checktype(Type t) {
  8. Replies
    8
    Views
    780

    add to listbox thread

    startthread get called to launch to update list box.
    a)is it the only way to pass string to the PostMessage?. my concern is that allocate using new in each iteration each time slows it down a bit. ...
  9. Replies
    6
    Views
    474

    Re: recursive crashes + debug problem

    Thanks for the help. Helped me a lot.
  10. Replies
    6
    Views
    474

    Re: recursive crashes + debug problem

    Hi,
    Either my question was misunderstood or I misunderstood the answer.
    if:
    mydouble = roundeddouble(1.799999,1); //is supposed to return 1.8.
    why in debug mode after the function is executed,...
  11. Replies
    6
    Views
    474

    recursive crashes + debug problem

    I got two issues:
    one is that Using VS2012, the recursive code in below crashes in case of passing large numbers in debug mode. With small numbers seems to work. Also, in release mode seems to work....
  12. Replies
    5
    Views
    486

    Re: need help with timer in CDoument

    With some changes, Got it working. Just liked to get the concept behind it.
    Thank You All.
  13. Replies
    5
    Views
    486

    need help with timer in CDoument

    My apologies for my silly request. To learn more about MFC, i tried the topic in this link:
    http://www.codeproject.com/Articles/2120/Getting-Timer-Events-in-a-CDocument-derived-class

    My...
  14. Thread: unusual event

    by tcp1
    Replies
    1
    Views
    358

    unusual event

    #include <iostream>
    using namespace std;
    int main()
    {
    cout << "Hi!" << endl;
    return 0;
    }

    I am back at my c++ programming, my visual studio is 2012 with service pack 4. I made a...
  15. Replies
    5
    Views
    601

    Re: resize property sheet/page dialogs

    yes, I skipped the step#2, it did not gave me exactly what I wanted but it was one way to do it. I did not get the corner module to drag the GUI wider or shrink it. I may go back to it. I tried to...
  16. Replies
    5
    Views
    601

    Re: resize property sheet/page dialogs

    it is MFC and I like to be able to expand or shrink the pages using mouse by selecting the lower right corner ... or however else possible...
  17. Replies
    5
    Views
    601

    resize property sheet/page dialogs

    any easy way to resize property sheet/page dialogs automatically or semi automatically?. have tried too many stuff, but none were fruitful. I need fresh ideas.
  18. Thread: link/build app

    by tcp1
    Replies
    3
    Views
    820

    Re: link/build app

    ok, you mean the fact that in debug mode with RT option /MD, with couple of warnings only, is ok and will not give me problems.
    In release mode and /MD, this should be fine then, I do not get any...
  19. Thread: link/build app

    by tcp1
    Replies
    3
    Views
    820

    link/build app

    when I linked my mfc single document app to a 3rd static library, in debug mode it gave LNK 2005 errors. In debug when I switched the run time flag to /MD it gave me couple of NODEFAULTLIB:library...
  20. Thread: mfc dll crash

    by tcp1
    Replies
    2
    Views
    792

    mfc dll crash

    a MFC dll using ActiveX control, consider the case when the content of Start() is uncommented, and within OpenDialog(), AFX_MANAGE_STATE(AfxGetStaticModuleState( )); is commented. In this case the...
  21. Replies
    0
    Views
    398

    update Dlg CStatic

    mfc dialog based:


    //CImageView.cpp:
    void CImageView::OnMouseMove(UINT nFlags, CPoint point)
    {
    CPoint ptImg = GetScrollPosition() + point;
    sprintf(buffer,"%d %d %d", ptImg.x, ptImg.y,...
  22. Replies
    0
    Views
    460

    debug from another path

    within visual studio 2010, i like to dump the debug executable to another directory where all other DLLs exist and debug it from there. How to do this step by step?. I tried but i was getting start...
Results 1 to 22 of 22


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center