|
Ok, it builds. Only thing that remains is the warning.
Thanks for the help!
|
|
|
|
|
Hi All,
I have the problem about focus when execute a new program from my application (I used SHELLEXECUTEINFO to do that). I expect that focus must remain on the new program until it is closed. Current if I run a new program and it does not go full screen I can touch the parent screen and then I have no way to get back the program.
Please help me. Thank you very much
|
|
|
|
|
Nguyen Thi Thanh wrote: Current if I run a new program and it does not go full screen I can touch the parent screen and then I have no way to get back the program.
Pass SW_MAXIMIZE in nShow parameter
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote: Pass SW_MAXIMIZE in nShow parameter
In this case, I can click on restore button of window and I can still touch the parent screen. I mean the end user does not have no way to transfer to another screen until the new program is closed. I want the new program running as top-level window.
Thank you very much.
|
|
|
|
|
Hello,
I copied my VC6 project to another PC, but when opened there it prompted some .h file were not found. I checked and found at least the include files content under Tools/options/directories is different. Anyone knows how to make these settings on different computers to be the same, instead manually add in each entry?
I tried the following method:
http://support.microsoft.com/kb/q247005/#appliesto
and backup the content under HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0
then recover to another PC. But the include files did not change after restart.
Thanks!
Thomas
|
|
|
|
|
In VC6 they are stored in the registry under HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0
Check this link if it helps you. link[^]
In VC.NET 2003, they are stored somewhere in
C:\Documents and Settings\ as a file named VCComponents.dat
I dont remember the exact location but search it and you will find it.
There are two types of roads in our country. One
is under construction and the other is under repair.
|
|
|
|
|
Hello everybody, sorry to disturb you. I saw your post in the forum. I need a C/C++ programmer with Digital Signal Processing (DSP) knowledge. My software will be done in MFC dialog-based. The software will generally operates as follow. Here is the basic idea:
Waveform is displayed real-time in time domain when speech is spoken into microphone.
Analysis will be done on the waveform and the time-domain details will be displayed on a dialog box. We may need to ADC,remove DC offset, windowing, FFT, power/amplitude spectrum, filtering and IFFT. I will send you more details if you are interested.
I urgently need a programmer who has experiences in the above software. This is not a spam or junk mail. Please email me at isabella_1202@yahoo.com. You can either email, pm or reply here. Do inform me the fee you require. I have been struggled for many months, living in depresses of searching on how to solve my problems. Please help, urgently need. Hope to hear from you soon, please. Thank you.
regards
isabella
|
|
|
|
|
|
|
Michael P Butler wrote: That's just cruel
Actually i was trying to be very helpfull
-Prakash
|
|
|
|
|
isabella_1202 wrote: You can either email, pm or reply here. Do inform me the fee you require. I have been struggled for many months, living in depresses of searching on how to solve my problems. Please help, urgently need. Hope to hear from you soon, please. Thank you.
Whom do you refering too.... you can post you advertisement JOBS[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi!!
Can anybody tell me . what is IXMLDOMDocument or IXMLDOMDocumentPtr?? And how is it related with xml pARSING.
i want to convert my old ini files into xml files by using XML Parsing functions in an MFC SDI application. I had done the conversion by using old C Functions, but how to do it using MFC functions.
Thanx
"If you change then change for the good."
|
|
|
|
|
swaapu wrote: i want to convert my old ini files into xml files by using XML Parsing functions in an MFC SDI application. I had done the conversion by using old C Functions, but how to do it using MFC functions.
look for CMarkUp class here at CP, that will sort out your problem
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
swaapu wrote: Can anybody tell me . what is IXMLDOMDocument or IXMLDOMDocumentPtr?? And how is it related with xml pARSING.
Read the documentation for MSXML/Microsoft XML Core Services. And check out the samples.
|
|
|
|
|
swaapu wrote: IXMLDOMDocument or IXMLDOMDocumentPtr
are Types used in Microsofts bloated COM-operated XML-DOM-parser.
I hate this thing, I find it totally unusable.
If you only want short ini-filies XMLized I would recommend a smaller parser (like CMarkup[^]
I really liked their versions up until 6 and have no idead of the bloat-factor till then.
Another alternative would be Xerxes, which, while also being huge, i feel has a much better interface than MSXML.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
TinyXML[^] is meant to be good (but IIRC the Unicode support is poor).
|
|
|
|
|
Developping a combobox, i want to add an Office 2003 style, working under W2K and XP. All the articles and libraries I found do not really work : hardcoded colors, hardcoded theme selection (only those delivered with XP), approximation too far from the real colors (under XP and/or W2K).
Does somebody has ideas on the algorythms to use for the three states of the combox button ? (it seems to me that the standard (not hover, not pressed) button is draw transparently upon the toolbar of WinWord,so the mean to get the colors of this toolbar is also nedeed).
|
|
|
|
|
Good day,
Suppose that I have completely developed a MFC dialog base application. At design time, I didn't want it to support Automation and I didn't check Automation support in AppWizard.
So now, how can I make it support Automation? What changes must be made to my current application?
Thank you in advance,
Have a good time!
KEMI
|
|
|
|
|
Hello. I'm currently having a problem linking a single threaded library to a multithreaded program.
I'm using Haru pdf library found here: http://sourceforge.net/projects/libharu/
Is there any way I can change the project or makefile to work with my multithreaded project?
I believe this is the problem as I am getting the following errors:
--------------------------------------------------------------
Linking...
LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMT.lib(nlsdata1.obj) : error LNK2005: ___mb_cur_max already defined in _libc_fix.obj
LIBCMT.lib(lconv.obj) : error LNK2005: _localeconv already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMT.lib(ctype.obj) : error LNK2005: __pctype already defined in _libc_fix.obj
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRTD.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRTD.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRTD.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRTD.lib(cinitexe.obj)
LIBCMT.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMT.lib(strtol.obj) : error LNK2005: _strtoul already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMT.lib(getenv.obj) : error LNK2005: _getenv already defined in MSVCRTD.lib(MSVCRTD.dll)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __ltoa already defined in LIBCMT.lib(xtoa.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __setmbcp already defined in LIBCMT.lib(mbctype.obj)
LIBCMT.lib(tolower.obj) : warning LNK4006: _tolower already defined in MSVCRTD.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(crt0dat.obj) : warning LNK4006: _exit already defined in MSVCRTD.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(crt0dat.obj) : warning LNK4006: __exit already defined in MSVCRTD.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(nlsdata1.obj) : warning LNK4006: ___mb_cur_max already defined in _libc_fix.obj; second definition ignored
LIBCMT.lib(lconv.obj) : warning LNK4006: _localeconv already defined in MSVCRTD.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(ctype.obj) : warning LNK4006: __pctype already defined in _libc_fix.obj; second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in MSVCRTD.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in MSVCRTD.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in MSVCRTD.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in MSVCRTD.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(winxfltr.obj) : warning LNK4006: __XcptFilter already defined in MSVCRTD.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(strtol.obj) : warning LNK4006: _strtoul already defined in MSVCRTD.lib(MSVCRTD.dll); second definition ignored
LIBCMT.lib(getenv.obj) : warning LNK4006: _getenv already defined in MSVCRTD.lib(MSVCRTD.dll); second definition ignored
MSVCRTD.lib(MSVCRTD.dll) : warning LNK4006: __ltoa already defined in LIBCMT.lib(xtoa.obj); second definition ignored
MSVCRTD.lib(MSVCRTD.dll) : warning LNK4006: __setmbcp already defined in LIBCMT.lib(mbctype.obj); second definition ignored
Creating library Debug/DA20.lib and object Debug/DA20.exp
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/DA20.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
DA20.exe - 17 error(s), 17 warning(s)
--------------------------------------------------------------
Any help would be greatly appreciated.
Thanks.
|
|
|
|
|
To use multithreaded runtimes, Go to Project settings->C/C++ tab and select Category combo to Code Generation and use runtime library to mutlithreaded
|
|
|
|
|
That works in debug mode, but does not in release. Also that seems like I'm changing my current project's settings to fit the library rather than the other way around.
Is there a way to change the library?
|
|
|
|
|
I'm trying to make a lamp control with a 'LampOn' property. If the LampOn property is true, the control shows an image of a green lamp. If it's false, the control shows a red lamp. The two lamps are resources and the image is displayed as the background image of the control. Nothing else is displayed in the control.
I use this code for the LampOn property:
property bool LampOn {<br />
bool get() {<br />
return (BackgroundImage == (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"on"))));<br />
}<br />
void set(bool val) {<br />
if (val) <br />
BackgroundImage = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"on")));<br />
else <br />
BackgroundImage = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"off")));<br />
}<br />
}
However, if I want to use the control in a windows form, the lamp won't be usable. The property appers but I can't switch it to true. I'm pretty sure this has to do with the get code in the property. Any ideas what I did wrong?
Here the whole project (VC 2005): Click
|
|
|
|
|
The .zip file appears to be corrupt (missing 10 bytes). Also, the correct url is this[^].
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
I fixed that, for some reason my host won't allow the zip file. I'm sorry that I had to use Rapidshare...
New Link[^]
Any ideas regarding my problem?
|
|
|
|
|
tdlrali wrote: BackgroundImage = (cli::safe_cast(resources->GetObject(L"off")));
Its better you post your Managed C++ based Question in its personel forum :-
CLI/C++[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|