|
Will do!
Thanks for the help!
/Forser
|
|
|
|
|
Hmm getting a weird error while installing EVC4
It says couldn't find setup after it has installed Windows CE Manager or what it said.
/Forser
|
|
|
|
|
|
Still getting Couldn't find setup when it has finished the installation of Windows CE Managment Platform
/Forser
|
|
|
|
|
I believe that you are now facing one of two options: use the COM loop cable or reinstalling all your dev tools (not an encouraging idea, I have to admit).
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Looks like it will be com loop cable then becuase i was sitting all day, reinstalling all my dev tools and got the same error as before.
Thanks for the help!
/Forser
|
|
|
|
|
I got A CTime member in my programm( m_time). And i got a string in the file : 2004-10-10. So i want to input this data to the m_time. How to do it?
|
|
|
|
|
Note: this is just from the top of my head. Im not a datetime conversion expert.
If you know the format of the date-string, just extract the year, month and day part from the string, convert it to ints using _itot and use m_time = CTime(year,month,day,0,0,0)
If you dont know the format, or if its regional-dependant:
DWORD dwFlags = LOCALE_NOUSEROVERRIDE|VAR_DATEVALUEONLY;
DATE d = 0.0;
USES_CONVERSION;
HRESULT hr = VarDateFromStr((LPOLESTR)T2COLE(str), 0, dwFlags, &d);
if (S_OK == hr)
{
COleDateTime t(d);
m_time = CTime(d.GetYear(), d.GetMonth(), d.GetDay(),0,0,0);
}
if you know the regional-format of the string you can skip LOCAL_NOUSEROVERRIDE, and pass in a LCID using that format to VarDateFromStr.
HTH
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
So i did it :
m_time = CTime(year,month,day,0,0,0);
but if i pass next:
CTime(2004,9,20);
i got in m_time.GetYear() - 2009, m_time.GetDay() - 23, so everything is wrong. Where can be the problem?
|
|
|
|
|
CTime t;
CString date(_T("07-21-1974 23:34:55"));
t = CTime(_ttoi(date.Mid(6,4)), _ttoi(date.Mid(0,2)), _ttoi(date.Mid(3,2)) , 0, 0, 0 );
CString msg;
msg.Format(_T("year is %d, month is %d, day is %d"), t.GetYear(), t.GetMonth(), t.GetDay());
AfxMessageBox(msg);
I get the message: year is 1974, month is 7, day is 21.
Rassul Yunussov wrote:
Where can be the problem?
Please lookup the diffrent contructors of CTime in MSDN or whatever documentation you use and make sure you use the correct one.
CTime();
CTime(time_t time );
CTime(int nYear, int nMonth, int nDay, int nHour, int nMin, int nSec, int nDST = -1 );
CTime(WORD wDosDate, WORD wDosTime, |int nDST = -1 );
CTime(const CTime& timeSrc );
CTime(const SYSTEMTIME& sysTime, int nDST = -1 );
CTime(const FILETIME& fileTime, int nDST = -1 );
|
|
|
|
|
I am currently working in a mobile industry company. Currently our company needs a DLL or tools that can do some file conversion.
The file format that want to convert are:
1. mmf to midi
2. mp3 to amr
3. mp3 downgrading (to reduce the size of MP3)
4. mp3 to wav
5. mp3 to mfm
(note: the intra conversion dll's in the same order as mentioned above also required)
Does anyone of you know where to get this kind of resource or SDK in order me to do development
So please feel free to update me with further information to get this kind of SDK or DLL.
|
|
|
|
|
Hi all,
I have a Pocket PC connected to a mobile printer by the serial port. How do I use the Winsock control in eVB to send a text file to the printer. Can anyone point me to some introductory tutorials into this control? I have configured the Text file with the relevent printer commands.
Many thanks.
|
|
|
|
|
Hi All,
I am developing an application using eVC++ 3.0 under Pocket PC 2002.
I am using Microsoft ActiveSync 3.7.1 running on P 4 Dell Machine (windows XP), I have encountered the following problems:
1. When The emulator starts it may restarts the machine.
2. If the emulator started without restarting the machine and I wish to either execute the program (Using Ctrl + F5) or debug the program, the eVC++ either tell me that it could not establish the connection stream or it may restart the machine.
3. We can not upload or configure CEFusion (ADO proxy for windows CE) automatically (using eVBasic), we have to manually transfer files using the remote file viewer, then to register all the dlls manually then to configure the cefusion.
Given that on P 3 IBM Machine (windows 2000 or XP) the emulator works fine and on the DELL machine we can debug on a Physical Pocket PC 2002 (not the emulator).
If any one have an idea about solving the problem (but without upgrading to eVC++ 4.0), Please advice me.
Thanks in advance
Ahmed.ElSherif
|
|
|
|
|
Hi, I use nokia 9210i as my mobile phone. I have some problem since yesterday. When someone call me and I did not answer the phone, there is no Miss call in my phone screen. I try to use another phone call to my phone and terminate it, it still don't have the word appear on the screen "Miss call". I don't know why I have this problem.
On the other hand, when i open its cover and want to use the message, i press on the message button and its display an error message "Problem starting Messaging center, Unknown Error". Then it close this program, I don't know what is the real reason but I'm very upset to this issue. Does anybody know how to solve this problem? or any idea?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Finally I could find the solution. I just turn off my phone, remove the battery, SIM card and memory card for a while. Then I plug it in again, then everything is working fine. The miss call label display if someone call me and I did not pick up, and the message program could access very easy. But I lost all of my message that I used to send and recieve before . However, it is working again
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I got A list controll with a report style. And i want programmatically select any item (With highlighting), so how to do it? Actually i want to implement search ability to my list ctrl. For example I got in the list ctrl this: Mr. Joe Satriani, in the search dialog user writes Satr, and my list ctrl will set the cursor to the item. And i use virtual list - does it metter? Any help will be appreashiated.
|
|
|
|
|
Rassul Yunussov wrote:
And i want programmatically select any item (With highlighting), so how to do it?
yourlistctrl.SetItemState(i, LVIS_SELECTED, LVIS_SELECTED);
You may have de-select previously selected items, just pass 0 as the second argument to SetItemState in that case.
Rassul Yunussov wrote:
And i use virtual list - does it metter?
Not with setting the selection state.
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
Thank you, i selected the item i need.
But when my Item is out of window, and i want it to be shown? What to do in that case? For example i got 1000 elements, and my list shows only 20 items, but item i found is 720. I want my listctrl jumped on this item.
|
|
|
|
|
Rassul Yunussov wrote:
I want my listctrl jumped on this item
use CListCtrl::EnsureVisible or CListCtrl::Scroll to make sure the listctrl is showing your item.
More information can be found on MSDN.
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
hi,
how do i launch pocket word / excel in C#?
thanks
|
|
|
|
|
Hi,
I'm trying to create a project using multiple document templates on a windows CE target. Starting my application the menu line is missing. Why ?
|
|
|
|
|
hi,when I run my application i keep having this error:
Error trying to run your project : Unable to start debugging.
but it Build and Deployed succesfuly........whats going on here?!
And I can't run my application directly to my device, it always says that the device is not connected, but it is!!!!
And how can i make my form resize everytime i push the input pannel (keyboard) like what the calendar application can do?! thanks guyz, im kinda new to this!!
|
|
|
|
|
hi,
Tell me which enulator you are using.
Is it ' Openwave '.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
Im using the ones from microsoft
|
|
|
|
|
i have a coldfusion based (SQL Server) website and am looking to develop a mobile (smartphone/pda) application that will be used to periodically update the live site and pull info back form the site. I am trying to get my head around where to begin..ASP.NET, VB.NET, other...
Any advice or pointers hugely appreciated!
many thanks
|
|
|
|
|