|
Not knowing the difference between . and -> does not make you a stupid guy
and Knowing the difference between . and -> does not make us any smarter either
you are OK
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
Hi,
Is anyone knowing if there is being code to do filter rules like the Outlook Express? Is a nicely way to building informations, and I would liking to do this.
Thanking you with flipping toes
|
|
|
|
|
hi everybody!
i was asking this question in "general" forum, but got no replays...
----
i've got an opportunity to upgrade my system to amd 64 3200+. it's preaty cheap and it would be stupid to miss it, but... i do developing under windows and linux and MOST clients of mine are the users of 32-bit architecture. in the specs of the cpu i found misterious phrase "supports both simulteniously 32 and 64 arc's" huh? so, my dilema is - miss or not miss good chance for the upgrade. What are the issues will i face after upgrade to 64 (with regard to developing under win .NET studio)? What are the consiquences for my end-users? I mean only windows users, if they have win2k (just for example!) and 32-bit cpu (pIII), and they try to run a binary that was built on my winXPpro 64-bit cpu, will they have problems?
please, share your opinion and experience, i really need it!
thanx
alex
debug - is my life style
|
|
|
|
|
It's been a while since I read my A+ book so forgive me if i'm wrong.
I believe 32 and 64 bit arc's are usually determined by the following factors:
1) Register size
2) Number of bits computer can transer per MOV instruction...your bus bandwidth I guess
Anyways, most computers now are 32 bit because the internal registers are all 32 bit with I believe the exception of a few floating point registers which are 48 or 128 or something...
So you shouldn't have any backwards incompatiability issues when developing on a 64 bit arc becuz so long as your compiler compiles using common 32 bit instruction set it should run on your 64 bit machine or my 32 bit one. Kind of like how I could use 16 bit MOV instruction on my computer, but I could only move 16 bits at a time, whereas I could also use a 32 bit MOV instruction, but now be able to move 32 bits.
.NET uses an intermediate language...I can't remember what it's called... IL maybe...?
Anyways...the .NET interpreter would determine which actual instruction to send the processor (I believe thats the idea behind .NET) so you shouldn't get any exception becuz of a bad instruction when you compile apps using .NET.
Cheers
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
right, thanx
the scenario you've gave requires .NET being installed on the user's computer. or not?
debug - is my life style
|
|
|
|
|
If you write an app in .NET and give it to somebody on a Windows 98 machine, I believe they would have to download the .NET framework in order to run you apps on their machine. I remember having to download the win32 SDK on win 3.1 back in the day inorder to run some neat program, I don't image this situation is much different.
Cheers
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Hallo,
does anyone know where I can get a model of the MFC in ArgoUML? Or does anyone have such a model, he would send to me?
Thanks,
StHubi
"Have no fear, the saint is here!"
|
|
|
|
|
hi,
apart from using PostMessage(), i want to any method or example like callback function, or similar to delegate in C#. so that, worker thread able to communicate with user interface on a event.
i want to learn more on this. any help?
thanks!
jim.
|
|
|
|
|
Hi,
Have u tried PostThreadMessage() API , using this API u can post ur event message to ur worket thread.
for e.g
void yourFunction()
{
BOOL success = PostThreadMessage(
idThread, your thread ID
Msg, // message
wParam, // first message parameter
lParam // second message parameter
);
}
and in your Thread...
DWORD WINAPI yourThreadProc(void *ptr)
{
MESSAGE msg;
while(GetMessage(&msg,NULL, 0,0)
{
switch(msg.message)
{
---do your work accordingly ---
}
}
}
Abhishek Srivastava
Software Engineer (VC++)
India ,Noida
Mobile no 9891492921
|
|
|
|
|
hi all..
ok, this is my problem...
i have a number of namespaces in my app... now, i can call namespace 'b' from namespace 'c', but for some reason, namespace 'b' says that namespace 'a' doesn't exist...
now, i have altered the 'resovle #using...' bit correctly all the class libraries are managed class libraries and they are all VC++.NET libs...
any thoughts guys???
cheers and thanks in advance...
nik
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
Hi all,
I'd posted this question earlier, but the contents have been deleted!! Anyway, my question is:
I've MDI application with FullServer option selected in step3 of AppWizard and CFormView as base class. In the code I used CreateNewDocument(), CreateNewFrame(), InitailUpdateFrame().The document is getting created, but when I try to save the document, it shows illegal operation.The code works well for CScrollView and CFormView with 'None' option for step3 of appwizard. Can anyone help me solve this?
regards
kevcs2.
|
|
|
|
|
Hi All,
can someone tell me how to close all the messageboxes and dialogboxes belonging to a particular window in an MDI client application.I cannot use CWnd::MessageBox with the corresponding window as parent for displaying a message since any other modal dialog displayed when a messagebox is active will lose it modal property.Hence I'm using AfxMessageBox.I there any other alternative solution for this.
Thanks in advance
Raghu
|
|
|
|
|
I want to make an MFC application that traverses through a series of several (up to 6) dialogs, and then returns to the main dialog.
The user starts at the main dialog box, and makes a selection, closing that dialog and opening a dialog corresponding to the selection. This process would be repeated several times. These dialogs must be able to share data and work together as a single program.
I have tried using modal dialogs but am not able to do anything once the second dialog is opened.
Does anyone have a suggestion?
Thanks,
kvan07
|
|
|
|
|
One solution is a global data structure that stores the univeral information.
Kuphryn
|
|
|
|
|
My problem at this point is not data related. I am unable to actually traverse through a series of dialogs.
kvan07
|
|
|
|
|
How about CPropertySheet & CPropertyPage in wizard mode?
I Touched Osama Bin Ladens Bushy Beard
|
|
|
|
|
Sounds kinda kludgy. Have you considered a property-sheet wizard?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
I am trying to get two key and a key pusing event.
I already found a way to get the even when pushing two keys at the same time
in PreTranslateMessage by calling GetAsyncKeyState function. However when I keep pushing one key and relase the other there is nothing coming to PreTranslate Message. Anyone knows why?
1. push up arrow up key
2. ( while pushing arrow up key) pushing left arrow key
3. release the left arrow key
after number 3, even I am pushing up arrow key nothing comes to PreTranslateMessage Function I dont' know why?
Regards,
Shin
|
|
|
|
|
Maybe windows ignores the event from the keyboard. It resets only when the key returns to its original state (no pressed).
Kuphryn
|
|
|
|
|
thanks for your comment.
so when one key is released, make keyborads state to nothing is pressed, right. Do you know how to make it by any chance?
Otherwise, I will do some research.
Thank you very much for your help.
Shin
|
|
|
|
|
I have added an about menu item to the end of the system menu and I can't remember how to handle those messages?
I am using plain C/SDK code....so no MFC please...
I have looked into WM_COMMAND and WM_SYSCOMMAND and can't seem to get either working???
Heres how I added the MENU item
<small>inside WM_INITDIALOG</small>
HMENU hMenu = GetSystemMenu(hWndDlg, FALSE);
AppendMenu(hMenu, MF_SEPARATOR, 0, NULL);
AppendMenu(hMenu, MF_STRING, IDR_ABOUT_MENU, "About...");
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
When that menu item is selected, a WM_SYSCOMMAND message will be sent, with IDR_ABOUT_MENU in wParam .
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
Can sombody help me?
I`ve read all postings but I can`t find something it helps me!
Why different the result of PdhGetFormattedCounterValue function(ex - "\\Process(process_name)\\% Processor Time") and Windows Task Manager?
O/S : Windows 2000 Server.
CPU : Dual-CPU
single CPU, Windows 2000 professional is no problem.
help me!!!
|
|
|
|
|
Can anyone tell me what is a good tutorial so I can learn staff like open another windows by pressing a button or sending one signal by pressing a button.
Thank you
|
|
|
|
|
There are tons of samples for biggers in the codeproject, just navigate to the section that you want to learn on the left handside at www.codeproject.com
I Touched Osama Bin Ladens Bushy Beard
|
|
|
|