|
I want to install programm on my pocket PC.
But i'd like to create new directory and install files into it.
What to write in .inf file to create new folder???
I tried this expression:
InstallDir = %ce1%\SomeFolder
and i had an error message on my pocket PC.
It says that CAB file is wrong.
Thanks.
|
|
|
|
|
Try like this:
[CEStrings]
AppName="MyApp"
InstallDir=%CE1%\%AppName%
Regards,
João Paulo
|
|
|
|
|
The documents folder (My Documents) change with the user language of the Pocket PC. I need to know this name. How can I do this?
Thanks
|
|
|
|
|
IIRC, call SHGetSpecialFolderPath with CSIDL_PERSONAL for the path to \My Documents.
Jonas
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Hello!
This is not a programing question!!
I have a bluetooth device that is 'connected' to my pockett PC. When this device is started, it asks the Pocket for an authentification key. I want know to disable (or store this key somewhere) this step so it will be completely transparent for the end user.
Any idea of how to do this ?? (not by program because none of my programs are run yet). Is it possible to write something in the register ?
Thanks
|
|
|
|
|
Its been a while since I did anything with bluetooth, but (IIRC) if you pair the devices you should not have to enter an authentification key.
Jonas
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Ok but I'm new with this kind of things.
I searched through the parameters of the bluetooth but I cannot find anything to pair the device.
Any idea ?
hanks for your response
|
|
|
|
|
As I said, Its been a while and maybe someone with more recent experience can help you better. Here's how I remember the whole thing.
how to do it manually:
Atcivate the BT on both devices:
Let one of the devices connect to/find the other
Pair the devices by entering an autherntication key on both devices.
(you will have to do this atleast once, otherwise how can they know about eachother)
Now they should be able to communicate with eachother at any time without a key.
with code:
I dont really know. When I was playing with this 2-3 yrs ago it was very stack-dependent. That is, the api's to search, connect and pair BT devices was supplied by the stack implementor. There was no standard way to do this that worked with every stack/os with a BT device. I have no idea if that has changed.
Jonas
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
I'm using Windows CE, PocketPC 2003.
The problem I have is, I need to remove all of the shortcuts from the start menu except for Settings and the shortcut to my program. This would be done preferably in our install file (using InstallShield Developer 8.0) but I can get it to call a .dll or a .exe or whatnot if needs be, so just any method of removing these shortcuts programmatically would be appreciated..
Thanks
Kelly Ryan
|
|
|
|
|
enumerate the .lnk files in \windows\start menu with findfirst/findnext and then move the ones you dont want there to \windows\start menu\programs
Note: you might want to use SHGetSpecialFolderPath to find out the non-english names of these folders if your users have non-enlish pdas.
Programs, Settings, Find and Help are not removable (or atleast Programs and Settings, dont really know about the other two).
Jonas
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Hello,
how can I add an icon to the items existing inside a popup menu using win api functions?
Best Regards,
Ramona
|
|
|
|
|
While coding for some context menus, I stumbled across the following issues regarding storage cards. We are using the Compaq iPaq, and we have the dual PC-Card caddy. Our app relies on the iPaq to have the little blue memory card inserted, and we figured just checking for a "Storage Card" would be adequate. Oh, how wrong we were...
1) When the PDA is reset with the little blue memory card inserted in it's slot, it shows up as "Storage Card".
2) If you then insert a flashcard in the first PC-Card slot, it shows up as "Storage Card 2".
3) If you then insert a flashcard in the second PC-Card slot, it shows up as "Slot 2".
So far so good, right?
4) If you remove the little blue memory card and reset the pda, the flash card in PC-Card slot 1 becomes "Storage Card", and the flash card in PC-Card slot two remains "Slot 2".
5) If you then re-insert the little blue memory card into it's slot, it becomes "Storage Card 2".
-------------------------------------------------
This is NOT a good thing. We want to REQUIRE that the little blue memory card is inserted, but if a flash card can be inserted and is allowed to be a "Storage Card", we're screwed.
QUESTION:
Is there any way to tell whether or not the storage card is a memory card (using the memory card slot in the iPaq), or if it's plugged into a PC-Card slot in the caddy?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
Well, I think I found a way to tell a storage card from everything else on the system.
From the device root, check each directory name to see if one of it's file attributes is FILE_ATTRIBUTE_DIRECTORY.
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
Well, my idea kinda works. It's filtering out all items that aren't temporary, but unfortunately, it's also including the "iPAQ File Store".
I guess I still need to find a method for identifying and showing JUST storage cards in a directory dialog...
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
Well, I tried using this code, and it still finds the "iPAQ File Store", even though it's not a flash card.
Grrrrr....
BOOL bFoundCard = TRUE;
CString strSub = _T("");
HANDLE hCard = NULL;
WIN32_FIND_DATA fdCard;
hCard = FindFirstFlashCard(&fdCard);
if (hCard != INVALID_HANDLE_VALUE)
{
strSub.Format(_T("%s%s\\"), pszPath, fdCard.cFileName);
EnumDirs(strSub, pszFilter, hItem);
while (bFoundCard)
{
bFoundCard = FindNextFlashCard(hCard, &fdCard);
if (bFoundCard)
{
CString sKey(_T("storage card 2 slot 2"));
CString sTemp(fdCard.cFileName);
sTemp.MakeLower();
if (sKey.Find(sTemp) >= 0)
{
EnumDirs(strSub, pszFilter, hItem);
}
}
}
}
FindClose (hCard);
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
|
Thanks for the link, but there's nothing there I didn't already try (and at first glance, that "mikeg" person is a prick).
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
I get an error installing both the standard SDK shipped with EVC++ 4.0 and the one for Pocket PC 2003 - "Failed to initialize property bag".
The SDKs appear to install some files but EVC++ 4.0 says that there is no SDK installed. I installed everything successfully on my laptop running Windows XP Professional but not on my desktop which runs 2000 professional.
I don't remember seeing this before, except maybe in Visual Studio .Net where it was an MSI issue but I have the latest runtime so I have no more ideas I couldn't find anything at Google (other than someone with the same problem and no solution), which surprises me.
Can you help?
Thanks
Luke
|
|
|
|
|
|
Thanks João but this didn't help me. I still get the same problems.
I'm guessing it's something to do with permissions etc but I have administrator privileges on my PC. I did have Visual Studio .Net installed and I know this changes lots of things at low level but it is now uninstalled.
I tried to get the Windows SDK to help me read the MSI install log for the CE SDK (which looks OK on the surface) but the IE control that is used for the SDK install crashes Internet Explorer so I can't even get that
|
|
|
|
|
Hi
Anyone knows if the .NET Framework will be avalaible to the PALM OS??
I really wanna make some personal apps for my Treo.
Thanks
----
hxxbin
|
|
|
|
|
hxxbin wrote:
Anyone knows if the .NET Framework will be avalaible to the PALM OS??
I would say this is highly unlikely, unless Palm decide to implement the .NET Compact Framework and the relevant supporting technologies (IL, CLR, etc) themselves - Microsoft would only write such a thing themselves given a compelling reason that outweighs the cost of supporting a competitor
As for Palm RAD tools, you might look at NS Basic, which I've used and seems ok, or something like Satellite Forms? Failing that, try Codewarrior or the GCC toolchain for Palm to develop using C/C++
--
Ian Darling
"The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
|
|
|
|
|
yes buddy. microsoft will relase .NET framework for palmtops so they can handle the market!!!
|
|
|
|
|
I've an application with a propertypage with 2 sheets.
When opening my propertypage i want The SIP to be opened on the bottom of my pocket. I use the SipShowIM(SIPF_ON); function --> ok the keyboard show itself but 1 second after it hides itself!
What's the matter?!
I've try to place the function before doing the Sheet.DoModal();
Then I've try to place the function in the InitDialog() method of my sheets.
Thanks
Olivier
|
|
|
|
|
I use the following method to show/hide the SIP. When the app starts, the sip is hidden. When I display a dialog, I do this:
CMyDialog dlg;
ShowSipButton();
dlg.DoModal();
HideSipButton();
Here's the code for showing and hiding the sip:
class CMainFrame
{
protected:
HWND m_hwndSIP;
CRect m_SIPRect;
BOOL m_bSIPHidden;
public:
void HideSipButton();
void ShowSipButton();
};
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
{
return -1;
}
m_hwndSIP = ::FindWindow(_T("MS_SIPBUTTON"), NULL);
ASSERT(NULL != m_hwndSIP);
::GetWindowRect(m_hwndSIP, &m_SIPRect);
m_bSIPHidden = FALSE;
HideSipButton();
return 0;
}
void CMainFrame::HideSipButton()
{
if (!m_bSIPHidden)
{
ASSERT(NULL != m_hwndSIP);
::MoveWindow(m_hwndSIP, 0, 0, 0, 0, TRUE);
m_bSIPHidden = TRUE;
}
}
void CMainFrame::ShowSipButton()
{
if (m_bSIPHidden)
{
ASSERT(NULL != m_hwndSIP);
::MoveWindow(m_hwndSIP,
m_SIPRect.left,
m_SIPRect.top,
m_SIPRect.right - m_SIPRect.left + 1,
m_SIPRect.bottom - m_SIPRect.top + 1,
TRUE);
m_bSIPHidden = FALSE;
}
}
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|