|
Actually i tried writing but im not so proficient in c++.But it is compulsory to write in c++ so im helpless.Please do the needful.I shall be very grateful
|
|
|
|
|
Why not try, and see how you get on ? There are plenty of people on here who will help on specific problems, but they won't do your homework for you !! (You wouldn't learn anything that way, would you ?)
Doug
|
|
|
|
|
Why is it "compulsory" to use C++?
If it's for a college course, you should be learning what you need, not relying on others to do your homework.
If it's for your job, you should only be taking on work you're capable of doing, or explaining to your boss that you don't have the ability for certain tasks.
Whatever the reason, if you want someone to do work for you, then you're going to have to pay them for it. I don't work for free for my company, and I've no intention of doing it in my spare time.
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
Its not my homework and neither do i need to learn c++.Just cuz the person who wants to see the implementation wants it in c++..I dont have much time to learn complete c++ and write the program.Its a small help.Thats it
|
|
|
|
|
I have to do the whole project so im definitely not dumping my work on you.Just the c++ part,im not good at it and mainly theres no time.Here i thought people would help cuz its a small task.Do you really expect people to pay?
|
|
|
|
|
First you wrote
aashu4 wrote: I need urgent help regarding this... Its very important for me...
Why is it so urgent if it's not homework or part of your job?
Its not my homework and neither do i need to learn c++.
Maybe you do need to learn C++ if you want to do this.
Just cuz the person who wants to see the implementation wants it in c++
And who is this mysterious "person", if it's not your tutor or manager? Why does he want you to do it? Why can't he do it himself? Why did you tell him you could do it if you couldn't?
I have to do the whole project so im definitely not dumping my work on you.Just the c++ part
So it's a project of some sort? And why is there a "C++ part" - what kind of a project is it? Presumably multi-language, so why did you take it on if you couldn't do it?
Why is it so important that this particular part gets written in C++?
If it's homework, then presumably you're supposed to learn C++. If it's part of your job, presumably you've been employed on the basis that you knew C++. If it's a home/hobby project, why try to use a language you don't know?
Here i thought people would help cuz its a small task.
People here are more than willing to help if those they are helping are willing to put in a bit of effort. If you'd tried to write it and posted your attempts, explaining where you had problems, you'd probably have had several answers by now, and have completed the task. Just asking "please send me the code" is making no effort, rude, and very unlikely to get any help at all.
Do you really expect people to pay?
Do you really expect people to do your homework, or as seems more likely, your job for you and not get something for it?
I'm not trying to be nasty here, just trying to make you understand that you can't expect to have everything in life handed to you on a plate, and usually you have to work for it. A bit of effort on your part will not only solve whatever problem you're working on, but also increase your own level of knowledge, which will undoubtedly be of use to you in the future...
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
I am working on multilingual application so i create separate resource dll (bitmaps, dialogs, string table, menus) for local language , except bitmaps every resource is loading from DLL, but for bitmaps coming as english any guess whats the problem?
|
|
|
|
|
hi,
write now i getting time from a mail. and this time is in the form of system time. First of all i am getting this time as file time from the i converted that into system time so that i got time.
Now i want write this into mail again for that I wrote like follows
SPropValue prop;
SYSTEMTIME sTm={1220,12,11,12};
FILETIME fileTime;
SystemTimeToFileTime(&sTm, &fileTime);
prop.ulPropTag= PR_LAST_MODIFICATION_TIME;
prop.Value.ft=fileTime;
But it is not working
If the process is wrong just show me the solution
thanks in advance.
sampath-padamatinti
|
|
|
|
|
how to set a attachment for a message using mapi in C++ this is my core logic which isn't working any help is highly appericiated
LPATTACH lpAttach = NULL;
ULONG ulAttachNum = 0;
hr = pNewMessage->CreateAttach(NULL, 0, &ulAttachNum, &lpAttach);
if (FAILED(hr))
{
if (lpAttach)
lpAttach->Release();
pNewMessage->Release();
return false;
}
enum {SUBJECT, CLASS, BODY, MSG_DEL, MSG_PROPS };
// Message properties tag array
SPropValue lpPropValueArray2[MSG_PROPS];
lpPropValueArray2[SUBJECT].ulPropTag = PR_SUBJECT;
lpPropValueArray2[SUBJECT].Value.lpszW = _T("Testing IPM With Attachments");
// TO DO:Change this to your custom form class
lpPropValueArray2[CLASS].ulPropTag = PR_MESSAGE_CLASS;
lpPropValueArray2[CLASS].Value.lpszA = "IPM.Note";
lpPropValueArray2[BODY].ulPropTag = PR_BODY;
lpPropValueArray2[BODY].Value.lpszW =_T("Custom Text For Message");
lpPropValueArray2[MSG_DEL].ulPropTag = PR_DELETE_AFTER_SUBMIT;
lpPropValueArray2[MSG_DEL].Value.b = TRUE;
enum {METHOD,RENDERING,PATH, FILENAME, DISPLAYNAME, NUM_ATT_PROPS};
SPropValue spvAttach[NUM_ATT_PROPS];
spvAttach[METHOD].ulPropTag = PR_ATTACH_METHOD;
spvAttach[METHOD].Value.l = ATTACH_BY_REFERENCE;
spvAttach[RENDERING].ulPropTag = PR_RENDERING_POSITION;
spvAttach[RENDERING].Value.l = -1;
spvAttach[PATH].ulPropTag = PR_ATTACH_PATHNAME;
spvAttach[PATH].Value.lpszW =_T("C:\\Documents and Settings\\rakesh\\Desktop\\raki.txt");
spvAttach[FILENAME].ulPropTag = PR_ATTACH_FILENAME;
spvAttach[FILENAME].Value.lpszW =_T( "raki.txt");
spvAttach[DISPLAYNAME].ulPropTag = PR_DISPLAY_NAME;
spvAttach[DISPLAYNAME].Value.lpszW =_T( "code.txt");
// Save the properties we have set on the attachment
if (FAILED(hr = lpAttach ->SetProps(
NUM_ATT_PROPS,
(LPSPropValue)&spvAttach,
NULL)))
if (FAILED(hr = lpAttach->SaveChanges(0)))
if (FAILED(hr = pNewMessage->SetProps(MSG_PROPS,lpPropValueArray2,NULL)))
|
|
|
|
|
Pardhu_M wrote: isn't working
And have you debugged this to find out which part of your code is failing?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
hi every1,
can sumbody help me by sending some code for my project "loadbalancing in p2p network" in any programming language.
i need this at urgent.
thnx in advance.
|
|
|
|
|
Would you like fries or baked potato with that?
|
|
|
|
|
hi all
i have programmed code to generate an .exe for drawing a plot of a mathmatic function dynamically by vc++ api.
now i am testing the stabilization of this .exe programme.
and i found that when the graphic window,drawing the plot, has been refreshed ( i redraw the plot by call InvalidateRect (hwnd, NULL, TRUE) ; ) for 12 times the .exe code will be crashed down. that is to say no response to the mouse click or close. and i have to shut the .exe down by ending its processe in task manager.
anyone has come up against this situation? please help me or give me some advice.
your help will be appreciated
|
|
|
|
|
Sounds to me like you are leaking GDI resources. Use the task manager to check how many GDI objects your app hanging on to after every draw.
You may be right
I may be crazy
-- Billy Joel --
Within you lies the power for good - Use it!
|
|
|
|
|
wow that is it GDI leaking. i have check my code. insert lines of ReleaseDC and DeleteObject. then the .exe is running well.
Thank you very much!! appreciate for your advice. thank you.
|
|
|
|
|
I want to know if i can use MS Detours to make system-wide hooking from user-mode .PLZ help
|
|
|
|
|
|
Yes u r right, thanks a lot. i found this article very helpful but also am still creating a dll in which
i attach a detour to system call and make it mycall, this is very clear. but how can i inject this dll into
all running processes at the same time, every example here r talking about specific process "messenger" or "notepad", i know that am very noob but i need this so much. PLZ help me again.
|
|
|
|
|
how do you seed rand() in visual c++?
|
|
|
|
|
srand[^]
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
|
hiiiii guys...
I'm a beginner MFC programmer and currently I'm working in a dialog based application working of my application is like this... user selects a directory then in a list box I'm displaying all the subfolders
present in that directory, on selecting any subfolder there is a list control which displays thumbnails of all the images present in that subfolder and then on mouse hover on any of the thumbnail , preview of that image is generated. My problem is that when there are large number of images present in a folder list contol is taking time to display thumbnails and during that processing list control just disappears I mean list control flickering is there, I don't know what is the cause and how can I fix this problem. One more thing how can display preview of image on mouse hover event
preview should be like, it should emerge out from the center of the thumbnail and zoom in and as the mouse is moved this preview should disappear. please help me in this as it is very urgent and important for me.. I shall be very greatful to you all
Thanks alot in advance...
|
|
|
|
|
You can use of WM_TIMER or a thread for read and load images of subfolders to listcontrol for preview you can use of WM_MOUSEMOVE and then you can use of a (its my suggestion) static control for show your images.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
Hello,
is there a way to get file attributes(filename,size and #clusters) from volume bitmap? right now i'm using ZwQueryDirectoryFile() to iterate through the entire files which is taking lot of time. any suggestions.
Thanks
Sundar
|
|
|
|
|
Is the good old WinAPI trio FindFirstFile()/FindNextFile()/FindClose() something for you?
Rozis
|
|
|
|