vc6

How to achieve pushbutton type effect using bitmaps

Hello there I have a issue related to the usage of the bitmap enabled Dialog window.I have created a keyboard type layout and i wish to get the input through keyboard also.When i use the mouse I am able to get the button(s) pressed and also all the buttons are working fine - the other images DEFAULT,SELECTED,DISABLED ..all get loaded and...

Compilation issues for Migration from VC6 to VC9

I am porting a legacy C++ system from VC6 to VC9. The application (<APP A>) statically links to an internal application <APP B> ( developed in house but by a separate team). A local copy of header files from <APP B> are included in CPP files and compiled in <APP A>. Currently we are not planning to migrate <APP B> to VC9. Though both ...

Calling COM wrapped c# dll from unmanaged c++: how to pass a 'string' and retrieve an updated value

I use COM interop to call functions in a c# dll from my VC6 MFC DLL, and this works fine. I want to call a function to retrieve string values. How do I declare a 'string' in my unmanaged C++? How should the 'string' appear in the c# code? Currently the c# function in the dll takes ref string arguments, and my c# test app works fine, but ...

vc6 on windows 7 x64: pb when debugging DLL due to rebase

I have a DLL defining some COM object, loaded by an exe. when I start debuging the DLL, it works fine until I stop on my DLL (by breakpoint or ASSERT): after a continue, I can't no more stop on the DLL. If I open the 'module' dialog, I can see than the debugger think to have rebased the dll, but if I use processexplorer, I see that the...