Click here to Skip to main content
15,894,297 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: jpg support Pin
PJ Arends19-May-05 16:45
professionalPJ Arends19-May-05 16:45 
GeneralRe: jpg support Pin
ThatsAlok19-May-05 18:23
ThatsAlok19-May-05 18:23 
GeneralRe: jpg support Pin
Stirfie20-May-05 0:27
Stirfie20-May-05 0:27 
GeneralWin98 Compatibility problem (Help please) Pin
Demián Gutierrez19-May-05 13:41
Demián Gutierrez19-May-05 13:41 
GeneralPlease help me draw on my desktop behind the icons Pin
Weasel11119-May-05 11:22
Weasel11119-May-05 11:22 
GeneralRe: Please help me draw on my desktop behind the icons Pin
Christian Graus19-May-05 16:24
protectorChristian Graus19-May-05 16:24 
Generalplease help on CListCtrl and LVN_BEGINLABELEDIT Pin
lucy19-May-05 11:13
lucy19-May-05 11:13 
QuestionHow to go about mixing C++ dll with C# forms for use in a scripting language that can call dlls Pin
KnaveR77719-May-05 10:52
KnaveR77719-May-05 10:52 
Hey all, I was wondering how I might go about mixing a C++ dll with C# windows form.

I am currently creating a C++ dll to use within another application that allows scripts to call into dlls, for a fun/learning project. Though I have been able to figure out how to perform simple function calls, I am a bit clueless as to how I might go adding GUI components into the mix. In the end I would like to able to add a toolbar to the outside application. Ideally, because it is so simple to create windows forms in C#, I would like to be able to create the toolbar in C# and have it call my dll functions. Though I have done some searching, I am a bit lost on where to even begin.

As a first step, I would like to write a simple function in my C++ dll that creates a simple HelloWorld windows form (script calls dll's helloWorld -> dll creates C# form). Though I can do either by itself, I am not sure how to call the form from within the dll, as well as how to go about having C# and C++ in the same visual studio project. If anyone could point me in the right direction, I would be very thankful.
GeneralI need control over other windows. Pin
bugDanny19-May-05 10:47
bugDanny19-May-05 10:47 
GeneralRe: I need control over other windows. Pin
Joel Holdsworth19-May-05 11:10
Joel Holdsworth19-May-05 11:10 
GeneralRe: I need control over other windows. Pin
bugDanny20-May-05 5:19
bugDanny20-May-05 5:19 
GeneralRe: I need control over other windows. Pin
Joel Holdsworth20-May-05 6:42
Joel Holdsworth20-May-05 6:42 
GeneralOverloaded operators and enums Pin
Andrew Manison19-May-05 9:49
Andrew Manison19-May-05 9:49 
Generalanother small pointers problem Pin
Mridang Agarwalla19-May-05 8:21
Mridang Agarwalla19-May-05 8:21 
GeneralRe: another small pointers problem Pin
Monty219-May-05 8:32
Monty219-May-05 8:32 
GeneralRe: another small pointers problem Pin
David Crow19-May-05 8:35
David Crow19-May-05 8:35 
GeneralSocket Question Pin
talkster519-May-05 8:19
talkster519-May-05 8:19 
GeneralRe: Socket Question Pin
Ryan Binns19-May-05 18:11
Ryan Binns19-May-05 18:11 
GeneralRe: Socket Question Pin
talkster519-May-05 19:58
talkster519-May-05 19:58 
GeneralRe: Socket Question Pin
talkster520-May-05 3:39
talkster520-May-05 3:39 
GeneralRe: Socket Question Pin
talkster520-May-05 4:38
talkster520-May-05 4:38 
GeneralIncomplete Stack trace from Minidump using WinDbg Pin
JayVSub19-May-05 8:00
JayVSub19-May-05 8:00 
GeneralRe: Incomplete Stack trace from Minidump using WinDbg Pin
doublebug21-May-05 1:57
doublebug21-May-05 1:57 
GeneralHelp: App crashes using Chris GridCtrl in DLL and Release Mode (has anyone same problem or a workaround) Pin
Ralph19-May-05 7:22
Ralph19-May-05 7:22 
GeneralRe: Help: App crashes using Chris GridCtrl in DLL and Release Mode (has anyone same problem or a workaround) Pin
Ryan Binns19-May-05 18:30
Ryan Binns19-May-05 18:30 

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.