|
|
it looks not too hard - similar to c++ for mysql, both use raw functions.
is there any existing MFC classes for SQL server? any samples?
thx.
|
|
|
|
|
Did you see CDatabase Class?
|
|
|
|
|
In my Dialog based app, dialog background color has been changed, but menu-bar's color is still default (button-face).
Q:
how to change menu-bar's color to dialog's color, so the GUI looks better?
|
|
|
|
|
Hello,
Anyone have ideas about invisitasking (http://www.diskeeper.com/defrag/InvisiTasking.asp) and how to do it in c++?
Is it some kind of machine learning techniques where the program study the habit of the users and then wait until a suitable time to perform a task or is it just wait for a situation when there is low CPU usage AND no input from the user AND etc..?
|
|
|
|
|
Hello All,
I have made an application in Visual C++ and at runtime it pop ups one error dialog saying that
Debug Error!!!
and saying that
DAMAGE:after normal block(#1050693) at 0x01486430
can anyone please tell me what is the error and why it shows this error???
If any one has solution regarding this please reply me.
Thanks!!!
|
|
|
|
|
Have a look at the following thread[^] I think it might help you.
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
I have made a project in VC++ in Visual C++ 6.0 Editor and it gives following errors while debugging.
Is there any solution for this problem???
if yes then please tell me I am so much confuse about this problem
I have free up all the memory in my whole project then also this error is shown in the Output window.
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\shell32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\oleaut32.dll', no matching symbolic information found.
Loaded symbols for 'C:\WINDOWS\system32\MFC42D.DLL'
Loaded symbols for 'C:\WINDOWS\system32\MSVCRTD.DLL'
Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found.
Loaded symbols for 'C:\WINDOWS\system32\MFCO42D.DLL'
Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msctf.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\asycfilt.dll', no matching symbolic information found.
Please give me reply!!!!
Thanks in advance
|
|
|
|
|
|
where is the memory leak / error in the output?
|
|
|
|
|
ohh
its not a leakage but this will happen while I am debugging my code and also while I am running my program.
This error is going to terminate my application in between the usage of the system.
So, please give me reply
|
|
|
|
|
But you started the thread as a memory leak problem.
The log you have posted doesnot give much information of your problem.
The debugging info only shows the symbol missing error, please refer Iain Clarke's description below.
If your app terminates due to huge memory usage, you have to find it out by reviewing your code (I prefer it), debug, detect using static or dynamic source code analysers like boundschecker, ....
|
|
|
|
|
Um, what memory leakage? You're just showing that Visual C++ can't find debugging symbols for system DLLs. This isn't a great shock. This just means that when you're debugging, if the call stack goes through a system DLL, you won;t know the function name.
If this is a real problem, go look at the recently posted article on setting up a symbol server (not sure if that will work with as old a compiler / debugger and 6.0. (I use 6.0, but I also don't use the symbol server)
Iain.
|
|
|
|
|
Hi,
What API should i use to Change the Desktop backgorund
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
Do you need to IActiveDesktop::SetWallpaper ?
|
|
|
|
|
vibindia wrote: What API should i use to Change the Desktop backgorund
SystemParametersInfo with the SPI_SETDESKWALLPAPER flag set.
You can also do lots of other stuff with it... Check this MSDN link[^]
---
Hakuna-Matata
It means no worries for the rest of your days...
It's our problem free, Philosophy
"I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."
|
|
|
|
|
Hello fellow programmers... i've been looking for a way to convert .doc & .html to .rtf in the quickest possible way programmatically ( VC++/C++/C) .. Can any of u help me out here???
Thanks Rajith
-- modified at 5:44 Monday 25th June, 2007
|
|
|
|
|
This may be a bit thick of me... but can't you just use the "Save As..." menu in Word itself? There's a save as RTF option there.
With more complex documents, there probably will be some loss of information, so your initial document will have to be suiatble in the first place.
If you needed to do lots of this, you could probably do some word macroing, but that's outside my realm.
Iain.
|
|
|
|
|
Thanks a lot Iain.. But that was not what i was looking for..
Let me put my question like this... How do i convert .doc & .html to .rtf programmatically using VC++/C++/C
|
|
|
|
|
Hi all I am getting following problem in my project . I could not find answer
yet all . please suggest me solution. I already used option "ignore all default libraries " . it leads to 356 linking error.at present I am getting
only 29 errors. it is console application
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in LIBCMT.lib(free.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _realloc already defined in LIBCMT.lib(realloc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fclose already defined in LIBCMT.lib(fclose.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strtol already defined in LIBCMT.lib(strtol.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _atoi already defined in LIBCMT.lib(atox.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strpbrk already defined in LIBCMT.lib(strpbrk.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strchr already defined in LIBCMT.lib(strchr.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in LIBCMT.lib(strncpy.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in LIBCMT.lib(sprintf.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strtod already defined in LIBCMT.lib(strtod.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strtoul already defined in LIBCMT.lib(strtol.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in LIBCMT.lib(memmove.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncmp already defined in LIBCMT.lib(strncmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _calloc already defined in LIBCMT.lib(calloc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _tolower already defined in LIBCMT.lib(tolower.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _getenv already defined in LIBCMT.lib(getenv.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _toupper already defined in LIBCMT.lib(toupper.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fflush already defined in LIBCMT.lib(fflush.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __errno already defined in LIBCMT.lib(dosmap.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strftime already defined in LIBCMT.lib(strftime.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __isctype already defined in LIBCMT.lib(isctype.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _getc already defined in LIBCMT.lib(fgetc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fwrite already defined in LIBCMT.lib(fwrite.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __strdup already defined in LIBCMT.lib(strdup.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __close already defined in LIBCMT.lib(close.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __stricmp already defined in LIBCMT.lib(stricmp.obj)
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _free already defined in LIBCMT.lib(free.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _malloc already defined in LIBCMT.lib(malloc.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _realloc already defined in LIBCMT.lib(realloc.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _fclose already defined in LIBCMT.lib(fclose.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strtol already defined in LIBCMT.lib(strtol.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _atoi already defined in LIBCMT.lib(atox.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strpbrk already defined in LIBCMT.lib(strpbrk.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strchr already defined in LIBCMT.lib(strchr.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strncpy already defined in LIBCMT.lib(strncpy.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _sprintf already defined in LIBCMT.lib(sprintf.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strtod already defined in LIBCMT.lib(strtod.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strtoul already defined in LIBCMT.lib(strtol.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _memmove already defined in LIBCMT.lib(memmove.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strncmp already defined in LIBCMT.lib(strncmp.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _calloc already defined in LIBCMT.lib(calloc.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _tolower already defined in LIBCMT.lib(tolower.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _getenv already defined in LIBCMT.lib(getenv.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _toupper already defined in LIBCMT.lib(toupper.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _fflush already defined in LIBCMT.lib(fflush.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __errno already defined in LIBCMT.lib(dosmap.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strftime already defined in LIBCMT.lib(strftime.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __isctype already defined in LIBCMT.lib(isctype.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _getc already defined in LIBCMT.lib(fgetc.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _fwrite already defined in LIBCMT.lib(fwrite.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __strdup already defined in LIBCMT.lib(strdup.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __close already defined in LIBCMT.lib(close.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __stricmp already defined in LIBCMT.lib(stricmp.obj); second definition ignored
Mytest.exe - 29 error(s).
RajeshGupta
|
|
|
|
|
Hi,
in my case i needed to ignore the LIBCMTD.lib ( D for Debug )
You can ignore this library into the project-properties at Link/Linking (*)
Then you choose the second sub-item (under General)
there you can ignore libraries
I hope this will help you
* = I have VS.NET in german language so i don't know the exact expressions
|
|
|
|
|
Hello everybody
I have one Function that returned one char* value.
In this function I declare one char* variable and new it.
Like this:
char* CProject::Myfunction(CString strData, CString strPassword,int iRand)<br />
{<br />
char *chResult=new char[strlen(chDataString)/2];<br />
. <br />
.<br />
do something on chResult<br />
.<br />
.<br />
return chResult;<br />
}
In end of function I must return this value.
Where I can delete this pointer?
Pleases help me.
With special tanks and excuse for my bad English language
Good luck
|
|
|
|
|
Hi,
not in this funtion.
some where you have the line
char *line = Myfunction(.....);
than you use the line and after it, you delete it via
delete[] line;
I hope it works
|
|
|
|
|
The caller of the function must delete it.
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.
|
|
|
|
|
samira samehforooghy wrote: Where I can delete this pointer?
I believe you could delete it in the function which calls your Myfunction .
char* ch = Myfunction(...);<br />
.....<br />
delete ch;
Hope this helps.
---
Hakuna-Matata
It means no worries for the rest of your days...
It's our problem free, Philosophy
"I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."
|
|
|
|