|
Or HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Run
if it have to work with different users...
- Anders
|
|
|
|
|
I got some problems with dll files
its when i send my application to one of my friends
then it tells him that he need some dll files, that i got
due to (i think) i got visual studio 6.0 installed.. But he hasnt
Is there a way i can figure out what dll files my program uses?? so i can send them with?
that would be great..
|
|
|
|
|
With the dependency walker that comes with VC
Type "depends" on a commandline...
- Anders
|
|
|
|
|
Everything compiles fine except this linker error...can anyone help to clear it??
I have all of the headers included.
What am I doing wrong???
Thanks in advance,
Dan
|
|
|
|
|
Add mapi32.lib to the list of import libs in your linker settings.
--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?
|
|
|
|
|
It is linked! Here is the error view:
--------------------Configuration: MyMAPI - Win32 Debug--------------------
Compiling...
MyMAPIDlg.cpp
E:\Compaq\C++\ATest\MAPI\MyMAPI\MyMAPIDlg.cpp(182) : warning C4101: 'szTmp' : unreferenced local variable
Linking...
MyMAPIDlg.obj : error LNK2001: unresolved external symbol _MAPIReadMail@24
MyMAPIDlg.obj : error LNK2001: unresolved external symbol _MAPIFindNext@28
Debug/MyMAPI.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
MyMAPI.exe - 3 error(s), 1 warning(s)
Thanks in advance,
Dan
|
|
|
|
|
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
|
|
|
|