|
-
Aug 15th, 2005, 02:01 AM
#1
DllImport question
There's one thing I'm not quite understanding. I'm looking at this page on MSDN and the DllImport syntax is confusing me:
[DllImport("KERNEL32.DLL", EntryPoint="MoveFileW", SetLastError=true,
CharSet=CharSet.Unicode, ExactSpelling=true,
CallingConvention=CallingConvention.StdCall)]
public static extern bool MoveFile(String src, String dst);
when they use EntryPoint, what does entryPoint refer to ? is it an application wide variable? why doesn't the app compile if I remove the "entrypoint=" part? it's a bit confusing
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|