|
Hi friends
I need help.
I need to develop dll in c++ that firing events to c# application.
any idea?
cheers!
|
|
|
|
|
What events can you more explain?
|
|
|
|
|
any events, like counting and every time it mod by 20 Reaise an event.
|
|
|
|
|
May be use SendMessage/PostMessage?
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
How is the C# app listening for these "events"?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Probably with a couple tin cans and a string.
led mike
|
|
|
|
|
You are FAST!
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Mark Salsbery wrote: You are FAST!
Of course! How many lines of code you can write in a day is the most important attribute of a developer!
Wow, I haven't cracked myself up for a long time!
led mike
|
|
|
|
|
Thanks guy
I have found http://www.codeguru.com/csharp/.net/net_general/patterns/article.php/c8381
|
|
|
|
|
|
Hello,
I have created a dialog using Visual C++ 2005. On the dialog are 2 group boxes and 2 ActiveX controls. How do I change the tab ordering of these objects? I have found the Layout toolbar, which contains the Tab Order button, but I don't know how to enable this button. Any help is appreciated.
Regards,
Mike
|
|
|
|
|
If you want to set Tab Order on the dialog forum you must be press Ctrl+D.
|
|
|
|
|
This was the answer I was looking for, thank you.
Regards,
Mike
|
|
|
|
|
mla154 wrote: This was the answer I was looking for
but it wasn't full anyway.
I maintain that Hamid's solution, such as the menu item you found will only work in the Resource ("Layout") Editor...
|
|
|
|
|
I appreciate everyone's responses anyway. I understand now that the user must have the Resource Editor open and then press Ctrl-D.
Regards,
Mike
|
|
|
|
|
you have to be in the "layout editor" to have it enabled
|
|
|
|
|
mla154 wrote:
I have created a dialog using Visual C++ 2005. On the dialog are 2 group boxes and 2 ActiveX controls. How do I change the tab ordering of these objects? I have found the Layout toolbar, which contains the Tab Order button, but I don't know how to enable this button. Any help is appreciated.
This works in the resource editor.
|
|
|
|
|
Hello,
If I have the following code,
<br />
#include <iostream> <br />
<br />
int main()<br />
{<br />
int y = 6;<br />
int *ptr;<br />
ptr = &y;<br />
<br />
int x = 7;<br />
<br />
ptr = &x;<br />
<br />
x = 8;<br />
std::cout << "hi";<br />
std::cout << "hello";<br />
return 0;<br />
}<br />
is there a way to somehow change the break point properties so that it will stop where ptr changes from &y to &x ? The reason I wish to know this is lets say I have a massive call stack and somewhere in there my pointer is modified, I wish to locate this position in the stack then by setting a break point where the properties of my pointer change.
The platform I am using is visual studio .NET. I believe it is possible to do this in visual studion 6 C++ but I am unsure how to do this in visual studio .NET.
Thanks for any input.
|
|
|
|
|
yes, place a "conditional breakpoint" instead.
on that breapoint, check it's breaking condition, and add the values to test...
|
|
|
|
|
Hi all,
I m using a bmp at uper side of dialog , i m placing a static text over the .bmp.
but when i run the application the text is hide.
same problem occur in case of button.
please tell me what can i do.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Does this help?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
thanks sir.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
|
Hamid. wrote: And I think Displaying split Bitmap files[^] is helpful for you.
How?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
I saw your answer was perfect so I guess maybe this article is helpfuls for "_$h@nky_" on the othe aspects.
|
|
|
|