|
First step is to make a "Release" build. Your exe is sreaminf for debug dlls.
On VC6 you can make a static link to MFC, so all dependencies are in the bigger exe.
Greetings from Germany
|
|
|
|
|
I have made release build and also static library then also problem exists
|
|
|
|
|
The failure may or may not be anything to do with the presence or otherwise of VC++. You can use the depends tools from Microsoft ( shipped with VC++6 Pro ) to determine your .exe's static requirement for Dlls but this is not the problem in your case.
You need to add some diagnostic logging/tracing to your application and possibly a crash handler ( There are good examples on CP ) to determine why your app is closing down unexpectedly. It should be able to report the causal error before disappearing even if it's a really nasty fatal problem.
The good news is that it is isn't taking down the clients machine on its way out. The bad news is you may need a lot of cooperation from the client to solve the problem.
Good luck.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Could u plz tell me the link where i can find Crash handler examples and what does CP means.
thanks
|
|
|
|
|
CP is local short hand for Code Project (this site) and you can find lots of useful articles on Crash handling, Error handling, Exception handling, and logging and reporting in the C++/MFC and other sections of the Articles pages on this site. It's probably best if you look yourself for the ones most relevant to what you're doing and the technologies you're familiar with. Failing that a web search for the name 'John Robbins' will get you more information on debugging than you could use ever reasonably use. Enjoy.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
shir_k wrote: what does CP means.
sin.
Jemmy : Deadline? Pfft, a real programmer eats deadlines for breakfast. :P
Mark: I thought real programmers ignored deadlines
Best wishes to Rexx[^]
|
|
|
|
|
shir_k wrote: what does CP means
it's the abbreviation for the site you're asking on...
|
|
|
|
|
As your application seems to start correctly (you don't have an error message that is displayed immediately when you launch the app), I suppose that it is not a deployment issue. So, as Matthew stated, it has probably nothing to do with the fact that VC is installed or not. Anyway, it is always better to distribute the release version of your executable.
Do you use any ActiveX ? That could be the problem: if you try to use an ActiveX that is not registered, you'll have this kind of problem.
If that's not the case, you'll have to dig into more details (like Matthew suggested).
|
|
|
|
|
HI,
Am using MSComm, this could be the problem.
Thanks
|
|
|
|
|
Try to register it before lauching your application and see what happens.
|
|
|
|
|
Sorry i didn't get what u r saying
|
|
|
|
|
Copy the activeX MSComm32.ocx in the windows\system32 folder (take it from there on your own computer) and use regsvr32 to register it.
Click on Start -> run and there type "regsvr32 MSComm32.ocx".
|
|
|
|
|
Hi,
I tried above method, it worked for windows 2000 but in XP the problem still exists.
What i did is:
1) i copied the file MSComm32.ocx in my system(mine is windows 2000)and placed in XP m/c at location c:\windows\system32 problem didn't get resolved.
when i did above step in windows 2000 it worked(i tried in 2 systems)
Except mine in all other systems i couldn't register(Click on Start -> run and there type "regsvr32 MSComm32.ocx". )
Thanks
|
|
|
|
|
shir_k wrote: Except mine in all other systems i couldn't register(Click on Start -> run and there type "regsvr32 MSComm32.ocx". )
What was the error message ?
|
|
|
|
|
Hi,
The error message was
"Cannot find the file 'regsvr'(or one of its components).Make sure the path and the file name are correct and that all required libraries are available"
The systems which got this error doesn't have VC++ installed. I had placed MSCOMM32 at windows\system32\mscomm32.ocx or winnt\system32\mscomm32.ocx
Thanks
|
|
|
|
|
Type regsvr32 not regsvr.
|
|
|
|
|
Hi,
Sorry i was giving the wrong command(regsvr MSComm32.ocx).
When i gave regsvr32 MSComm32.ocx it is working fine.
Thanks
|
|
|
|
|
Hi,
Its working fine in all the systems, as i had not registered properly it was creating problem.
Thanks a lot.
|
|
|
|
|
Hi,
One more Q, in one of the system mscomm32 was existing but created in 1997(when i saw in it properties) when i executed my project it was not working, when i replaced with the mscomm32 which was created in 1998 it started working.Am curious to know why it is so.
Thanks
|
|
|
|
|
Today is our traditional midautumn Day,On this day,we look the full moon,eat the mooncakes and enjoy the moments with our family members together.And I never forget you ,the people here.Just wish you all a good night and a sound sleep!
|
|
|
|
|
bornunique wrote: ...eat the mooncakes...
So the moon really is made of cheese cake!
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
This has absolutely nothing to do with C++. Read the forum guidelines.
__________________________
Don't drink and derive.
Alcohol and calculus don't mix.
|
|
|
|
|
hum, yes.
and what's your question ?
|
|
|
|
|
You computing geeks or in this case morons could use break once in a "blue moon"!
And the question is:
"How much wood would woodchuck chuck if the woodchuck could chuck wood?"
Pass some moonshine my way…
|
|
|
|
|