Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Windows CE
»
Windows Embedded Compact 7 - Unable to import library aygshell
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
A "leisure" question on W...
by
VisualLab
[
Today
at 02:01:13 am]
Big Numbers Math
by
woodybrison
[
Today
at 01:30:21 am]
Project fails on run but ...
by
jamie
[
Today
at 12:54:49 am]
Curling Pythagoras Tree: ...
by
Boleeman
[
Today
at 12:00:37 am]
Offical launch of the 1 B...
by
Gustavo 'Gus' Carreno
[March 28, 2024, 11:51:31 pm]
Ribbon bar in Lazarus 3.2...
by
wp
[March 28, 2024, 11:29:17 pm]
Free AI to use in local
by
BSaidus
[March 28, 2024, 10:57:23 pm]
how to search in rxmemory...
by
rcmz
[March 28, 2024, 10:19:54 pm]
Configure JCF messages
by
GordonFindlay
[March 28, 2024, 10:16:19 pm]
Poll: Watches and Display...
by
Martin_fr
[March 28, 2024, 10:15:08 pm]
Dialog ShowModal and an i...
by
d7_2_laz
[March 28, 2024, 09:51:39 pm]
JEDI error but unit compi...
by
Thaddy
[March 28, 2024, 09:30:33 pm]
Understanding and adjusti...
by
circular
[March 28, 2024, 09:09:56 pm]
Controlling the behavior ...
by
wp
[March 28, 2024, 08:29:28 pm]
how to change the color f...
by
wp
[March 28, 2024, 07:23:58 pm]
Dynarray initialization p...
by
Thaddy
[March 28, 2024, 06:30:12 pm]
Zeos components. Had to c...
by
Fantablup
[March 28, 2024, 04:17:13 pm]
[SOLVED] Completion box s...
by
furious programming
[March 28, 2024, 04:12:26 pm]
[LAMW] How to create a ca...
by
af0815
[March 28, 2024, 03:48:16 pm]
Complex package installat...
by
wp
[March 28, 2024, 03:38:16 pm]
[SOLVED] Combined pointer...
by
CM630
[March 28, 2024, 02:48:41 pm]
Using KeyPress event, how...
by
Zvoni
[March 28, 2024, 02:24:42 pm]
a Unit problem?
by
Thaddy
[March 28, 2024, 01:56:12 pm]
Any upgrades to fpWeb pag...
by
marcov
[March 28, 2024, 12:50:25 pm]
Help needed with Cairo / ...
by
Roland57
[March 28, 2024, 12:25:16 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Windows Embedded Compact 7 - Unable to import library aygshell (Read 16559 times)
swierzbicki
Full Member
Posts: 177
Windows Embedded Compact 7 - Unable to import library aygshell
«
on:
July 16, 2014, 01:56:10 pm »
Hello,
Can somebody helps me with this issue ?
My exe (wince/arm) failed to load on Windows Embedded Compact 7 device. It stops with this error :
Unable to import library aygshell
This exe used to works from Windows Mobile 5 to Windows Embedded 6.53. Aygshell is available in windows folder !
Where should I start ?
Logged
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin
bambamns
Full Member
Posts: 223
Re: Windows Embedded Compact 7 - Unable to import library aygshell
«
Reply #1 on:
July 17, 2014, 06:04:52 am »
Try to read and make changes like in post
http://forum.lazarus.freepascal.org/index.php/topic,23237.0.html
Logged
Lazarus 1.8.4 + FPC 2.6.4 x86 (rebuild) and Lazarus 2.0, Windows 7 x64, unless otherwise specified
swierzbicki
Full Member
Posts: 177
Re: Windows Embedded Compact 7 - Unable to import library aygshell
«
Reply #2 on:
July 17, 2014, 11:38:35 am »
Hello
Thank you for your tip but can you help me on this ? I've deleted aygshell*.* files in "C:\lazarus\fpc\2.6.4\units\arm-wince\winceunits" folder but I'm no more able to compile my project. I'm getting error like :
Quote
wince\winceint.pp(41,5) Fatal: Can't find unit aygshell used by WinCEInt
I've tried to add "C:\lazarus\fpc\2.6.4\source\packages\winceunits\src" to the add. search path but it failed too.
Thank you
Logged
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin
bambamns
Full Member
Posts: 223
Re: Windows Embedded Compact 7 - Unable to import library aygshell
«
Reply #3 on:
July 17, 2014, 09:16:17 pm »
As I can see, problem is in 3 functions : SHCreateMenuBar, SHFindMenuBar, SHRecognizeGesture.
Goal is to remove calls from WinCe-LCL , not to delete aygshell*.* files.
Reinstall Lazarus and FPC and make this changes.
Logged
Lazarus 1.8.4 + FPC 2.6.4 x86 (rebuild) and Lazarus 2.0, Windows 7 x64, unless otherwise specified
swierzbicki
Full Member
Posts: 177
Re: Windows Embedded Compact 7 - Unable to import library aygshell
«
Reply #4 on:
July 17, 2014, 10:22:30 pm »
I have restored aygshell*.* compiled files.
You are telling me that I need to modify WinCE-LCL files ? Does this means that all files located in folder C:\lazarus\lcl\interfaces\wince should be modified ?
Thank you for your help
Logged
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin
bambamns
Full Member
Posts: 223
Re: Windows Embedded Compact 7 - Unable to import library aygshell
«
Reply #5 on:
July 18, 2014, 05:44:19 am »
No, you have to try to change ..fpc\2.6.4\source\packages\winceunits\src\aygshell.pp to exclude api calls for SHCreateMenuBar, SHFindMenuBar, SHRecognizeGesture.
Well, another step is to recompile FPC for arm-wince (this can be tricky) or to try to copy all files from ..fpc\2.6.4\source\packages\winceunits\src\ with changed aygshell.pp to your project folder and then recompile whole project.
I didn't tried this - this is only my guess what pcler did in
http://forum.lazarus.freepascal.org/index.php/topic,23237.0.html
Logged
Lazarus 1.8.4 + FPC 2.6.4 x86 (rebuild) and Lazarus 2.0, Windows 7 x64, unless otherwise specified
swierzbicki
Full Member
Posts: 177
Re: Windows Embedded Compact 7 - Unable to import library aygshell
«
Reply #6 on:
July 20, 2014, 08:54:29 pm »
I was able to exclude api calls for SHCreateMenuBar, SHFindMenuBar, SHRecognizeGesture.
I had endless access violation when running my project under Windows CE 7...
I'm now stuck in the middle of nowhere. Who can help me on this ?
Logged
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin
SonnyBoyXXl
Jr. Member
Posts: 57
Re: Windows Embedded Compact 7 - Unable to import library aygshell
«
Reply #7 on:
February 16, 2016, 12:14:29 am »
look here
http://forum.lazarus.freepascal.org/index.php/topic,31533.0.html
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Windows CE
»
Windows Embedded Compact 7 - Unable to import library aygshell
TinyPortal
© 2005-2018