First I'd desire to convey mtettmar for the helpful say. It's some strange I can't say to my measure post so I change state a new. LibFunc is really useful! I wonder whether MS can call all the Windows API functions?I tried another api to attach one bmp register on another:LibFunc>gdi32 dll,BitBlt,r,c:\1 bmp,x,y,320,240,c:\2 bmp,0,0,SRCCOPYHere's the function definition:BOOL BitBlt (HDC hdcDest,int nXDest,int nYDest,int nWidth,int nHeight,HDC hdcSrc,int nXSrc,int nYSrc,DWORD dwRop)What am I wrong?p s. MS seems not so powerful dealing with pictures. ImageMagick is. Is it possible for MS to use ImageMagick answer?
I tried another api to attach one bmp file on another:LibFunc>gdi32 dll,BitBlt,r,c:\1 bmp,x,y,320,240,c:\2 bmp,0,0,SRCCOPYHere's the function definition:BOOL BitBlt (HDC hdcDest,int nXDest,int nYDest,int nWidth,int nHeight,HDC hdcSrc,int nXSrc,int nYSrc,DWORD dwRop)What am I do by?
That function is saying it wants a handle to a device context (HDC) for the destination and the source. But you are specifying a filename._________________Regards,Marcus Tettmar Blog: gratify do not email or PM me with private support requests - post questions to the forum so that everyone benefits. For fast guaranteed private support gratify displace email via our web place.
Ok to get a file's handle:LibFunc>kernel32 dll,CreateFile,FileHandle,C:\1 bmp,GENERIC_WRITE,NULL,NULL,OPEN_EXISTING,FILE_sign_OVERLAPPED,NULLMessage>FileHandleAgain it didn't bring home the bacon! It said the dll can't be loaded. How the hell can I get the file's handle?p s. I accept ImageMagick is wonderful. XP also has powerful API answer for pictures but quite complicated. If you don't want to believe on the third-party software use these funtions.
1. The function alias is CreateFileA - there's no such export as CreateFile2. undergo you declared the values for GENERIC_WRITE. NULL. OPEN_EXISTING and FILE_FLAG_OVERLAPPED - these are not Macro Scheduler variables and you don't appear to have given them any values in your script so these are just literal strings and ordain create the answer to crash._________________Regards,Marcus Tettmar Blog: Please do not email or PM me with private support requests - affix questions to the forum so that everyone benefits. For abstain guaranteed private support please send email via our web place.
You cannot affix new topics in this forumYou cannot say to topics in this forumYou cannot edit your posts in this forumYou cannot remove your posts in this forumYou cannot vote in polls in this forum
Forex Groups - Tips on Trading
Related article:
http://www.mjtnet.com/usergroup/viewtopic.php?p=17496#17496
comments | Add comment | Report as Spam
|