|
If you couldn't... you wouldn't be able to use Get/Set functions (a.k.a = accessing a function that access the variable)
If that is not the answer you expected, then ask something a bit quite more concrete
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Nelek wrote: f that is not the answer you expected, then ask something a bit quite more concrete
May I have a sir (plz plz urgenz)?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Yes of course you may have it, but not drink it
drinking is not allowed at job
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Nelek wrote: drinking is not allowed at job
Nah, they allow me drinking here. They know, when drunk, I'm more productive...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I am stuck in the issue. When I run a multi threaded windows service during process I got following error message:
"Microsoft Visual C++ Runtime Library
Runtime Error
This application has requested the Runtime to terminate it in an unusual way. Please contact the applications support team for more information. "
The OS is Microsoft windows xp 2002 sp3. Plz tell me how can i troubleshoot the problem. What could be the cause. How can I find the problematic code?
Thanks for your time.
|
|
|
|
|
bilal haider wrote: Plz tell me how can i troubleshoot the problem.
Use your debugger to track down the problem.
|
|
|
|
|
ofetn a multi-thread versus single thread linking issue
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Hi,
I developed my application in VS2008,.Net framework version 3.5 SP1.
Its runs in my machine.But when i run it in another machine its not running.It shows the error
This application has failed to start because the application configuration is incorrect.Reinstalling the application may fix the problem
In that machine VC++6.0 is installed.
How can i avoid this error?
I have to send this applciation to client.I dont know whether they have VS2008
Anu
|
|
|
|
|
|
I have a third-party DLL,which is a regular MFC DLL. When I use LoadLibrary to load it, the handle returned always is NULL.I use dependecy to parser it, which report MSVCR80D.dll and MSJAVA.dll not find. How to resolve this problem.
|
|
|
|
|
Is it failing in your development machine? MSVCR80D.dll is a debug version DLL.
|
|
|
|
|
Yes. I use debug version DLL in my debug enviroment.I debug my code and found LoadLibrary always return NULL. I use the same compiler as the DLL.
|
|
|
|
|
Can you try GetLastError() to see the cause of failure?
|
|
|
|
|
I have use try-catch to catch exception, but no exception throw.
|
|
|
|
|
You can include following code after your LoadLibrary() call to get the error code:
DWORD dwErr = GetLastError();
And check the dwErr value in Visual Studio Error Lookup tool which is available under 'Tools' menu.
|
|
|
|
|
I try it. error no is 126, error openning file.
|
|
|
|
|
It seems as you figured out, the depending DLL is missing. Can you check if everything works fine on Release version?
|
|
|
|
|
|
Dear Rejeesh.T.S, thanks for your help, I have resovled my problem. I reviewed many articles about MSVCR80D.DLL and MSJAVA.DLL lost. These DLLs will be installed in system32 folder if you install VS2005. When I firstly installed VS2008 and then installed VS2005 sencondly, these DLLs would not be installed.So problem appeared. If you installed these IDE in adverse order, problem will not appeared. I copy msvcr80D.dll, msvcm80D.dll and msjava.dll in the system32 folder, problem disappeared. Thank you again.
|
|
|
|
|
Do you have the msjava.dll in your pc?
Nowadays, Microsoft dose not deploy that dll when installing the os, I think.
Check your pc configuration, please.
|
|
|
|
|
Yes,there isn't MSJAVA.DLL in my PC. I place MSVCR80D.DLL in the folder where the target DLL exist, dependens report error opening file(MSJAVA.DLL). How can I resolved this problem when using VS2005.My DLL can't be load both in Release and in Debug.
|
|
|
|
|
Hi all,
Just trying to hardcode a file path into a CString variable but result ignores backslash (I believe it may be interpreted as control character?).
e.x.
CString Path;
Path = "..\dir1\dir2\filename.ext";
result for path is "..dir1dir2filename.ext"
Also, another nagging string issue I have never understood is a compile error I get when I try to concatenate string literals -
Path = "abcd" + "abcd"; //causes a compile error, "cannot add 2 pointers
My compiler (VS 2005) is set to use Multi-Byte Character Set.
I once tried to research unicode v.s. Multi-Byte Character Set and I could not make heads or tails of the significance.
Thanks for any tips.
|
|
|
|
|
al2500 wrote: Path = "..\dir1\dir2\filename.ext";
'\' must be escaped (repeated since it is the escape character) in a string literal, change to
Path = "..\\dir1\\dir2\\filename.ext";
al2500 wrote: Path = "abcd" + "abcd";
'+' is not the concatenation operator for string literals, you should change it to:
Path = "abcd" "abcd";
or
Path = "abcd";
Path += "abcd";
or
Path = CString("abcd") + CString("abcd");
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: Path = "abcd";
Path += "abcd";
I think not.
MVP 2010 - are they mad?
|
|
|
|