|
I AM using some APIs and Libs and those are probably the reason, but I have no idea what to do.
I read html-files and jpg-files and display HTML on the screen.
I use
- ReadFile() to read the html-file,
- VOImage to read the jpg-files (http://www.pocketpcdn.com/libraries/voimage.html / http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_viewer.asp ), and
- CSTHtmlDialog to show the HTML (http://www.codeproject.com/ce/sthtmldialog.asp).
Do I need to copy or register anything on the PPC Device? For PPC02 I always used EVC to upload my app to the device, but on PPC03 I had to copy the .exe manually. Is that the problem?
(By the way: If I copy the exe out of ARMDbg instead of ARMRel, my app won't even start on the device).
What is also strange: If I start the app and a HTML-page with some images is shown, the images are shown for about 0.1 secs and then they are replaced by the typical red [x] symbol.
??
thx, Daniel
|
|
|
|
|
I added WM_CLOSE handler via class wizard in CMainFrame. It deleted other two afx_msg handlers from mainframe.h
Although I pasted the two handlers declarations again, just wondering what is the reason behind this...
Any ideas?
|
|
|
|
|
What handlers did it delete?
Regards,
João Paulo
|
|
|
|
|
Hi,
I have a problem with the AppWizard-generated code of eVC4 and I have no idea what's wrong with it. Any help is appreciated.
I generate a new application "Test" with the AppWizard:
- Single document with DocList
- Windows Sockets, ActiveX Controls and Shared New disabled
- Basic MenuBar
- Source File Comments enabled
- Statically linked MFC Library
- Base class "CFormView" for my view class "CTestView"
After building the project I run the application. Now I would expect my view to show the contents of the associated dialog ressource (some static content generated by AppWizard like "TODO: Add controls"). But the only thing I get is a white, empty window.
What am I supposed to do?
(You can find the files at http://www.ralf-limbacher.de/eVC4/Test.zip.)
Thanks in advance
Ralf
|
|
|
|
|
I just have a XML document which is generated by my ASP script.
Now I want to download it and tranform it to the PDB format.
It must be done absolutely automatic by my ASP script from download to transform.
Now I have a problem,how can I tranform it from the XML format(it is just like a plain txt) to the PDB format.
I'm a freshman in this area.I used to refer to this page
http://www.palmos.com/dev/support/docs/fileformats/front.html
for the information of the PDB format.
All I know is the PDB format have a PDB header and the list of the records' entry.
Please help me,every tips will be appreciated.
|
|
|
|
|
Hello !
I have a really strange problem:
I write a string to a file:
<br />
FILE* pFile = fopen("profile.tmp","w");<br />
....<br />
...<br />
...<br />
char Buff[256];<br />
sprintf(Buff,"\n[%s]\n",mainkey);<br />
fputs(Buff,newfile);<br />
The instruction fputs fire an exception: "First chance excepetion: access violation"
I checked the string, it's perfectly correct and the file handle is valid. I cannot find any solution to this problem !!
Please give me some clues....
Thanks
|
|
|
|
|
What is the platform?
Regards,
João Paulo
|
|
|
|
|
|
Does the value of mainkey fit into the buffer?
By the way, why are you using ASCII text instead of Unicode?
Regards,
João Paulo
|
|
|
|
|
Yes everything is correct.
I use ASCII instead of unicode because it has to be compatible with my library that has been developped for the desktop computer. I cannot write everything again.
But the bug is solvedf but I don't have an explanation. I was using _wfopen instead of fopen (with TCHAR string). So I changed it and now that works
|
|
|
|
|
Hello !
Has anyone here yet ventured into the world of Symbian or Series 60 development ? What tools do you use ? As far as I know, the Series 60 SDK and it's tools are a piece of crap: a bunch of script-driven gcc-tools.
I've heard about the Borland Mobile Studio but it doesn't seem to be available for purchase yet.. Is it even released yet ?
Any other options you would recommend ? I do have the Visual Studio solution already with the script-driven tools, but like I said, they are an abomination to application development: even a crude Unix hack looks smoother than this package..
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
Antti Keskinen wrote:
Has anyone here yet ventured into the world of Symbian or Series 60 development ?
Yes!
Antti Keskinen wrote:
What tools do you use ?
The Visual Studio 6 setup.
Antti Keskinen wrote:
As far as I know, the Series 60 SDK and it's tools are a piece of crap: a bunch of script-driven gcc-tools.
They look worse when you start using them. After a while... Well, integration is not their forte...
The tools are a bit crude, as you say. But if you look under the covers you will find some gems thet will make your life less miserable. Anyway, it's a sizeable learning curve...
Good luck!
Regards,
João Paulo
|
|
|
|
|
Hello !
This may be a stupid question, but how can I reinstall my PocketPC (like formating it...) ?
I need to know exactly wich ressources I need for my applications to run and so I must start on a 'new' Pocket PC.
Thanks
|
|
|
|
|
You can't, but what you can do is clear the memory.
Look up 'hard reset' or 'cold reset' in the device's manual. If you really can't find it, try doing it in code[^].
|
|
|
|
|
hello,
I need to use the function CoCreateFreeThreadedMarshaler in my Application for Pocket PC 2003 (eVC++ 4.0) but despite the MSDN site mentionned that ole32.lib exports it since winCE 3.0, this function not appears in my ole32 (SDK for PPC).
So anyone has an idea of what I can do with it ?
thx for help !
|
|
|
|
|
Hi All,
Are there any free printer libraries for Windows CE?
Mahesh
|
|
|
|
|
You could try the HP mobile printing SDK:
http://www.hpdevelopersolutions.com/mobile/index.cfm
|
|
|
|
|
I can't find any samples (beyond Hello World). I have been able to do a few very basic things, but cannot get to the registry, messaging, etc.
Does anyone have any working code that would give me a basic starting point?
thanks
camasmartin
hobby programmer
|
|
|
|
|
Hi,
Try the link below.
http://smartdevices.microsoftdev.com/Learn/Articles/512.aspx
Mahesh
|
|
|
|
|
Thank you
Thank you
Thank you
Thank you
camasmartin
hobby programmer
|
|
|
|
|
Hi,
I'm programming with eVC++ 4 and have the following problem:
My program should use an INI file to read and write several values. To read/write I will use the functions GetProfileString and WriteProfileString (class CWinApp). But each call of this functions failed.
I use the following code (exactly like MSDN and eVC++ helpfile) :
BOOL CMyApp::InitInstance()
{
free((void*) m_pszProfileName );
m_pszProfileName = _tcsdup(_T("/Temp/COMConn.ini"));
...
}
void CDlgClass::ReadIniFile()
{
CString csValue;
...
AfxGetApp()->WriteProfileString(_T("Connect"), // Section
_T("Name"), // Key
_T("MyConnect") ); // Value to write
csValue = AfxGetApp()->GetProfileString(_T("Connect"), // Section
_T("Name"), // Key
_T("Error") ); // Default
...
}
The ini file /Temp/COMConn.ini exists, but each call of WriteProfileString() returns FALSE and each call of GetProfileString() returns "Error".
Why failed every access ?
Please help me (fast).
Thank You
Rico
|
|
|
|
|
These methods only work with the registry. To use an ini file, you will have to roll your own (like I did).
Regards,
João Paulo
|
|
|
|
|
Hi
I know embedded Visual C++ compiler do not accept return statements in this __try and __finally. but i need to return different conditions(values) at different parts of the __try / __finally block, how shall i go about doing it?
Need this help urgently.
Thanx
|
|
|
|
|
Hi ,
On the PDA's calendar, I want to add a new item in the menu(when I hold the Stylus for a brief time).
Where can I found its entry in the registry? Or is there any other way with which I can achieve this?
Regards
Ankukr
|
|
|
|
|
Check the online help file under Extending Pocket Outlook Menus.
Quote:
The Calendar, Tasks, and Contacts applications support menu add-ins for external applications. If you provide an add-in for one of these applications, your menu item appears on the Tools menu. When the user selects your menu item, Pocket Outlook calls a function in a registered DLL, which passes the object identifiers of the currently selected items in the application.
To register your application, create a registry key under the following key:
Software\Microsoft\PimApps\PimExtensions\pim_app\AddIns
You can use any name that you want for the key. To avoid conflicts with other add-ins, we suggest that the key contain the name of your company. Replace pim_app with Contacts, Tasks, or Calendar, depending on which application’s menu you want your add-in to appear on.
After you create this key, you need to create two values for the key. The first value is DLL, which you set to the name of your DLL. The second value is Menu, which you set to the name that you want displayed on the Tools menu. Others may add tools items, so you should try to create a unique, descriptive, and mnemonic name that will distinguish your application.
For example, the following registry key would register a phone-dialer application in the Contacts application:
Software\Microsoft\PimApps\PimExtensions\Contacts\AddIns\MicrosoftDialer<br />
DLL: dialer.dll<br />
Menu: "Dial Contact"
The registered DLL must expose the CePimCommand function, which is called automatically when the user chooses the menu command.
Regards,
João Paulo
|
|
|
|