Click here to Skip to main content
15,891,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Memory problems Pin
PJ Arends18-Oct-05 7:04
professionalPJ Arends18-Oct-05 7:04 
AnswerRe: Memory problems Pin
David Crow18-Oct-05 7:36
David Crow18-Oct-05 7:36 
GeneralRe: Memory problems Pin
bugDanny18-Oct-05 8:21
bugDanny18-Oct-05 8:21 
QuestionHow to make a circle push button? Pin
LaHaHa18-Oct-05 5:55
LaHaHa18-Oct-05 5:55 
AnswerRe: How to make a circle push button? Pin
ThatsAlok18-Oct-05 6:13
ThatsAlok18-Oct-05 6:13 
Questionthatsalok help me ( sending file through a socket) Pin
REU18-Oct-05 5:37
REU18-Oct-05 5:37 
AnswerRe: thatsalok help me ( sending file through a socket) Pin
ThatsAlok18-Oct-05 6:11
ThatsAlok18-Oct-05 6:11 
Questionmixing unmanaged and managed code to get a .Net dll Pin
DeepToot18-Oct-05 5:05
DeepToot18-Oct-05 5:05 
I've been messing with this application for a while now. I have an unmanaged dll that fires a few events I want to capture in my C# app.

I used a C++ managed app, found here at codeproject, that would act as an interface to my unmanaged C++ and my C# app.

I never could get it to work, so im deciding whether or not I can put the unmanaged code inside my managed code and still use my events in unmanaged code.

If this is possible I could then reference it in C# and create an event handler for those events.

My question is, what does this entail?

What about the includes in my unmanaged code?

Am I correct in thinking that include 'windows.h' can be replaced with using namespace System;?
Other includes I'm using are:
strhandle.h
string.h
stdio.h
stdlib.h
share.h
and iohandler.h

What are the .Net equivalents to these?

Also my unmanaged code uses __asm to loop through some data, is that transferable to .Net?

Sorry for the many questions, I appreciate any help one can give me.



Steve Welborn

"Science can purify religion from error and superstition.
Religion can purify science from idolatry and false absolutes"
- 1987 John Paul the Great


-- modified at 11:08 Tuesday 18th October, 2005
AnswerRe: mixing unmanaged and managed code to get a .Net dll Pin
DeepToot18-Oct-05 9:20
DeepToot18-Oct-05 9:20 
QuestionHow can I get help topic, content in .chm file? Pin
ducgerman18-Oct-05 4:42
ducgerman18-Oct-05 4:42 
Questionfunction send() (Winsocks) help !! Pin
REU18-Oct-05 4:37
REU18-Oct-05 4:37 
AnswerRe: function send() (Winsocks) help !! Pin
ThatsAlok18-Oct-05 4:56
ThatsAlok18-Oct-05 4:56 
GeneralRe: function send() (Winsocks) help !! Pin
begray18-Oct-05 9:23
begray18-Oct-05 9:23 
GeneralRe: function send() (Winsocks) help !! Pin
ThatsAlok18-Oct-05 19:47
ThatsAlok18-Oct-05 19:47 
QuestionHow can I make a modeless topmost for the desktop ? Pin
yarp18-Oct-05 4:03
yarp18-Oct-05 4:03 
AnswerRe: How can I make a modeless topmost for the desktop ? Pin
Iain Clarke, Warrior Programmer18-Oct-05 4:25
Iain Clarke, Warrior Programmer18-Oct-05 4:25 
GeneralRe: How can I make a modeless topmost for the desktop ? Pin
yarp18-Oct-05 5:47
yarp18-Oct-05 5:47 
AnswerRe: How can I make a modeless topmost for the desktop ? Pin
Arman S.18-Oct-05 10:35
Arman S.18-Oct-05 10:35 
AnswerRe: How can I make a modeless topmost for the desktop ? Pin
S Douglas18-Oct-05 22:50
professionalS Douglas18-Oct-05 22:50 
AnswerRe: How can I make a modeless topmost for the desktop ? Pin
yarp20-Oct-05 6:19
yarp20-Oct-05 6:19 
QuestionAccess Violation Error Pin
nripun18-Oct-05 3:50
nripun18-Oct-05 3:50 
AnswerRe: Access Violation Error Pin
David Crow18-Oct-05 3:57
David Crow18-Oct-05 3:57 
GeneralRe: Access Violation Error Pin
Chris Losinger18-Oct-05 4:03
professionalChris Losinger18-Oct-05 4:03 
GeneralRe: Access Violation Error Pin
David Crow18-Oct-05 4:43
David Crow18-Oct-05 4:43 
GeneralRe: Access Violation Error Pin
Chris Losinger18-Oct-05 4:50
professionalChris Losinger18-Oct-05 4:50 

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.