Click here to Skip to main content
15,917,060 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDatabase::ExecuteSQL Pin
Fawaz Ajani20-Mar-14 5:52
Fawaz Ajani20-Mar-14 5:52 
QuestionRe: CDatabase::ExecuteSQL Pin
Fawaz Ajani25-Mar-14 10:05
Fawaz Ajani25-Mar-14 10:05 
Questionshowwindow(SW_HIDE) question Pin
econy19-Mar-14 15:19
econy19-Mar-14 15:19 
AnswerRe: showwindow(SW_HIDE) question Pin
David Crow19-Mar-14 16:48
David Crow19-Mar-14 16:48 
AnswerRe: showwindow(SW_HIDE) question Pin
Albert Holguin20-Mar-14 14:44
professionalAlbert Holguin20-Mar-14 14:44 
QuestionHow to change CEdit font [Solved] Pin
econy19-Mar-14 10:16
econy19-Mar-14 10:16 
AnswerRe: How to change CEdit font Pin
econy19-Mar-14 12:53
econy19-Mar-14 12:53 
QuestionCapture Remote Camera using Media Foundation Pin
Django_Untaken19-Mar-14 0:27
Django_Untaken19-Mar-14 0:27 
QuestionDevice Build Pin
Member 1068204219-Mar-14 0:19
Member 1068204219-Mar-14 0:19 
GeneralRe: Device Build Pin
David Crow19-Mar-14 3:37
David Crow19-Mar-14 3:37 
AnswerRe: Device Build Pin
enhzflep25-Mar-14 22:36
enhzflep25-Mar-14 22:36 
Questionwhat is the behavior of a statement logically operated with 0? Pin
shaktikanta18-Mar-14 22:32
shaktikanta18-Mar-14 22:32 
AnswerRe: what is the behavior of a statement logically operated with 0? [fixed the blunder] Pin
CPallini19-Mar-14 0:40
mveCPallini19-Mar-14 0:40 
GeneralRe: what is the behavior of a statement logically operated with 0? Pin
shaktikanta19-Mar-14 21:58
shaktikanta19-Mar-14 21:58 
GeneralRe: what is the behavior of a statement logically operated with 0? Pin
CPallini19-Mar-14 22:15
mveCPallini19-Mar-14 22:15 
GeneralRe: what is the behavior of a statement logically operated with 0? Pin
shaktikanta20-Mar-14 19:12
shaktikanta20-Mar-14 19:12 
GeneralRe: what is the behavior of a statement logically operated with 0? Pin
CPallini21-Mar-14 2:10
mveCPallini21-Mar-14 2:10 
QuestionUsing .Net DLL in VC6 Pin
ZawMinTun18-Mar-14 18:15
ZawMinTun18-Mar-14 18:15 
AnswerRe: Using .Net DLL in VC6 Pin
David Knechtges19-Mar-14 8:05
David Knechtges19-Mar-14 8:05 
If you can recompile the old VC6 code using VS2010 and its compiler, then you will have an easier time. In this case, you can then change it to a C++/CLI project and then use any .NET controls you wish. Basically, just open the old VC6 project in VS2010 and recompile. If that works, then change the project over to C++/CLI and you are in business.

If you cannot recompile the VC6 project, but can directly load DLLs, then you could use C++/CLI to be a wrapper DLL around the .NET stuff and call it from the old C style code.

Using COM and Interop the way you did is not easy as you found out. That is why you might consider the 2 suggestions above.
GeneralRe: Using .Net DLL in VC6 Pin
ZawMinTun21-Mar-14 0:08
ZawMinTun21-Mar-14 0:08 
Questionuse c++ to drive cmd window and get responses Pin
bkelly1318-Mar-14 15:57
bkelly1318-Mar-14 15:57 
AnswerRe: use c++ to drive cmd window and get responses Pin
Richard MacCutchan18-Mar-14 22:26
mveRichard MacCutchan18-Mar-14 22:26 
AnswerRe: use c++ to drive cmd window and get responses Pin
David Crow19-Mar-14 3:38
David Crow19-Mar-14 3:38 
GeneralRe: use c++ to drive cmd window and get responses Pin
bkelly1319-Mar-14 16:33
bkelly1319-Mar-14 16:33 
GeneralRe: use c++ to drive cmd window and get responses Pin
Heng Xiangzhong10-Apr-14 1:38
Heng Xiangzhong10-Apr-14 1:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.