x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

HTML Control - can anyone get this to complie for HPC?

JulioAngelOrtiz Page Icon Posted 2006-08-10 1:57 PM
#
Avatar image of JulioAngelOrtiz
Factorite (Elite)

Posts:
103
Location:
United States
Status:
Here's an open source HTML control for eVB (Pocket PC). I'm crap at C++ so I can't get it to work under HPC Pro/HPC2000.

But can any of the greater C++ minds get this to work? Any thoughts?
 Top of the page
TFGBD Page Icon Posted 2006-08-19 12:36 AM
#
Avatar image of TFGBD
H/PC Philosopher

Posts:
310
Location:
Eastern USA
Status:
I'm not a C++ coder either, but I will attempt to compile it for the other processor types for you. (ARM, MIPS, SH3, SH4, x86) Did you try the current implementation of it, though? It may just depend on Aygshell.dll and if you provide one will register correctly. Did you try that? Good luck.

BTW: What processor types did you want to use it on?
 Top of the page
insurgent Page Icon Posted 2006-08-19 1:48 AM
#
Avatar image of insurgent
Administrator
Factorite (Elite)

Posts:
133
Location:
Locked in the server cupboard
Status:
OK, Since it's friday evening and everyone else is out having a good time (even C:Amie!) I've appied my (rusty) fingers to this.

Where you get compilation errors in the control code, just add the appropriate casts:
LoadFileOrBookmark(pnm->szTarget);

becomes
LoadFileOrBookmark((LPWSTR)pnm->szTarget);


add this as well:
#define DTM_ENABLECLEARTYPE 1138


You should be able to compile the dll successfully.

To test it out, you'll need to create a new evb project for the HPC.
I just copied the code from their sample project and got rid of the MenuBar setup. I just added some command buttons on the form to do the actions.

Seems to work ok but I haven't thoroughly tested it.

Take care,

John
 Top of the page
mscdex Page Icon Posted 2006-08-19 3:53 AM
#
Avatar image of mscdex
H/PC Sensei

Posts:
1,054
Location:
United States
Status:
Let us know how it fares against PIE on HPC2k/Pro
 Top of the page
JulioAngelOrtiz Page Icon Posted 2006-08-23 5:08 PM
#
Avatar image of JulioAngelOrtiz
Factorite (Elite)

Posts:
103
Location:
United States
Status:
Wow that's awesome. I'll give it a shot. I'd like to compile it for all processors, both HPC Pro and HPC2000.

If it works... might be time to re-write H-Bomb...
 Top of the page
chiark Page Icon Posted 2006-08-24 9:24 AM
#
Avatar image of chiark
H/PC Sensei

Posts:
1,330
Location:
North of England
Status:
Where did you get this from? Some documentation may be useful
 Top of the page
JulioAngelOrtiz Page Icon Posted 2006-08-24 1:55 PM
#
Avatar image of JulioAngelOrtiz
Factorite (Elite)

Posts:
103
Location:
United States
Status:
 Top of the page
Jump to forum:
Seconds to generate: 0.156 - Cached queries : 62 - Executed queries : 12