Application consuming all system resources

D

Doug

Hi

I have an application that is a class library (dll file) that is run in a
second application.

On my notebook (xp home sp2), the application runs well.

On my desktop machine (xp pro sp2) the application consumes almost all of
the cpu resources and I need to do Ctrl+Alt+Del to exit that program.

The only major difference is the operating system. My c# app runs a scan
for available servers, then folders, then gets a file usine oleDB.

I had mixed luck with the app with users on other machines - but still dont
know their configurations and op systems.

Any assistance or places to look would be useful. Me things that the search
for servers may not be processed on the xp home machines but may have some
error in the process for the xp pro machines (as xp pro has additional
services).

Happy to supply code if that helps you to help me.

Thanks

Doug
 
B

Benny Raymond

Might be a stupid question but have you tried to debug and step through
every line of code to see if it's getting hung up on a piece?
 
D

Doug

Benny

It isnt that easy because the application that loads the dll needs to run it
at the same time. The code builds with no errors and the notebook runs it
well.

I dont know how to debug from an application (SAS enterprise Guide 3.0).
This application is the host that the dll file is written for.

I havent been able to find out how to debug between the two environments.

I have tried to go to properties and the debug configuration properties and
debug mode = program and have started the application but it doesnt load up
the dll file.

Cheers

Doug
 

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