bandwidth controller

  • Thread starter Thread starter AMIT PURI
  • Start date Start date
A

AMIT PURI

hello friends,,

First of all Im amitpuri.Im not a newbee to xpe .My team guys
regularly has in touch.Now we are in a small critical prob. ok it goes
like this.we are into componentalising a software component for
bandwidth management.
allm network resources added..kernel service added..registries
included using regmon and also filemon.Now the kernel got itself
installed in to the network but on executing the exe..the exe gives
kernel error.what could be probably the reason ??
any updates are weelcome..
thanks in advance.
amit
 
Amit,

Probably more here than meets the eye; or what you have writen. Are you
adding the kernel components as dependencies for your component? Most of the
kernel components are going to be added automatically to any configuration.
What you need is the DLLs and libraries for the EXE like MFC and OLE32.

I would start with Dependency Walker www.dependencywalker.com to first get
a static analysis on the EXE to gather that static DLLs. Dependency Walker
also can run a dynamic analysis to gather the remaining DLLs.

Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-By-Step and XP Embedded Advanced.
 
Thanks Sean

I am using Dependency Walker 2.1.The problem is with .inf
files. there are two .inf files but it is taking one at a time
,........ I tried both saperately but the same problem i am facing .
Code error 2, while starting the bandwidht controller.stilll there is
no other clue.......
if there is any other way, please let me know.
Thanks
Amit
 
Are you referring to the system error 2 which means "The system cannot find
the file specified." ?

Sounds like a missing dependency. If this is the case, are you sure that
when you used dependency walker that you modified the Search Order path to
*only* look at the runtime and not inadvertently use the dev machine's
system folders? If you forgot to do that then your results from DW will be
incorrect.

Also, when this error occurs, what does FileMon show is happening at that
exact moment? This should tell you which file(s) are missing.

Andy

--
Andy

This posting is provided "AS IS" with no warranties, and confers no
rights.
=====================================================
 
Thanks Andy

The error which i face while starting the bandwidh Controller
is:

"Unable to start Bandwidth controller. Error getting kernal
component version. Error code 2 "kernal error unable to send the
driver. error 1"
and do not procced further.

As far as DW is consern both i tried not working.

Any futher suggestion will be heighly appericiated .

Thanks
Amit
 
Amit ,

Check for any dll entries whether it goes unregistered otherwise.I
would suggest you to look upon the Inctrl5 and recheck the entries
once more .Does this application duplicate the Network enabling
features that by default you add.??

regards
sajeev
 
Hi Sanjeev

Thanks for the advice, now iam able to get it work properly,actually
the problem was with the .inf file, also there was conflict between
the already existing two files.NOw we manage to overcoem this problem
..
After that the size of the image is too heigh, about 8MB, I even
delete the unwanted registries. to reduce it to 5MB.

Thanks
Amit
 
Hello Amit.

Congrats !!!!
Well firstly im surprised how it could be possible to bundle the OS
and the application in complete 5 Mb.Elimintaing Regstry entries
wouldn't bring down the size to such extent moreover it will defuction
the functinality.
I would tell you to doublecheck the Image size from the Build.

Good Luck!

Sajeev Kesavan
 
Hi Kesavan,
Congrats !!!!
Well firstly im surprised how it could be possible to bundle the OS
and the application in complete 5 Mb.Elimintaing Regstry entries
wouldn't bring down the size to such extent moreover it will defuction
the functinality.
I would tell you to doublecheck the Image size from the Build.


Well he never said that he has any win32 application, in any way not
directly.
Although I'm wondering why he newer mentioned that he's building completely
kernel mode system.
Image small as 5MB can be made, what it will do that is another question.

It's too bad that registry files can't be compacted, they have minimum
hardcoded size of 256KB and they are mostly empty.
Only solution is to delete some reg files if it is possible. Or to find some
way to make smaller reg files that 256KB.


Best regards,
Slobodan
 
Hello Slobodan,

Slobodan Brcin said:
Hi Kesavan,



Well he never said that he has any win32 application, in any way not
directly.
Although I'm wondering why he newer mentioned that he's building completely
kernel mode system.
Image small as 5MB can be made, what it will do that is another question.

I think you are pretty right on the fact that the image would have to
be only a prototype with 5MB.Well the storage media if it allows for
more space then Y to suicide ourselves on that point .
registry getting weighed lesser is a good point,but customisation
according to our needs eliminating the unused ones would reflect on
lot of intellectual materialisation.

Regards,
Kesavan
 
How are you guys?

Hello Slobodan,



I think you are pretty right on the fact that the image would have to
be only a prototype with 5MB.Well the storage media if it allows for
more space then Y to suicide ourselves on that point .
registry getting weighed lesser is a good point,but customisation
according to our needs eliminating the unused ones would reflect on
lot of intellectual materialisation.

Regards,
Kesavan
 
Back
Top