Click here to Skip to main content
15,908,581 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unmanaged Dlls ? Pin
veselin_iordanov16-Feb-04 9:21
veselin_iordanov16-Feb-04 9:21 
GeneralRe: Unmanaged Dlls ? Pin
Heath Stewart16-Feb-04 9:26
protectorHeath Stewart16-Feb-04 9:26 
Why don't you post some code. This can work and I've done it successfully in the past. You either pin the addresses yourself or use one of the methods from the System.Runtime.InteropServices.Marshal class, though you're limited in what you can do with them. All ths has to be done from within a safe context, unless you use the methods from the Marshal class and use IntPtr for the pointer fields in your struct.

EDIT: Wrong reply - mistook for a different P/Invoke thread today.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Unmanaged Dlls ? Pin
veselin_iordanov16-Feb-04 9:32
veselin_iordanov16-Feb-04 9:32 
GeneralRe: Unmanaged Dlls ? Pin
Heath Stewart16-Feb-04 9:51
protectorHeath Stewart16-Feb-04 9:51 
GeneralRe: Unmanaged Dlls ? Pin
veselin_iordanov16-Feb-04 9:56
veselin_iordanov16-Feb-04 9:56 
GeneralRe: Unmanaged Dlls ? Pin
Heath Stewart16-Feb-04 10:30
protectorHeath Stewart16-Feb-04 10:30 
GeneralRe: Unmanaged Dlls ? Pin
veselin_iordanov16-Feb-04 12:27
veselin_iordanov16-Feb-04 12:27 
GeneralRe: Unmanaged Dlls ? Pin
Heath Stewart17-Feb-04 2:41
protectorHeath Stewart17-Feb-04 2:41 
GeneralChanging Control Locations In C# Pin
Eric Houser14-Feb-04 12:16
Eric Houser14-Feb-04 12:16 
GeneralRe: Changing Control Locations In C# Pin
Colin Angus Mackay14-Feb-04 13:27
Colin Angus Mackay14-Feb-04 13:27 
GeneralRe: Changing Control Locations In C# Pin
Bo Hunter15-Feb-04 7:38
Bo Hunter15-Feb-04 7:38 
GeneralRichTextBox, Scroll Bars and VScroll Event Pin
je_gonzalez14-Feb-04 11:03
je_gonzalez14-Feb-04 11:03 
GeneralCommunication between webservice and win application Pin
Anonymous14-Feb-04 10:59
Anonymous14-Feb-04 10:59 
GeneralRe: Communication between webservice and win application Pin
Mazdak14-Feb-04 19:49
Mazdak14-Feb-04 19:49 
GeneralRe: Communication between webservice and win application Pin
Anonymous14-Feb-04 21:26
Anonymous14-Feb-04 21:26 
GeneralRe: Communication between webservice and win application Pin
Mazdak14-Feb-04 21:30
Mazdak14-Feb-04 21:30 
GeneralRe: Communication between webservice and win application Pin
naxos15-Feb-04 20:10
naxos15-Feb-04 20:10 
GeneralNeed Help In Socket Programming Pin
Amoola14-Feb-04 10:15
Amoola14-Feb-04 10:15 
GeneralRe: Need Help In Socket Programming Pin
Colin Angus Mackay14-Feb-04 10:53
Colin Angus Mackay14-Feb-04 10:53 
GeneralShellnotifications Pin
Lesuran14-Feb-04 9:56
Lesuran14-Feb-04 9:56 
QuestionHow to create an combobox inside IDE's property editor ? Pin
Andres Coder14-Feb-04 8:34
Andres Coder14-Feb-04 8:34 
AnswerRe: How to create an combobox inside IDE's property editor ? Pin
Heath Stewart14-Feb-04 9:24
protectorHeath Stewart14-Feb-04 9:24 
GeneralRe: How to create an combobox inside IDE's property editor ? Pin
Andres Coder14-Feb-04 9:46
Andres Coder14-Feb-04 9:46 
GeneralRe: How to create an combobox inside IDE's property editor ? Pin
Heath Stewart15-Feb-04 5:43
protectorHeath Stewart15-Feb-04 5:43 
GeneralRe: How to create an combobox inside IDE's property editor ? Pin
Andres Coder15-Feb-04 7:21
Andres Coder15-Feb-04 7:21 

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.