Custom Component problems

G

Guest

I'm trying to add grpconv.exe and cacls.exe to my own custom component. (I
have to learn about custom components anyway to make one for my device
driver.)

In Component Designer, I made a new SLD. Under Components I added a new
component - in the Files added my two files and they both use %11% for the
path. Under Repositories I added a new one and filled in the fields. The
Source Path is ".\..\..\..\Windows Embedded
Data\Repositories\{E7D10479-A416-4AFE-94CC-E4129090F75F}". (I did not add any
Group Memberships.) When I use Component Database Manager, it imports
successfully and I see that my two files are in the repository directory.

However... when I include this component in a build, I get error 1005: File
not found for these two files. When I try to do a footprint check on the
component, it tells me the size is 0.

What am I doing wrong? I would really appreciate any suggestions.

Thanks,
Gary
 
K

KM

Gary,

Since those two files are in the standard repository you don't have to create another repository.
Just select that standard repository in the repository field of your component.
 
G

Guest

KM,

Thanks for the reply. I tried changing my SLD file so the Source Path is
{484C9D34-846E-40E2-A2E6-FF2771A303D5}.That is where grpconv and cacls are
found. When I imported me SLD with CDM, it took a long time. When I looked in
the repository directory, it had made a new directory that is a copy of the
one I specified in my Source Path. I don't understand why this happened. Why
would it need to make a new repository directory?

I went back to TD and tried to do an Estimte Footprint. It could not complete:

Error 1106: Multiple Actve Components collision between: "Dialogic Utility
List #2 [Version 1.0, R5]" and "Dialogic Utility List [Version 1.0, R5]"

At some point last week I had tried making the component with #2 in the
title. I have since deleted the SLD file. How do I get it out of the system?
Do I have to make the component over again with a different name to avoid the
collision??

Thanks,
Gary
 
K

KM

Gary,

I meant the Repository field on the component properties page in CD. Don't change with the Source Path fields.

What happened with the setup you created is that you probably coping the entire XPe repository (one of them) into the new created
repository. You obviously don't want that.

You can delete components on the Components page in CDM (Component Database Manager). Although make sure to run it in exclusive
database access mode meaning that don't have any other XPe tools running that time.

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

Thanks for the reply. I tried changing my SLD file so the Source Path is
{484C9D34-846E-40E2-A2E6-FF2771A303D5}.That is where grpconv and cacls are
found. When I imported me SLD with CDM, it took a long time. When I looked in
the repository directory, it had made a new directory that is a copy of the
one I specified in my Source Path. I don't understand why this happened. Why
would it need to make a new repository directory?

I went back to TD and tried to do an Estimte Footprint. It could not complete:

Error 1106: Multiple Actve Components collision between: "Dialogic Utility
List #2 [Version 1.0, R5]" and "Dialogic Utility List [Version 1.0, R5]"

At some point last week I had tried making the component with #2 in the
title. I have since deleted the SLD file. How do I get it out of the system?
Do I have to make the component over again with a different name to avoid the
collision??

Thanks,
Gary


KM said:
Gary,

Since those two files are in the standard repository you don't have to create another repository.
Just select that standard repository in the repository field of your component.
 
G

Guest

Yes!

Once I closed TD and CD, I was able to delete the old component using CDM.

Once I changed the Repository setting, it went very nicely.

KM, thanks for the quick and accurate help!

Gary

KM said:
Gary,

I meant the Repository field on the component properties page in CD. Don't change with the Source Path fields.

What happened with the setup you created is that you probably coping the entire XPe repository (one of them) into the new created
repository. You obviously don't want that.

You can delete components on the Components page in CDM (Component Database Manager). Although make sure to run it in exclusive
database access mode meaning that don't have any other XPe tools running that time.

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

Thanks for the reply. I tried changing my SLD file so the Source Path is
{484C9D34-846E-40E2-A2E6-FF2771A303D5}.That is where grpconv and cacls are
found. When I imported me SLD with CDM, it took a long time. When I looked in
the repository directory, it had made a new directory that is a copy of the
one I specified in my Source Path. I don't understand why this happened. Why
would it need to make a new repository directory?

I went back to TD and tried to do an Estimte Footprint. It could not complete:

Error 1106: Multiple Actve Components collision between: "Dialogic Utility
List #2 [Version 1.0, R5]" and "Dialogic Utility List [Version 1.0, R5]"

At some point last week I had tried making the component with #2 in the
title. I have since deleted the SLD file. How do I get it out of the system?
Do I have to make the component over again with a different name to avoid the
collision??

Thanks,
Gary


KM said:
Gary,

Since those two files are in the standard repository you don't have to create another repository.
Just select that standard repository in the repository field of your component.

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

I'm trying to add grpconv.exe and cacls.exe to my own custom component. (I
have to learn about custom components anyway to make one for my device
driver.)

In Component Designer, I made a new SLD. Under Components I added a new
component - in the Files added my two files and they both use %11% for the
path. Under Repositories I added a new one and filled in the fields. The
Source Path is ".\..\..\..\Windows Embedded
Data\Repositories\{E7D10479-A416-4AFE-94CC-E4129090F75F}". (I did not add any
Group Memberships.) When I use Component Database Manager, it imports
successfully and I see that my two files are in the repository directory.

However... when I include this component in a build, I get error 1005: File
not found for these two files. When I try to do a footprint check on the
component, it tells me the size is 0.

What am I doing wrong? I would really appreciate any suggestions.

Thanks,
Gary
 

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