|
Hi
Is it possible to show contacts interface and use it to fetch number and email address or we have to iterate through contacts ourselves and show information in own window and controls.
-----------------------------
In my dream, I was dorwning my §orrow§
But my §orrow§, they learned to §wim
|
|
|
|
|
What are you talking about ? Be more explicit.
|
|
|
|
|
Hi
Well to be more explicit:
We have common dialogs for picking colors,fileopen,filesave etc.
Is there any similar option available for getting a phone number to dial from contacts stored on a user's Pocket PC
-----------------------------
In my dream, I was dorwning my §orrow§
But my §orrow§, they learned to §wim
|
|
|
|
|
I should recieve an array of bytes of lenght 212 at a time from the sensor, but am recieving some bytes ie,set X[] at one time and some bytes i,e set Y[] of different lengths. how could i set the sensor for not having "delay" in sending the set of bytes[212].
OR how can i assign Set X bytes to one array and Set Y bytes to another array, so that i could append them??
chaitu
|
|
|
|
|
How do you receive those bytes ? Why are you getting delays ? Be more explicit.
|
|
|
|
|
BYTE x[1024];
l= recv();
printf("Length: %i \n", l);
for(i=0;i
|
|
|
|
|
I just don't see what you are talking about. What is the problem with storing these values in an array ? The varying size ? Then you can use a vector from the STL, it will let you add and retrieve elements in the array without worying about the size.
BTW, use the pre or code tags when you post code.
|
|
|
|
|
searching the net i have found how to turn off UNICODE in vc7 but cant find where or how to do it in vc++6
please help
thanks
|
|
|
|
|
inside stdafx.h, before the other includes,
#undef UNICODE
#undef _UNICODE
|
|
|
|
|
To turn off:
1. Select "Project->Settings" from menu.
2. Select "C/C++" tab.
3. In the "Preprocesor definitions" edit:
3a. Remove "_UNICODE" and "UNICODE".
3b. Add "_MSCS".
To turn on:
1. Select "Project->Settings" from menu.
2. Select "C/C++" tab.
3. In the "Preprocesor definitions" edit:
3a. Remove "_MSCS".
3b. Add "_UNICODE" and "UNICODE".
Steve
|
|
|
|
|
Stephen Hewitt wrote: Remove "_MSCS".
Stephen Hewitt wrote: Add "_MSCS".
Stephen shouldn't it be _MBCS ?
Nibu thomas
Software Developer
|
|
|
|
|
thx for the replys
taught it would help me with an error im getting but no luck there
see here for my error
http://www.codeproject.com/script/comments/forums.asp?forumid=1647&fr=101&select=1392516#xx1392516xx
|
|
|
|
|
Oops. You're right, it should be _MBCS .
Steve
|
|
|
|
|
Was wondering about that since you wrote it twice.
Nibu thomas
Software Developer
|
|
|
|
|
A text book example of a cut and paste error (the second one).
Steve
|
|
|
|
|
Hi,
Is there any way to disable the default error messages using ADO & MFC in the try catch structure ? Because now i receive two (2) error dialog messages. One from the OLEDB and one that belongs to the application custom error.
Regards,
sdancer75
|
|
|
|
|
Hi
How to get the number of instances of an application is running presently.
Is anyway FindWindow function is useful in this regard?
Thanks
|
|
|
|
|
snprani@yahoo.com wrote: Is anyway FindWindow function is useful in this regard?
Yes.
But there are drawbacks[^] too...
Nibu thomas
Software Developer
|
|
|
|
|
#pragma data_seg("Shared")
volatile LONG g_lApplicationInstances = 0;
#pragma data_seg()
This will help you in creating a shared section . This variable will be shared by all the instances . So what you have to do now is to have control of the variable g_lApplicationInstances that is shared
You can use interlockexchangeAdd
InterlockedExchangeAdd((PLONG) &g_lApplicationInstances, -1);
Vision is Always important and so is your ATTITUDE.
Wishes.
Anshuman Dandekar
|
|
|
|
|
You also need the following line:
#pragma comment(linker, "/SECTION:Shared,RWS")
Without it I believe the segment will not actually be shared.
Steve
|
|
|
|
|
Yes you are right.
This will enable you to modify the variable and make the shared variable read write etc,
Vision is Always important and so is your ATTITUDE.
Wishes.
Anshuman Dandekar
|
|
|
|
|
Hi to all,
how to get the Main window handle. My application is MDI. So what will be the main window? Is Application window or Frame window?
Please help me in this regard.
Thanks in advance.
|
|
|
|
|
AfxGetMainWnd()
Nibu thomas
Software Developer
|
|
|
|
|
hello,
I'am searching a tool for Profiling and Error Detection.
Can anyone suggest an good but not expensive tool?
#define expensive >1000$
thanks
|
|
|
|
|
I want to open file which is already exclusively opened by other process
any way i want the solution.If there is any way to do this,then give me
solution. pls help me.
thanks in advance
nirmal
-- modified at 6:50 Friday 3rd March, 2006
|
|
|
|