Click here to Skip to main content
15,911,786 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Hello everyone,

Now I'm facing some problems trying to use .Net 4.0 DLLs in VC6.
Just to share some background info, it started with a requirement I need to use a (.Net 4.0 third-party) grid in an old VC6 application.
I browsed the internet and got the information about the interop and COM and so on.

Finally I arrived to this point: I used Microsoft's Interop Form Library in VS-2010 and created a dll file wrapping the third-party grid. Then from VB6 I tried to use it in VB6. It's working. I tried to do the same in VC6, but failed, and I also don't know exactly how to do exactly the same as in VB6. So I created VB6 ActiveX Control wrapping this dll. I used this ActiveX Control in VB6 exe applicaiton. It's working too. Then I tried to use the ActiveX control from VC6. I can load the grid on to the UI (by clicking a button). However, the intrinsic functions of the third-party grid (such as sorting by double-click on the column-header, group by the colums drag and drop) are not working anymore. Even when I click on the grid, the application hangs up. The error is saying something related with ".Net-BroadcastEventWindow".

Can you please help me?
Any information or guess-and-advise will be useful and really thankful.

Best regards,
Zaw Min Tun
AnswerRe: Using .Net DLL in VC6 Pin
David Knechtges19-Mar-14 8:05
David Knechtges19-Mar-14 8:05 
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 
QuestionEdit Box use [Solved] Pin
Fawaz Ajani17-Mar-14 10:43
Fawaz Ajani17-Mar-14 10:43 
AnswerRe: Edit Box use Pin
Albert Holguin17-Mar-14 11:34
professionalAlbert Holguin17-Mar-14 11:34 
GeneralRe: Edit Box use Pin
Fawaz Ajani17-Mar-14 22:21
Fawaz Ajani17-Mar-14 22:21 
GeneralRe: Edit Box use Pin
Richard MacCutchan18-Mar-14 0:41
mveRichard MacCutchan18-Mar-14 0:41 
GeneralRe: Edit Box use Pin
Fawaz Ajani18-Mar-14 5:05
Fawaz Ajani18-Mar-14 5:05 
GeneralRe: Edit Box use Pin
Richard MacCutchan18-Mar-14 6:54
mveRichard MacCutchan18-Mar-14 6:54 
GeneralRe: Edit Box use Pin
Fawaz Ajani19-Mar-14 20:37
Fawaz Ajani19-Mar-14 20:37 
GeneralRe: Edit Box use Pin
Albert Holguin18-Mar-14 5:04
professionalAlbert Holguin18-Mar-14 5:04 
GeneralRe: Edit Box use Pin
Fawaz Ajani18-Mar-14 5:09
Fawaz Ajani18-Mar-14 5:09 
SuggestionRe: Edit Box use Pin
Albert Holguin18-Mar-14 10:56
professionalAlbert Holguin18-Mar-14 10:56 
QuestionSyntax Error Pin
Member 1060570217-Mar-14 6:43
Member 1060570217-Mar-14 6:43 
AnswerRe: Syntax Error Pin
Richard Andrew x6417-Mar-14 9:09
professionalRichard Andrew x6417-Mar-14 9:09 
GeneralRe: Syntax Error Pin
Member 1060570217-Mar-14 10:09
Member 1060570217-Mar-14 10:09 
GeneralRe: Syntax Error Pin
Albert Holguin17-Mar-14 12:31
professionalAlbert Holguin17-Mar-14 12:31 
AnswerRe: Syntax Error Pin
Albert Holguin17-Mar-14 12:34
professionalAlbert Holguin17-Mar-14 12:34 
GeneralRe: Syntax Error Pin
Member 1060570218-Mar-14 2:37
Member 1060570218-Mar-14 2:37 

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.