|
Did you try to use LPARAM instead?
|
|
|
|
|
Aside from the MSDN, does anyone know of a good tutorial or BOOK that does with all forms of hooking?
Esp hooking another process (outside your own) through the use of a .DLL
|
|
|
|
|
here at cp is one:
http://www.codeproject.com/system/hooksys.asp
|
|
|
|
|
Is there a pragma or something that can be used to disable the scroll of symbols loaded messages when you run in debug mode? I would prefer just to see my traces etc and not get all those messages every time.
|
|
|
|
|
Hi, I'm using CHtmlView as an active document container of Excel files, everything works as expected, except for a little problem :
If I already have an excel spreadsheet open ( inside Excel, I mean ) and the open a second spreadsheet using my app I can not longer set the focus on Excel! I tried building a bare bones app with the wizard and it has the same error.
Ideas anyone? I'm going nuts on this one
eperales
|
|
|
|
|
I think it's a simple question yet have not found ANY answers.
I would like to call
BOOL CopyFileEx(
LPCWSTR lpExistingFileName,
LPCWSTR lpNewFileName,
LPPROGRESS_ROUTINE lpProgressRoutine,
LPVOID lpData,
LPBOOL pbCancel,
DWORD dwCopyFlags
);
in my MFC app.
No luck...
what am I missing?
Thanks
|
|
|
|
|
And your problem is? Does not compile? Compiles but does not work? Blows your machine?
eperales
|
|
|
|
|
How you are using the function.....?
Why don't use SHFileOperation ?
Best Regards....
Carlos Antollini.
Pi Five[^]Creator
Sonork ID 100.10529 cantollini
|
|
|
|
|
MFC is calling Win32 stuff itself, you should be able to call any Win32 function from MFC. What you're missing is an explanation of what is going wrong, but according to MSDN it was introduced in W98, so you probably need a platform SDK installed in order to use it. ( That is to say you DO need it, and I'm guessing it's your problem ).
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
If include the "winbase.h" header file the complier complains
c:\program files\microsoft sdk\include\wininet.h(297) : error C2146: syntax error : missing ';' before identifier 'dwResult'
c:\program files\microsoft sdk\include\wininet.h(297) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\program files\microsoft sdk\include\wininet.h(297) : error C2501: 'dwResult' : missing storage-class or type specifiers
thanks again
|
|
|
|
|
I have Platform SDK installed, and I had similar error, after defining:
#define WIN32_WINDOWS 0x0410
in stdafx.h (before any include) they disappeared
eperales
|
|
|
|
|
the msdn says:
To compile an application that uses this function, define the _WIN32_WINNT macro as 0x0400 or later. maybe Adding it.
|
|
|
|
|
Hi.
How do you set a window (CFormView) to start in retored mode? For example, as you click the "Maximize" icon when a window is maximized, you may retored it. I would like a window to start in retored mode.
Thanks,
Kuphryn
|
|
|
|
|
hello i have problem with using of those functions:
- CryptCreateKeyIdentifierFromCSP
- CryptEnumKeyIdentifierProperties
- CryptSetKeyIdentifierProperty
- CryptGetKeyIdentifierProperty
those functions are in MSDN sample
(ms-help://MS.MSDNQTR.2002JAN.1033/security/
security/example_c_program_working_with_key_identifiers.htm)
but after compiling it i have got 'undeclared identifier' error message.
any one could help me with this?
ps.
i already defined _CRYPT32_ and _WIN32_WINNT definitions
thx.
|
|
|
|
|
Rafal Szymanski wrote:
but after compiling it i have got 'undeclared identifier' error message.
On what? Quote the whole error message.
Most probably a missing #include.
Error 4711: Signature expired
|
|
|
|
|
ok, i fixed problem
i had got old version of wincrypt.h i crypt32.lib
so i downloaded the newest core sdk i now it's ok
|
|
|
|
|
If I have this below unsigned char* data
'xxxxxxxx' (assume x is Ascii Character)
How to change from unsigned char* to CString and how to change back from CString to unsigned char*.
Do you know how to do that?
Thank you for your reply.
|
|
|
|
|
|
Oh - damn. Or Michael Dunns string articles.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
I misread the question! (I thought he was asking about the good-old problem of translating a number into its representation.) It's yours the right answer
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
I didn't think of the FAQ, nor have I read it in ages, so I just presumed the right answer was in there also when I saw your reply.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
He usually is...
I guess I will have to scratch Joaquín off my list of people who are always right.
I am so depressed now.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
CString has a constructor which takes a char *, and a method called GetBuffer() from memory, which returns a const char * to the underlying data. You can get at it that way, and use strcpy if you want a new char * external to the CString. Don't forget to call ReleaseBuffer when you're done.
As I typed the above I accidentally hit g instead of f. I'm sure you can work out for yourself the name of the API calls I 'invented'. :P
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Just wondering if there is any way to create a SDI type app inside of a SDI type app?
e.g. (you can create a dialog type app and create dialogs inside of it)..
I know the answer is probably no.. but I figured it doesn't hurt to ask.
|
|
|
|
|
The answer is probably no... But you can embed dialogs into other dialogs.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|