|
Visual Studio 2003
PocketPC 2003 SDK
When I try to debug, emulator starts, everything loads into it, and the program is downloaded. I can go to the emulator and run the program. But Visual Studio does not go into debug mode so I can set breakpoints, look at things, etc.
Any suggestions?
Thank you
camasmartin
hobby programmer
|
|
|
|
|
Ignore. Cockpit error (the loose nut was the pilot). When I reinstalled visual studio, it was the old version that didnt support the pocket PC SDK. A lesson for all. Try reading.
camasmartin
hobby programmer
|
|
|
|
|
I developed a app for my PDA with EVC++3.0 and ADOCE 3.1. I need a DataGrid or similar componnent for browse too large datasets ?
Thanks for your time.
|
|
|
|
|
If you're using MFC, you can use the MFC Grid control [^] developped by Chris Maunder. It's realy complete...
Hope this helps
|
|
|
|
|
I'm doing a dll on my pocketpc and it fails when I try to get a function pointer from it.
I have this in the dll code:
__declspec (dllexport) void InitFunc (void);
void InitFunc (void)
{
...
}
And this is how I load the dll in the main program:
HINSTANCE hDll;
FARPROC dllInitFunc;
void LoadLib (void)
{
DWORD err;
hDll=LoadLibrary(L"mylib.dll");
if (hDll==NULL){
MessageBox(hWnd,L"Failed to load dll",L"Error",MB_OK);
return;
}
dllInitFunc=GetProcAddress(hVibradll,L"InitFunc");
if (dllInitFunc==NULL){
err=GetLastError();
MessageBox(hWnd,L"Failed to get proc address",L"Error",MB_OK);
}
}
dllInitFunc becomes NULL and err is 87, ERROR_INVALID_PARAMETER.
What am I doing wrong?
|
|
|
|
|
dllInitFunc=GetProcAddress(hDll,L"InitFunc");
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
I mean getting data from different connection settings for example Blue Tuth or Thrue the flash card???
|
|
|
|
|
The problem is this:
I wish to create a folder inside the 'My Documents' folder.
I am fairly sure that it must be done via MAPI but all the documentation I have found relates to using messages such as email, SMS, etc.
I have initialized COM and MAPI and have opened a session with MAPILogonEx() but from here I'm stumped.
How do I access the IMAPIFolder interface from my session pointer?
Help...
|
|
|
|
|
Hello !
I have a SDI app (view derived from CFormView) in wich I repainted the background in grey (instead of white). I have a static text on it and of course the background color is white...
I want to color it in grey. Who can I do it? Can I send a message to the control or do I need to subclass the control ?
Thanks
|
|
|
|
|
Write a handler for OnCtlColor (MFC). You will be able to specify the device context's colors (text and background).
Regards,
João Paulo
|
|
|
|
|
Great !!
Thank you
|
|
|
|
|
Hello !!
My program need to do somme processing that takes quite a long time. I want to show the typical "wait cursor" on the screen. How can I do this ?
Thanks
Ced
|
|
|
|
|
MFC:
{
...
CWaitCursor wc;
...
}
win32:
...
HCURSOR hc = LoadCursor(NULL, IDC_WAIT);
if (hc)
SetCursor(hc);
if (hc)
SetCursor(LoadCursor(NULL, IDC_ARROW));
...
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Wooooww !!
That's realy easy
Thanks
|
|
|
|
|
In Windows CE.NET 4.2, when I Call the CMyPropSheet::DoModal(), it cause an exception at the function call as below:
int CPropertySheet::DoModal()
{
...
==> HWND hWnd = (HWND)::PropertySheet((AFX_OLDPROPSHEETHEADER*)psh);
...
};
The description as below is copy from the online help of CPropertySheet member function DoModal:
{
The first time a property page is created from its corresponding dialog resource, it may cause a first-chance exception. This is a result of the property page changing the style of the dialog resource to the required style prior to creating the page. Because resources are generally read-only, this causes an exception. The exception is handled by the system, and a copy of the modified resource is made automatically by the system. The first-chance exception can thus be ignored.
}
but the system seem did not handle this exception, this would never happen in Windows CE.NET 4.1.
I need somebody to help me to solve this problem, thanks in advance!
|
|
|
|
|
hello friends,
I would like to run an application( which is in the web server) on the pocket pc using bluetooth technology. Please tell me your valuable suggestions.
Thanks
JP
|
|
|
|
|
Hello,
Can someone please tell me why my SDI application in MFC is always closing whenever the VK_RETURN "Enter Key" is pressed on the SIP Keyboard, or when I press my PDA select button. How can I stop this from happing.
Also, how can I detect when the enter key has been pressed in a listCtrl?
Thanks,
James
|
|
|
|
|
This behaviour is typical of dialog applications, not SDI (non-doc/view). What is the top-right button: (ok) or (X)?
Regards,
João Paulo
|
|
|
|
|
Hi !
I have this behaviour in a SDI document/view application also !!
I tried to override :
void CMainFrame::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) <br />
{<br />
<br />
}<br />
<br />
void CMainFrame::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) <br />
{<br />
<br />
}
But this doesn't work !!
Any idea how this can be solved ?
Thanks (and thanks James also for helping to discover this bug )
Ced
|
|
|
|
|
Hi
I have recently pickedup visual studio.net professional
and i see i can dev apps for mobile device in c#.
I also have evc4.0, am i correct in recalling that i am able to install evc4.0 and have it integrate itself with vs.net so i can develop my pocket pc apps in c++ inside vs.net?
regards
Bryce
---
Publitor, making Pubmed easy.
http://www.sohocode.com/publitor
|
|
|
|
|
I think you've misunderstood. (Of course on the other hand, if I'm wrong I'd like to know, too.) To develop apps in C++, you still need to use the eVC4 IDE. To target the pocketpc 2002 and below, use eVC3.
|
|
|
|
|
I am attempting to access these functions through a .NET wrapper. I am using P/Invoke, but I am having very little success. Does anyone out there have an example of how to do this? When I can get it compiled and the call made, I get a NotSupportedException returned with very little explanation. Other times, I can't get it to compile because I have been unable to fill the Long variable (acting as a LPWIN32_FIND_DATA object) I am passing to the function call properly prior to use.
Any thoughts on this?
Thanks
Dan
|
|
|
|
|
Hi,
FindFirstFlashCard and FindNextFlashCard would be very difficult to P/Invoke in the .NET Compact Framework.
But there is an answer on this here:
http://www.cjcraft.com/DesktopDefault.aspx?tabid=38
Q. How do I find any removable storage devices that may be installed on the Pocket PC device in the .NET Compact Framework.
DirectoryInfo rootDir = new DirectoryInfo(@"\");
FileAttributes attrStorageCard = FileAttributes.Directory |
FileAttributes.Temporary;
foreach( FileSystemInfo fsi in rootDir.GetFileSystemInfos() )
if ( (fsi.Attributes & attrStorageCard) == attrStorageCard )
//Found storage card
|
|
|
|
|
THANK YOU, THANK YOU, THANK YOU! I couldn't understand why there wasn't a way implemented in managed code to find them.
Thanks again
Dan
|
|
|
|
|
Can anyone shade some light, in simple language....what is Symbian OS? Plase also let me know where the potential of Symbian is.
I am a programmer in VB.NET (still on the learning curve). I have read a short article saying VB.NET can be used as a front-End for Symbian. that's where my curiousity comes from.
all your additional comments will be well appreciated.
Ben
|
|
|
|