Click here to Skip to main content
15,892,965 members
Home / Discussions / C#
   

C#

 
GeneralMDI in C# Pin
ASGill19-Dec-03 16:24
ASGill19-Dec-03 16:24 
GeneralRe: MDI in C# Pin
Heath Stewart20-Dec-03 20:21
protectorHeath Stewart20-Dec-03 20:21 
GeneralPowerpoint problem with axwebbrowser Pin
DeusingMono19-Dec-03 14:54
DeusingMono19-Dec-03 14:54 
GeneralWeb Calendar Control Pin
Big Orange19-Dec-03 12:03
Big Orange19-Dec-03 12:03 
GeneralRe: Web Calendar Control Pin
Big Orange24-Dec-03 5:45
Big Orange24-Dec-03 5:45 
GeneralEfficient String Concatenation Pin
Larry Antram19-Dec-03 11:46
Larry Antram19-Dec-03 11:46 
GeneralRe: Efficient String Concatenation Pin
Heath Stewart19-Dec-03 11:58
protectorHeath Stewart19-Dec-03 11:58 
GeneralC# string to CString marshaling Pin
jerrycainjr19-Dec-03 9:15
jerrycainjr19-Dec-03 9:15 
Everyone, I'm hoping to call an unmanaged C/C++ function within a DLL directly from a C# class without having to bother with a managedC++ class as proxy. However, the DLL function includes the MFC CString in its prototype, so I'm thinking that perhaps I'm going to need to.

[DllImport( @"C:\Program Files\MyCompany\MyDLL.dll", CharSet = CharSet.Ansi)]
public static extern IntPtr MyFunction(CString arg1, CString arg2);

I understand that the InteropServices will likely be involved, and I'm about to do
my homework so see what needs to be done, but if anyone knows the answers, then
feel free to fill me in. Smile | :)

Best,
Jerry
GeneralRe: C# string to CString marshaling Pin
Heath Stewart19-Dec-03 9:47
protectorHeath Stewart19-Dec-03 9:47 
QuestionAdding a button to IE's main toolbar? Pin
Andreas Philipson19-Dec-03 8:43
Andreas Philipson19-Dec-03 8:43 
AnswerRe: Adding a button to IE's main toolbar? Pin
Heath Stewart19-Dec-03 9:26
protectorHeath Stewart19-Dec-03 9:26 
GeneralInserting the same textbox in multiple controls Pin
spindar19-Dec-03 7:44
spindar19-Dec-03 7:44 
GeneralRe: Inserting the same textbox in multiple controls Pin
Not Active19-Dec-03 8:01
mentorNot Active19-Dec-03 8:01 
GeneralRe: Inserting the same textbox in multiple controls Pin
Heath Stewart19-Dec-03 8:27
protectorHeath Stewart19-Dec-03 8:27 
GeneralDataGrid, don't want the last row (new record), how to remove Pin
Member 61691919-Dec-03 7:29
Member 61691919-Dec-03 7:29 
GeneralRe: DataGrid, don't want the last row (new record), how to remove Pin
sthect19-Dec-03 8:00
sthect19-Dec-03 8:00 
GeneralRe: DataGrid, don't want the last row (new record), how to remove Pin
Member 61691919-Dec-03 9:17
Member 61691919-Dec-03 9:17 
GeneralRe: DataGrid, don't want the last row (new record), how to remove Pin
dubor9-Jan-04 6:34
dubor9-Jan-04 6:34 
GeneralParsing an LDIF file without using ldifde or Active Directory Pin
sonicflame19-Dec-03 6:10
sonicflame19-Dec-03 6:10 
GeneralEntity point-to-point communication...suggestions Pin
LongRange.Shooter19-Dec-03 5:11
LongRange.Shooter19-Dec-03 5:11 
GeneralRe: Entity point-to-point communication...suggestions Pin
Heath Stewart19-Dec-03 6:13
protectorHeath Stewart19-Dec-03 6:13 
GeneralRe: Entity point-to-point communication...suggestions Pin
LongRange.Shooter19-Dec-03 7:14
LongRange.Shooter19-Dec-03 7:14 
GeneralRe: Entity point-to-point communication...suggestions Pin
Heath Stewart19-Dec-03 8:26
protectorHeath Stewart19-Dec-03 8:26 
GeneralRe: Entity point-to-point communication...suggestions Pin
LongRange.Shooter22-Dec-03 2:34
LongRange.Shooter22-Dec-03 2:34 
GeneralRe: Entity point-to-point communication...suggestions Pin
Giles19-Dec-03 8:59
Giles19-Dec-03 8:59 

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.