Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
GeneralRe: References and asambling? Pin
Heath Stewart1-Apr-04 4:03
protectorHeath Stewart1-Apr-04 4:03 
GeneralTape Drive access Pin
Shaun Becker31-Mar-04 9:38
Shaun Becker31-Mar-04 9:38 
GeneralRe: Tape Drive access Pin
Heath Stewart31-Mar-04 9:53
protectorHeath Stewart31-Mar-04 9:53 
GeneralEndless Mouse Move Events Pin
Darryl Borden31-Mar-04 9:24
Darryl Borden31-Mar-04 9:24 
GeneralRe: Endless Mouse Move Events Pin
leppie31-Mar-04 9:49
leppie31-Mar-04 9:49 
GeneralRe: Endless Mouse Move Events Pin
Bryan White31-Mar-04 10:32
Bryan White31-Mar-04 10:32 
GeneralCreateProcess call.... Pin
RB@Emphasys31-Mar-04 8:27
RB@Emphasys31-Mar-04 8:27 
GeneralRe: CreateProcess call.... Pin
Heath Stewart31-Mar-04 8:57
protectorHeath Stewart31-Mar-04 8:57 
Sorry, but I'm not really seeing a relevent problem statement there. Are you saying your P/Invoke declaration isn't working? And what do you mean you're defining various parameters through the System.Web namespace?

Your declaration look okay to me. You might want to add CharSet=CharSet.Unicode to your DllImportAttribute to be sure that strings are marshalled appropriately.

If you don't like calling this often from your code, encapsulate it in a public static method or something.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: CreateProcess call.... Pin
RB@Emphasys31-Mar-04 9:07
RB@Emphasys31-Mar-04 9:07 
GeneralRe: CreateProcess call.... Pin
Heath Stewart31-Mar-04 9:12
protectorHeath Stewart31-Mar-04 9:12 
GeneralRe: CreateProcess call.... Pin
RB@Emphasys31-Mar-04 9:14
RB@Emphasys31-Mar-04 9:14 
GeneralRe: CreateProcess call.... Pin
RB@Emphasys31-Mar-04 9:48
RB@Emphasys31-Mar-04 9:48 
GeneralPlotting on a Map using latitudes/longitudes(GPS) Pin
sibish n b31-Mar-04 7:47
sibish n b31-Mar-04 7:47 
GeneralRe: Plotting on a Map using latitudes/longitudes(GPS) Pin
Bryan White31-Mar-04 8:43
Bryan White31-Mar-04 8:43 
GeneralRe: Plotting on a Map using latitudes/longitudes(GPS) Pin
mhmoud rawas31-Mar-04 9:52
mhmoud rawas31-Mar-04 9:52 
GeneralRe: Plotting on a Map using latitudes/longitudes(GPS) Pin
sibish n b1-Apr-04 21:56
sibish n b1-Apr-04 21:56 
GeneralRe: Plotting on a Map using latitudes/longitudes(GPS) Pin
mhmoud rawas2-Apr-04 4:18
mhmoud rawas2-Apr-04 4:18 
GeneralRe: Plotting on a Map using latitudes/longitudes(GPS) - another thought Pin
Bryan White31-Mar-04 10:49
Bryan White31-Mar-04 10:49 
QuestionDouble Buffering on System controls? Pin
Snowjim31-Mar-04 4:46
Snowjim31-Mar-04 4:46 
AnswerRe: Double Buffering on System controls? Pin
Heath Stewart31-Mar-04 5:03
protectorHeath Stewart31-Mar-04 5:03 
GeneralRe: Double Buffering on System controls? Pin
Snowjim31-Mar-04 5:14
Snowjim31-Mar-04 5:14 
GeneralRe: Double Buffering on System controls? Pin
Heath Stewart31-Mar-04 5:30
protectorHeath Stewart31-Mar-04 5:30 
GeneralRe: Double Buffering on System controls? Pin
Snowjim31-Mar-04 5:36
Snowjim31-Mar-04 5:36 
GeneralRe: Double Buffering on System controls? Pin
Heath Stewart31-Mar-04 5:43
protectorHeath Stewart31-Mar-04 5:43 
GeneralAutoScrolling with a RichTextBox Pin
znize31-Mar-04 4:00
znize31-Mar-04 4:00 

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.