Click here to Skip to main content
15,559,567 members
Home / Discussions / C#
   

C#

 
Generalsharing internet offline files Pin
Mohamad Al Husseiny13-Jan-04 19:18
Mohamad Al Husseiny13-Jan-04 19:18 
GeneralRe: sharing internet offline files Pin
Heath Stewart14-Jan-04 5:02
protectorHeath Stewart14-Jan-04 5:02 
GeneralRe: sharing internet offline files Pin
Mohamad Al Husseiny14-Jan-04 20:20
Mohamad Al Husseiny14-Jan-04 20:20 
GeneralGraph classes for C# Pin
crushinghellhammer13-Jan-04 14:50
crushinghellhammer13-Jan-04 14:50 
GeneralRe: Graph classes for C# Pin
scadaguy14-Jan-04 3:42
scadaguy14-Jan-04 3:42 
GeneralRe: Graph classes for C# Pin
Giles14-Jan-04 12:17
Giles14-Jan-04 12:17 
GeneralMarshalling from C# string directly to an MFC CString Pin
jerrycainjr13-Jan-04 14:14
jerrycainjr13-Jan-04 14:14 
GeneralRe: Marshalling from C# string directly to an MFC CString Pin
Heath Stewart14-Jan-04 4:43
protectorHeath Stewart14-Jan-04 4:43 
The first thing to do is read the documentation for the DllImportAttribute in the .NET Framework SDK, as well as the MarshalAsAttribute. The first is how you P/Invoke native functions. Since an MFC CString can be cast to an LPTSTR, you use use the UnmanagedType.LPTStr in the MarshalAsAttribute for the string parameter. There's also several articles about P/Invoke and interoperability in the .NET Framework SDK that should help.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralAnimating True Type Fonts Pin
mrhicks13-Jan-04 13:01
mrhicks13-Jan-04 13:01 
GeneralRe: Animating True Type Fonts Pin
Heath Stewart13-Jan-04 14:00
protectorHeath Stewart13-Jan-04 14:00 
GeneralRe: Animating True Type Fonts Pin
leppie13-Jan-04 14:45
leppie13-Jan-04 14:45 
GeneralGDI+ missing functionality in PocketPC Pin
Gizz13-Jan-04 8:52
Gizz13-Jan-04 8:52 
GeneralRe: GDI+ missing functionality in PocketPC Pin
Heath Stewart13-Jan-04 9:21
protectorHeath Stewart13-Jan-04 9:21 
GeneralRe: GDI+ missing functionality in PocketPC Pin
leppie13-Jan-04 14:54
leppie13-Jan-04 14:54 
GeneralUnexpected (buggy?) behavior of RichTextBox when ZoomFactor is 2.0 Pin
Roman R.13-Jan-04 8:20
Roman R.13-Jan-04 8:20 
GeneralRe: Unexpected (buggy?) behavior of RichTextBox when ZoomFactor is 2.0 Pin
Heath Stewart13-Jan-04 9:40
protectorHeath Stewart13-Jan-04 9:40 
GeneralComboBox events Pin
elena1234513-Jan-04 7:15
elena1234513-Jan-04 7:15 
GeneralRe: ComboBox events Pin
Nick Parker13-Jan-04 7:50
protectorNick Parker13-Jan-04 7:50 
GeneralRe: ComboBox events Pin
elena1234513-Jan-04 9:09
elena1234513-Jan-04 9:09 
GeneralRe: ComboBox events Pin
Heath Stewart13-Jan-04 9:49
protectorHeath Stewart13-Jan-04 9:49 
GeneralRe: ComboBox events Pin
elena1234513-Jan-04 11:14
elena1234513-Jan-04 11:14 
Generalunzip zip file Pin
murali_utr13-Jan-04 7:00
murali_utr13-Jan-04 7:00 
GeneralRe: unzip zip file Pin
Judah Gabriel Himango13-Jan-04 7:14
sponsorJudah Gabriel Himango13-Jan-04 7:14 
GeneralRe: unzip zip file Pin
murali_utr13-Jan-04 10:20
murali_utr13-Jan-04 10:20 
QuestionLicensing solution per SQL Database? Pin
Alex Korchemniy13-Jan-04 5:56
Alex Korchemniy13-Jan-04 5:56 

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.