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

Search:

Type: Posts; User: Pavel_47

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: How to call Dialog window (formed as resource) from a .DLL

    How to debug if there is no possibility to enter into function ?
    There is another detail - error message in the VS output window, that appears when .DLL is loaded for the 1st time (vsimk - the...
  2. Re: How to call Dialog window (formed as resource) from a .DLL

    Hello,

    After a lot of different attempts I'm hampered an obstacle, that apparently without issue.
    The application that calls my .DLL is stopped on the following command (with some error message...
  3. Re: How to call Dialog window (formed as resource) from a .DLL

    Hello,

    Here (in attachment) is the project where DLL that works properly (in the solution there is also test application).
    Here is its diagnostic output:

    InitInstance starts ... ...
  4. Re: How to call Dialog window (formed as resource) from a .DLL

    Here they are:
    30893

    30895

    Regards,

    Pavel.
  5. Re: How to call Dialog window (formed as resource) from a .DLL

    Thanks. With this approach I could debug. As I've told already my primary aim became Create-based approach. Here is CallStack on the BreakPoint:
    30891

    I stepped 4 function on the stack:
    1....
  6. Re: How to call Dialog window (formed as resource) from a .DLL

    Here it is:
    30885



    Here is extract of code with DebugBreak:
    30887

    Unfortunately it doesn't catch control, at other side it has impact on .DLL loading. It's failed:
    30889
  7. Re: How to call Dialog window (formed as resource) from a .DLL

    Here are zooms:
    30881

    30883
  8. Re: How to call Dialog window (formed as resource) from a .DLL

    Igor, Paul you had reason - the process I attached to, is not that, which calls my .DLL. Please see below
    30879

    There is problem - vsim, .DLL is attached to doesn't appear in the list of...
  9. Re: How to call Dialog window (formed as resource) from a .DLL

    Thanks Igor,



    When I run CAD tool it doesn't load automatically my .DLL. The linking process is executed when in the CAD (already running) I do some particular procedure called "design...
  10. Re: How to call Dialog window (formed as resource) from a .DLL

    Here is CAD console output:
    30875
    As you can constate from the 1st line the .DLL is taken from Debug, not from Release.
    All the staff until Loading work.xxxxxxxxx - diagnostic messages from my...
  11. Re: How to call Dialog window (formed as resource) from a .DLL

    Here it is:

    For compiler it should be Ok:
    30865
    For linker also:
    30867


    This is checked in point 4 (you will see). When the CAD starts some process, called "elaboration", it loads specified...
  12. Re: How to call Dialog window (formed as resource) from a .DLL

    I can't use breakpoint inside my .DLL: when I attach to process, the breakpoint becomes inactive (empty circle with triangle and tooltip "The breakpoint will not currently be hit. No symbols have...
  13. Re: How to call Dialog window (formed as resource) from a .DLL

    Dear Paul,

    I've followed your advise and tried to debug with WS. Here below is situation after "Break All". What useful information can I extract from this ? As I've already mentionned, this GUI...
  14. Re: How to call Dialog window (formed as resource) from a .DLL

    Sorry Viktor,

    I sent answer before completing it properly. Here is missed message from previous answer:
    Concerning return value, I can't get it, because the control isn't returned from DoModal...
  15. Re: How to call Dialog window (formed as resource) from a .DLL

    Of course, I've been mistaken ... Surely it's DoModal(), that causes problem. As I noted before, probably it cannot be used in my case ... So, the 1st solution, proposed by Igor (using Create...
  16. Re: How to call Dialog window (formed as resource) from a .DLL

    Of course, I've been mistaken ... Surely it's DoModal(), that causes problem. As I noted before, probably it cannot be used in my case ... So, the 1st solution, proposed by Igor (using Create...
  17. Re: How to call Dialog window (formed as resource) from a .DLL

    I tried your proposition as I understood it. Unfortunately nothing changed.
    Here is declaration of Dialog Class:

    #pragma once

    // CPixie3_DLG1 dialog

    class CPixie3_DLG1 : public CDialog
    {...
  18. Re: How to call Dialog window (formed as resource) from a .DLL

    thanks Igor. I adapted 1st solution. Now it's much better, but still not perfect.
    When I load my project, the dialog window doesn't appear (from VSIM27 to VSIM29 on the picture).
    It appears only...
  19. Re: How to call Dialog window (formed as resource) from a .DLL

    Hello Igor,

    Thank you for response. Unfortunately I have no time to follow your advise and study in depth MFC programming, as the CAD interface isn't the main part in project, there is a lot of...
  20. Re: How to call Dialog window (formed as resource) from a .DLL

    As I told already for simple window it works fine: inside of window constructor I call function Create:

    Create(NULL, L"MyWindow", WS_VISIBLE, CRect(0,0,200,200));
    Should I do something inside of...
  21. Re: How to call Dialog window (formed as resource) from a .DLL

    Hello Victor,

    Thanks for response. I don't beleave, that it would be possible to debug, because .DLL is called from external CAD tool.
    The .DLL must provide GUI to external tool.
    In its most...
  22. How to call Dialog window (formed as resource) from a .DLL

    Hello,

    Is there some document, that describe the sequence of actions, that result in displaying of a Dialog Window from a .DLL.
    One important detail - the Dialog Window is created via...
  23. Re: How to visualize 16bit-value 2-dimensional matrix in grayscale

    I've succeeded to show on DialogForm 576x476 16-bit .bmp depth grayscale image (unfortunately due to its size I can't attach it)

    Here is code:


    CImage lImage;...
  24. Re: How to visualize 16bit-value 2-dimensional matrix in grayscale

    Thanks OReubens,

    Indeed this way I can get grayscale. But I didn't understand what you mean saying If all colors R,G,B have char-type value, the grayscale depth is 8 bit ?

    Regards,

    Pavel.
  25. How to visualize 16bit-value 2-dimensional matrix in grayscale

    Hello,

    In my project need to visualize data on a DialogForm (MFC project).
    The data is 2-dimensional array of 16-bit values. I want image to be displayed in grayscale.

    For displaying picture I...
Results 1 to 25 of 35
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center