Hi, try to sizeof(...) = 4 ;) Vitali http://www.creative-case.com
Vitali Halershtein
Posts
-
Struct issue -
Visible window in dllHi, I've suppose that you using WSH scripting on client side to work with dll. If yes, then use SetAllowUI(True) to enable your windows. Vitali http://www.creative-case.com
-
Capturing mouse coordinatesHi, GetCursorPos function retrieves the cursor's position, in screen coordinates. Just use it in your click handler. BOOL GetCursorPos( LPPOINT lpPoint // cursor position ); Vitali http://www.creative-case.com
-
Large FilesOne of the possible ways is to write wapper class similar CFile specially assigned to manipulate with VLF. F.e. - inside, this class could use 64-bit lo-level functions. Thanks for the interesting question. Vitali http://www.creative-case.com
-
Looking for free FTP library to build FTP client.Try to look it via search engines. Vitali
-
PC to PC comunications via NT networkMany ways are possible: - sending info using sockets; - sending info via pipes, mailslot, ...; - sending info via windows messaging; ... Vitali
-
Newbie: (Safely) deleting filesHi Dom, Why not use DeleteFile from win32 api ? BOOL DeleteFile( LPCTSTR lpFileName // file name ); Vitali http://www.creative-case.com
-
Looking for free FTP library to build FTP client.Hi Geo, Just tryto use WinINet. Vitali http://www.creative-case.com
-
Search Engines... does anyone know?Do you have own search engine or prefer to use existing (yahoo, google, ...)? Vitali http://www.creative-case.com
-
MAPIFist part of the question: now you know how to install MAPI. OK? Second part: you don't need to install exchange server. MAPI can work with any email server supported it. I hope clear? Vitali http://www.creative-case.com[^]
-
MAPIyou may have any email server including 'exchange'. Vitali http://www.creative-case.com[^]
-
MAPI1. copy MSMAPI*.* files in the system directory 2. run regsvr32.exe msmapi32.ocx to register Vitali http://www.creative-case.com[^]
-
Drawing on Dialog using DCI usualy put some element in the dialog such as image or button and put image in to it. Vitali http://www.creative-case.com[^]
-
MAPIHi, You pass mapi questions during last month:) To install mapi you need register Msmapi32.ocx using regsvr32. In some casees you will need to have file Msmapi.srg with licenses. Vitali http://www.creative-case.com[^]
-
How to find which Window have some DC ?Fine:) You have answer. Vitali http://www.creative-case.com
-
How to find which Window have some DC ?Hi, Enumerate all windows (EnumWindows, EnumChildWindows, ...) and compre these DC's with existing. Vitali http://www.creative-case.com[^]
-
The number of new and unread emailsHi, Use MAPI :) Vitali http://www.creative-case.com
-
How to position the controls in a view?Hi, You also can try to use MoveWindow insted SetWindowPos. May be it will solve your problems. Vitali http://www.creative-case.com[^]
-
String Parsingthis is very simple: use syntax similar: strtok( (char*)(LPCTSTR)CStringvariable, ... ); or use GetBuffer member from CString Vitali http://www.creative-case.com[^]
-
Drawing on Dialog using DCHi YaronNir, I think this is not good way to rewrite OnPaint in dialog (hmmm - f.e. because dialog may contain other elements). Insted this let try to put cpecial element on the dialog and draw bitmap in to it. Hope this help. Vitali http://www.creative-case.com[^]