Search:
Type: Posts; User: Pavel_47
Search:
Search took 0.03 seconds.
-
March 14th, 2013, 08:05 PM
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...
-
March 14th, 2013, 12:43 PM
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...
-
February 22nd, 2013, 07:52 AM
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 ... ...
-
January 22nd, 2013, 06:36 PM
Here they are:
30893
30895
Regards,
Pavel.
-
January 22nd, 2013, 11:17 AM
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....
-
January 22nd, 2013, 08:05 AM
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
-
January 22nd, 2013, 05:51 AM
Here are zooms:
30881
30883
-
January 22nd, 2013, 05:48 AM
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...
-
January 22nd, 2013, 05:20 AM
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...
-
January 21st, 2013, 07:23 PM
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...
-
January 21st, 2013, 07:21 PM
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...
-
January 21st, 2013, 02:13 PM
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...
-
January 20th, 2013, 03:49 PM
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...
-
January 20th, 2013, 09:25 AM
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...
-
January 20th, 2013, 09:16 AM
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...
-
January 20th, 2013, 09:16 AM
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...
-
January 20th, 2013, 08:53 AM
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
{...
-
January 20th, 2013, 06:50 AM
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...
-
January 19th, 2013, 04:36 PM
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...
-
January 19th, 2013, 02:27 PM
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...
-
January 19th, 2013, 02:13 PM
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...
-
January 19th, 2013, 09:12 AM
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...
-
January 18th, 2013, 10:37 AM
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;...
-
January 18th, 2013, 10:18 AM
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.
-
January 18th, 2013, 06:29 AM
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...
|
Click Here to Expand Forum to Full Width
|