This is not a solution. Independet what are a applicaction setting, this function always return same color. If you compile as dblbyte this will be right, but if you complile as unicode - not (at this...
I solve it like that, that callback function is without parameters and text is get from a buffer from not manage part in additional function (called under callback by manage part).
I't not a problem with a return type. This is standard way, how this is declarate (static pointer to function in c++). Problem is with a string conversion. If I modify it, that char* parameter not...
I have a problem with found a bug here. Maybe someone can help me. From c# I call a c++ function (in dll via P/Invoke). One function give a handle form manage code to a unmanage code. Next...
I have a application, where I integrating a mfc control in c# application. This mfc control base in a ActiveX solution. This is double side comunication and MFC manage a main screen (drawing...
I have very stupid problem. After long time I back to ActiveX programing. I try create a easy ActiveX control with mfc what will have a one public method, visible from container. Last...
I have in my application modal dialog. My costumer in his program close a dialogs by click right button in this dialog or out of dialog, but his dialogs are not modal, so he just check if in any...