Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem with DataBase Path While uploading Images Pin
Spunky Coder23-Apr-08 21:04
Spunky Coder23-Apr-08 21:04 
GeneralBandWidth Programming in C# Pin
Balaji.KJ23-Apr-08 19:34
Balaji.KJ23-Apr-08 19:34 
GeneralRe: BandWidth Programming in C# Pin
MumbleB23-Apr-08 20:16
MumbleB23-Apr-08 20:16 
GeneralClose an HTTPListenerResponse.OutputStreram Pin
George_George23-Apr-08 19:02
George_George23-Apr-08 19:02 
Generalneed help retrieving an autonumber from an MS Access table using C# Pin
precado99923-Apr-08 15:12
precado99923-Apr-08 15:12 
GeneralRe: need help retrieving an autonumber from an MS Access table using C# Pin
I.explore.code23-Apr-08 18:47
I.explore.code23-Apr-08 18:47 
GeneralRe: need help retrieving an autonumber from an MS Access table using C# Pin
precado99924-Apr-08 10:59
precado99924-Apr-08 10:59 
QuestionDoes Platform invoke importing the GDI32.dll is supported by different OS Versions? Pin
Faysal23-Apr-08 14:54
Faysal23-Apr-08 14:54 
Hi,

I am using streatchblt() and SetStretchBltMode() functions of unmanaged code in C# for printing image. For doing that I am calling the external gdi32.dll (form windows folder) file.

I am new in doing this sort of platform invoke operation. Plz tell me if my software is run in any windows version ranges form windows 95 to vista or any upcoming version, will this be problematic?

[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]<br />
<br />
static extern bool StretchBlt(IntPtr hdcDest, int nXOriginDest, int nYOriginDest,int nWidthDest, int nHeightDest, IntPtr hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, Int32 dwRop);<br />
<br />
[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]<br />
<br />
static extern bool SetStretchBltMode(IntPtr hdc, int iStretchMode);


>> I have tried to add this dll file as a reference in my code but failed to do so as this file is unaccessible.

Plz tell me if I have any alternative for doing the work of the above mensioned functions with managed code.

thanks in advance Smile | :)

Faysal
GeneralRe: Does Platform invoke importing the GDI32.dll is supported by different OS Versions? Pin
Christian Graus23-Apr-08 16:44
protectorChristian Graus23-Apr-08 16:44 
GeneralRe: Does Platform invoke importing the GDI32.dll is supported by different OS Versions? Pin
Faysal23-Apr-08 22:21
Faysal23-Apr-08 22:21 
GeneralRe: Does Platform invoke importing the GDI32.dll is supported by different OS Versions? Pin
Christian Graus24-Apr-08 12:21
protectorChristian Graus24-Apr-08 12:21 
QuestionWrap around Single Dimension array Pin
Blade24323-Apr-08 14:46
Blade24323-Apr-08 14:46 
GeneralRe: Wrap around Single Dimension array Pin
Anthony Mushrow23-Apr-08 15:47
professionalAnthony Mushrow23-Apr-08 15:47 
GeneralRe: Wrap around Single Dimension array Pin
Jordanwb23-Apr-08 15:55
Jordanwb23-Apr-08 15:55 
GeneralRe: Wrap around Single Dimension array Pin
Blade24323-Apr-08 17:06
Blade24323-Apr-08 17:06 
GeneralRe: Wrap around Single Dimension array Pin
Jordanwb24-Apr-08 2:08
Jordanwb24-Apr-08 2:08 
GeneralRe: Wrap around Single Dimension array Pin
Guffa23-Apr-08 21:09
Guffa23-Apr-08 21:09 
Questionusing of dataset generated , dataset.xsc or .xss Pin
Knowledgestudent23-Apr-08 11:14
Knowledgestudent23-Apr-08 11:14 
GeneralProperly disconnecting and shutting down a socket. [modified] Pin
Jordanwb23-Apr-08 10:26
Jordanwb23-Apr-08 10:26 
GeneralRe: Properly disconnecting and shutting down a socket. Pin
Gareth H23-Apr-08 12:55
Gareth H23-Apr-08 12:55 
GeneralRe: Properly disconnecting and shutting down a socket. Pin
Jordanwb25-Apr-08 9:11
Jordanwb25-Apr-08 9:11 
GeneralImporting a csv Pin
BraveKnightFSJ23-Apr-08 10:07
BraveKnightFSJ23-Apr-08 10:07 
GeneralRe: Importing a csv Pin
Christian Graus23-Apr-08 10:25
protectorChristian Graus23-Apr-08 10:25 
GeneralRe: Importing a csv Pin
BraveKnightFSJ23-Apr-08 12:29
BraveKnightFSJ23-Apr-08 12:29 
GeneralRe: Importing a csv Pin
Christian Graus23-Apr-08 12:38
protectorChristian Graus23-Apr-08 12:38 

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.