|
hi
Make sure u have called ::CoInitialize() in the thread.
rgds...mil10
|
|
|
|
|
Hello,
I am working on Win32 API platform. I have tried the message "WM_NCMOUSELEAVE" in Win 2000 OS. In 2000 OS the message will not get. but it is working in XP OS Fine. Can u please help me for this problem. I need to get the message (WM_NCMOUSELEAVE) in 2000 OS also.
Thanks in Advance
Baskar
Baskar
|
|
|
|
|
You should use Spy++ to confirm you are correct. My guess is this is not your problem.
Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com
|
|
|
|
|
|
here i am developing an application in which i need to add a button in IE regarding my applicaitons options. How shall i do that.
One more thing is that is it posiible to add buttons or toolbars to .exe files
if possible how shall i do that.
Basheer
|
|
|
|
|
You can search for toolbar here in CP , there are few articles on that
|
|
|
|
|
Use the interface of IE explorer. It is well documented in MSDN.
|
|
|
|
|
Hi,
I have a string like this stored in Oracle "áạà". In degugger, "á" shows 0x00E1 and "à" shows 0x00E0, but "ạ" (0x1EA1) shows 0x00BF. It's changed to "¿" (0x00BF).
Does any one know how to read it?
Thanks.
|
|
|
|
|
Hi,
I am having one application (developed by someone else). This application involves so many exes. How can I know the order in which these exe's are called by the application when it runs?? Do I need to build the debug version of the application as well as the exe to debug this application and place them respective folder??
I have to fix a bug in the application. How to do that in this scenario??
Regards,
Satya
|
|
|
|
|
well simplly you can move all the supporting exes to another folder, and then run the main application, Then it will start complaining about the exes missing and you then come to know the order of the supporting exes called.
|
|
|
|
|
Hi,
I don't know what are the exes called by the application. That's the problem.
|
|
|
|
|
U mean to say that U don't have the code of the application. Then U are trying to do reverse Engineering. If yes? you are going to loose Ur hairs soon.
|
|
|
|
|
But breakpoints from the debugger. For more sophisticated debuggin use softice.
Long live Matt Patrick
|
|
|
|
|
hi
simply open the main exe in any text editor , better 2 use a hex editor and search for 'exe'. just a thought, that much only. try it out.
rgds...mil10
|
|
|
|
|
Hi All..
I would like to find out the type of internet connection at the Client System such as ISDN or Direct Connection or Modem 56.6Kbps etc.
How can i do it...
|
|
|
|
|
This is an uninstall program.
after delete all other files, the uninstall app needs to delete itself.
but i failed to do that.
which function is available for deleting a program itself?
thx
includeh10
|
|
|
|
|
Most of us (now days) use some body elses program to create the install/uninstall and do not worry about the details. But basicaly a small program that is loaded in memory can delete its' own files and directories and when it exits it no longer exists.
DeleteFile() might do the job. I can not remmeber or find the standard C method.
INTP
|
|
|
|
|
The only way I know of is to use MoveFileEx(..., NULL, MOVEFILE_DELAY_UNTIL_REBOOT) .
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
thx, i will try soon
includeh10
|
|
|
|
|
I need to place the mail in outbox i tried with automation and also with mapi apis,but no success
anone have idea regarding this one
Thanx
|
|
|
|
|
Show us the relevant code that is not working, and maybe we can offer suggestions.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
hello david
this is my code for saving mail in outbox
this is automation code
its notworking but when i make call to send it send mail directly
but i only need to place in outbox folder
_Application pApp;
COleException e;
if(!pApp.CreateDispatch("Outlook.Application", &e)) {
CString str;
str.Format("CreateDispatch() failed w/error 0x%08lx", e.m_sc);
AfxMessageBox(str, MB_SETFOREGROUND);
return;
}
COleVariant covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR);
_NameSpace pNameSpace;
MAPIFolder pOutbox;
_Items pOutboxItems;
Attachments pAttachments;
Recipients pRecipients;
Recipient pRecipient;
// Create NameSpace pointer.
pNameSpace = pApp.GetNamespace("MAPI");
pNameSpace.Logon(covOptional, covOptional, covOptional, covOptional);
// Prepare a new mail message
_MailItem pNewMail(pApp.CreateItem(0));
pOutbox = pNameSpace.GetDefaultFolder(4);//getoutbox folder
pOutboxItems = pOutbox.GetItems();
pNewMail=pOutboxItems.Add(covOptional);//put the message in out boxx
pNewMail.SetTo("global_com2000@yahoo.com");
pNewMail.SetSubject("Test...");
pNewMail.SetBody("Hi Mapi\n\n");
pRecipients.Add("global_com2000@yahoo.com");
// Resolve the recipient address.
pRecipients .ResolveAll();
pNameSpace.Logoff();
|
|
|
|
|
Try this:
_Application app;
_NameSpace ns;
MAPIFolder folderOutbox;
_Items itemsMessages;
_MailItem mi;
long olFolderOutbox((long) 4);
COleVariant vtOptional((long) DISP_E_PARAMNOTFOUND, VT_ERROR),
vtTrue((short) TRUE);
if (app.CreateDispatch("Outlook.Application") == TRUE)
{
ns = app.GetNamespace("MAPI");
ns.Logon(vtOptional, vtOptional, vtTrue, vtTrue);
folderOutbox = ns.GetDefaultFolder(olFolderOutbox);
itemsMessages = folderOutbox.GetItems();
mi = itemsMessages.Add(vtOptional);
mi.SetTo("global_com2000@yahoo.com");
mi.SetSubject("Test...");
mi.SetBody("Hi Mapi\n\n");
mi.Send();
ns.Logoff();
}
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
the initialization below ,why to written like this?
CStudent(const char* szName, int nGrade) : m_strName(szName)
{
m_nGrade = nGrade;//m_strName,m_nGrade are both the membe of the class C
}
but i written like this:
CStudent(const char* szName, int nGrade)
{
m_strName=*szName;
m_nGrade = nGrade;
}
the program still run normally,why the original don't write as the same as mine,i want to when to write like the first style rather than the second style?
|
|
|
|
|