473,320 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

GDI+ import gdi32.dll

MAY
hi all,

i want to import [DllImport("gdi32.dll")] to perform BitBlt drawing, how to
import it??
Thx...

MAY
Nov 16 '05 #1
3 8341
MAY
it said "The type or namespace name "DLLImport" could not be found.." when i
try to use it..
"MAY" <pa****@hotmail.com> ¦b¶l¥ó
news:%2***************@TK2MSFTNGP10.phx.gbl ¤¤¼¶¼g...
hi all,

i want to import [DllImport("gdi32.dll")] to perform BitBlt drawing, how to import it??
Thx...

MAY

Nov 16 '05 #2
it said "The type or namespace name "DLLImport" could not be found.." when i
try to use it..


using System.Runtime.InteropServices;


Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 16 '05 #3
MAY
i got it... thx for valuable reply ..
MAY

"Mattias Sjögren" <ma********************@mvps.org> ???
news:OP*************@tk2msftngp13.phx.gbl ???...
it said "The type or namespace name "DLLImport" could not be found.." when itry to use it..


using System.Runtime.InteropServices;


Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Helen W | last post by:
Hi In my vb.net Installer class, I check the InstalledFontCollection for myFont, if it isn't there I try to install it using the GDI function AddFontResource. I am getting the following error...
5
by: Saurabh Aggrawal | last post by:
Hi, I am in the process of debugging a 32 bit driver in user mode. I am debugging a dll( printer UI) which internally uses the GDI32.dll. I am using the Windbg for debugging. Windbg is loading the...
0
by: Rutger Hemrika | last post by:
Hello, I am developing a program which functions as a WYSIWYG for a special printer. This is an non-pcl printer which has it's own language. I already tapped into the winspool.drv to acces it...
1
by: Jeremy | last post by:
I've magnified an image on the form as following codes: private void ViewForm_Paint(object sender,System.Windows.Forms.PaintEventArgs e) { Point ulCorner = new Point( 0, 0);...
2
by: Espen | last post by:
Hi I have a C# application that should display a chart, the chart drawing is done by a COM object. I have tried to use dllimport with gdi32.dll and created compatibleDC and compatibleBitmap with...
5
by: Pohihihi | last post by:
I am getting a generic GDI+ error on following code. Basically it is trying to capture screen image and save in a file. Is there a way to find more details on this error? Thanks for the help. ...
3
by: Joergen Bech | last post by:
Am trying to paint a simple rectangle directly on the screen DC using the code below, but nothing happens?!? Weird. Anyone who can tell me what I am doing wrong? This ought to be...
2
by: user | last post by:
Hi all... i am trying to print an image using GDI - but the only thing i get is a black rectangle. Does anybody know what is wrong, or how else to get the bitmap on the printer (GDI+ is not...
0
by: ssaraceni | last post by:
Hi, I've a software developed using VB5 and GDI, it works fine on WIN98, but has a lot of problem with WIN2000 and WinXP. In details, debugging the source code I see that with Win2000, GDI...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.