|
Huh, this is weird. I searched MSDN for "mapi lnk2001" and found Q188959, which says basically you don't link with an import lib. You instead have to load mapi32.dll and call GetProcAddress() on all MAPI functions you call.
--Mike--
http://home.inreach.com/mdunn/
Is history an illusion caused by the passage of time, or is time an illusion caused by the passage of history?
|
|
|
|
|
Hi Micael,
That was it! Thanks for the tip!
Thanks in advance,
Dan
|
|
|
|
|
You might be failed to define a function after its declaration.
Please check it
|
|
|
|
|
I have a dialog that has no title bar. It is still displayed in the taskbar which is what I want, but the apps icon does not show in the taskbar. How can I display it? Also if I right click on the taskbar button it does not display the apps system menu like it does if it has a title bar. How can I solve this? Thanks...
|
|
|
|
|
Is it possible to store the contents of an image list into a file for later use for e.g. to recreate a tool bar or a tree view?
thanks
Subir
|
|
|
|
|
Has your user drawn the images ? I would have thought that commonly they would have chosen an order of images you already had, and that order is all that needs saving.
The answer is yes though, if you have code to save a bitmap, just extract it and save it.
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
hi
i have obtained the handle to the image list being used in the tool bar of a browser. this is the only data about the list that i have.what do i do next?
is there a way to obtain the location of the icons used in the image list
using a handle to them?
thanks
Subir
|
|
|
|
|
How would I go about trying to get two programs to communicate over a LAN.
I intend to live forever... so far so good.
|
|
|
|
|
That depends...
If one of the programs is runnning on Windows NT/2000 Named Pipes are good and easy, you can also use MailSlots or Sockets...
If you really need an answar, you need to be more specifik about what the programs are doing...
You could also get hold of the book "Network Programmong for Microsoft Windows" from Microsoft Press, it's a great book about Network Communication.
- Anders
|
|
|
|
|
Where can I find more about named pipes using JNI?
BRH
|
|
|
|
|
You can look at the function CreateNamedPipe() in MSDN, or look at the book I recomended in my last post...
- Anders
|
|
|
|
|
Is there a way to add a menu to a Dialog?
Thanks for any help
|
|
|
|
|
it is very easy
follow these steps :
1- add a menu resource ( Insert-->resource-->menu)
2- give to ur menu an ID ( properties-general)
3- now in ur dialog properties choose in the (menu) combo box the ID of the menu u have created .
good luck
|
|
|
|
|
Hi,
I need to access a mailbox (I have access to) and read a certain folder to see if mail has arrived (where it came from and what the message says). Is there anyone who knows how to do this???
Dan
|
|
|
|
|
Has anyone got a fix for the MFC Docking Bug when you have got a large number of Hidden toolbars??
Cheers,
Martin
|
|
|
|
|
What is the bug ?
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
Hello,
Is there a way to add a view to an application without using
the SDI or MDI?
|
|
|
|
|
I just noticed that the AppWizard has a checkbox for Document/View support when selecting
the type of project.
I guess I answered my own question.
|
|
|
|
|
Hi,
I made a project to read event log (very good project about this on this site !), but i have a big pb : my FormatMessage function return the error code 317 (ERROR_MR_MID_NOT_FOUND) every time i tri to read in the message file.
If anybody has a suggestion !
Thanks
tatazou
|
|
|
|
|
The error is
"The system cannot find message for message number 0x%1 in message file for %2"
The event log does not store the text of the error messages it displays. what it knows is that the following application had the error number xxx . To show the error it queries the registry for the corresponding resource DLL path.
This DLL has a Tabel that Maps the error code to the strings that the Event Log program shows.
This DLL is pre compiled and used by the application. To compile the resource DLL use the message compiler MC from the command line.
So you either missing the reource DLL
or the Registry key is not updated correctly
Cheers
G. ALfadhly
<marquee>
It is not polite to point. Don't interrupt. Say `please' and `thank you'. Keep your head, your temper, your cool. Smile!
Try to remember the names of people you are introduced to. Listen.
etiquitte
|
|
|
|
|
Hi,
I made a lot of test, and there's the result :
My EventID value is not all the time valid : sometime (for DrWatson event ie), i have to make or (|) if i want to get the right message (for DrWatson, it's 0x40000000). Do you know if exist a variable i have to check to resolve my pb !
Thank's a lot !
Tatazou
|
|
|
|
|
I am having a lot of trouble with this.
In an MDI App trying to detect when the user has let go of the view window after resizing.
I found WM_EXITSIZEMOVE, but it only detects when re-sizing the Frame has finished and doesn't work in the view even if you create your own message handler.
|
|
|
|
|
Put this in CChildFrame, and this should sort out your problem
Regards
Norm
afx_msg LRESULT OnExitSizeMove(WPARAM wParam, LPARAM lParam);
BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
//{{AFX_MSG_MAP(CChildFrame)
//}}AFX_MSG_MAP
ON_MESSAGE(WM_EXITSIZEMOVE, OnExitSizeMove)
END_MESSAGE_MAP()
LRESULT CChildFrame::OnExitSizeMove(WPARAM wParam, LPARAM lParam)
{
return 0;
}
|
|
|
|
|
How can I change a color of an existing pen without creating a new one ?
I found a function like SetDCPenColor for NT. Is there in simular one for Win9x ?
Greatings Mario ///
----------------------
www.klangwerker.de
mario@klangwerker.de
----------------------
|
|
|
|
|
Actually, SetDCPenColor is only in Win2k and only applies to the DC_PEN stock object.
What is it that you're trying to do that prohibits you from creating a new pen?
|
|
|
|