A PROBLEM WITH SHELL PROTOTYPE in XPe

V

vincenzo di salvo

Hi guys,

Please, I have a question for you. I know as a shell can
be made in XPembedded. However i have a problem with my last shell.
I'll try to post here my problem. I hope you can help me. I work in
Microsoft Visual C++ 6.0.
I have a folder: MY_REPOSITORY and two subfolder RES and IMAGES.
In MY_REPOSITORY there is my main application, main.exe and some other
resources
like necessary dll?s and one activex control (ocx). In RES there are the
resource picture of the interface of main.exe and in IMAGES there are other
pictures that i ask using the ocx control.
I make the shell following the Microsoft porcedure [ .sld, database SQL,.slx].
Than boot the machine and the shell appears. It works well with the resource
images of the RES folder. However, when i go to call the pictures in the
IMAGES
sub folder they are not displayed on the monitor.
NOTICE.

I have tried to do the same making an xpe component, than calling my
main.exe application inside the explorer shell. And my application, in this
case, works very well and the picture in IMAGES folder are displayed on the
monitor.

Please, can you help me ? Where is for you the problem ?

Thanks very much.

Vincenzo Di Salvo.
 
V

vincenzo di salvo

KM,
thanks for your reply. But are you shure that can be a path problem ?

As i told you, i have cecked my program like a component of windows XPe,
booting from an explorer shell. And in this case my program works well.
At the component, than, i have added the shell functionalities. In this case
the same program doesn't work.

Please can you help me ?

How can i do to send you an example of my program that you can test on your
machine ?

see you

Vincenzo
 
K

KM

Vincenzo,

Running your app under Explorer Shell and running it as the shell - different cases. Yes, the current directory have to be set
properly if you use it within the app.

You can post the corresponding app code pieces here and we should be able to find the source of the problem. In your case it is
important to see how to load the files under IMAGES folder.

--
=========
Regards,
KM


vincenzo di salvo said:
KM,
thanks for your reply. But are you shure that can be a path problem ?

As i told you, i have cecked my program like a component of windows XPe,
booting from an explorer shell. And in this case my program works well.
At the component, than, i have added the shell functionalities. In this case
the same program doesn't work.

Please can you help me ?

How can i do to send you an example of my program that you can test on your
machine ?

see you

Vincenzo

vincenzo di salvo said:
Hi guys,

Please, I have a question for you. I know as a shell can
be made in XPembedded. However i have a problem with my last shell.
I'll try to post here my problem. I hope you can help me. I work in
Microsoft Visual C++ 6.0.
I have a folder: MY_REPOSITORY and two subfolder RES and IMAGES.
In MY_REPOSITORY there is my main application, main.exe and some other
resources
like necessary dll?s and one activex control (ocx). In RES there are the
resource picture of the interface of main.exe and in IMAGES there are other
pictures that i ask using the ocx control.
I make the shell following the Microsoft porcedure [ .sld, database SQL,.slx].
Than boot the machine and the shell appears. It works well with the resource
images of the RES folder. However, when i go to call the pictures in the
IMAGES
sub folder they are not displayed on the monitor.
NOTICE.

I have tried to do the same making an xpe component, than calling my
main.exe application inside the explorer shell. And my application, in this
case, works very well and the picture in IMAGES folder are displayed on the
monitor.

Please, can you help me ? Where is for you the problem ?

Thanks very much.

Vincenzo Di Salvo.
 
V

vincenzo di salvo

Dear KM,

yes, the problem was the path. I have used the GetCurrentDirectory in my
source code and now the shell runs very well.

Thank you very much.

Vincenzo Di Salvo.



KM said:
Vincenzo,

Running your app under Explorer Shell and running it as the shell - different cases. Yes, the current directory have to be set
properly if you use it within the app.

You can post the corresponding app code pieces here and we should be able to find the source of the problem. In your case it is
important to see how to load the files under IMAGES folder.

--
=========
Regards,
KM


vincenzo di salvo said:
KM,
thanks for your reply. But are you shure that can be a path problem ?

As i told you, i have cecked my program like a component of windows XPe,
booting from an explorer shell. And in this case my program works well.
At the component, than, i have added the shell functionalities. In this case
the same program doesn't work.

Please can you help me ?

How can i do to send you an example of my program that you can test on your
machine ?

see you

Vincenzo

vincenzo di salvo said:
Hi guys,

Please, I have a question for you. I know as a shell can
be made in XPembedded. However i have a problem with my last shell.
I'll try to post here my problem. I hope you can help me. I work in
Microsoft Visual C++ 6.0.
I have a folder: MY_REPOSITORY and two subfolder RES and IMAGES.
In MY_REPOSITORY there is my main application, main.exe and some other
resources
like necessary dll?s and one activex control (ocx). In RES there are the
resource picture of the interface of main.exe and in IMAGES there are other
pictures that i ask using the ocx control.
I make the shell following the Microsoft porcedure [ .sld, database SQL,.slx].
Than boot the machine and the shell appears. It works well with the resource
images of the RES folder. However, when i go to call the pictures in the
IMAGES
sub folder they are not displayed on the monitor.
NOTICE.

I have tried to do the same making an xpe component, than calling my
main.exe application inside the explorer shell. And my application, in this
case, works very well and the picture in IMAGES folder are displayed on the
monitor.

Please, can you help me ? Where is for you the problem ?

Thanks very much.

Vincenzo Di Salvo.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top