|
if(_istupper(yousaid.GetAt(current_pos)) is the correct, characterset and locale independent way to do it in VC++.
|
|
|
|
|
hi,
Please help, I am developing an activex control which is embodied in HTA file. This control has a menu bar from which I would like to invoke independent ASP page.
Does anyone know how can I load a ASP page from CDialog ?
(Choose Raports from menu and Archive from submenu --> load ASP page)
This is the last piece in my project and I am running out of time ;(
thank you,
Bartek
|
|
|
|
|
|
Thank You - that's what i was looking for
|
|
|
|
|
1. Whether there is any tool, for creation the toolbar or the bitmap to it with 256 colors or more.
The editor of resources Visual Studio creates only 16 colors.
2. How to set a transparent mask at loading the bitmap to the toolbar
|
|
|
|
|
check out this link, it does what you ask for, I'm not sure on how to designing 256 color in visual studio...
http://msdn.microsoft.com/msdnmag/issues/01/07/c/c0107.asp
hope this helps
cheers
Kannan
|
|
|
|
|
guyz!!
i have a main process in which i am loading a DLL using LoadLibrary().
there is one 'flag' defined in the main process that this DLL should toggle on being invoked.
now how do i make this variable common between the main process and the dll.
PLEASE HELP !!
|
|
|
|
|
safest thing to do is to create an exported frunction from the dll which reads/writes this variable
void SetFlag(DWORD dwFlag)
{
g_Flag = dwFlag;
}
DWORD GetFlag()
{
return g_Flag;
}
Export these two function and you should be ok.
Jeremy.
"Hey man, Taliban, Tali me Banana."
|
|
|
|
|
Here is what i want to do.....
I want to print a tree with selected nodes but not using CTreeCtrl..
Can any one tell how can i do this...
Thanks
|
|
|
|
|
HI
Can some tell me where can I find good source for MP3 Encoder & Decoder, whether its Commercial / free
Thanks
Sansky
|
|
|
|
|
Go to http://www.mpeg.org and click the bold "MP3" link at the top of the page. Scroll about 3/4 of the way down on the resulting page, and you should see links to several MP3 encoders and decoders.
--
Paul
"I drank... WHAT?"
|
|
|
|
|
Hey all,
Having been through RFC959, I'm wondering what is SMNT command(Structure mount) for? where is it useful and how do I use it? Is it used to mount a network share or drive?what are the semantics?
TIA.
I'm an alien, I'm an alien
it's a beautiful life....
Bush
|
|
|
|
|
hi thanks for reading my post
I'm just trying to make a hello world using VC++
#include <iostream.h>
void main()
{ cout << "test/n"; }
and after a while, I came up with that *points up*
so I was very happy and one day I went home and tried it on my borland C++ so I could impress everyone and I did the same thing and it said
[Linker Error] Unresolved external '__InitVCL' referenced from D:\BORLAND C++ 5 ENTERPRISE\LIB\CP32MTI.LIB|crtlvcl
[Linker Error] Unresolved external '__ExitVCL' referenced from D:\BORLAND C++ 5 ENTERPRISE\LIB\CP32MTI.LIB|crtlvcl
[Linker Error] Unresolved external 'WinMain' referenced from D:\BORLAND C++ 5 ENTERPRISE\LIB\C0W32.OBJ
and I don't understand what it's saying. can anyone help?
|
|
|
|
|
It looks like you are using Borland C++ Builder...
Then you need to tell it that it's a console application you are making, you should be able to do that somewhere in the project settings...
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
I did tell that to the builder
I went to "new" and then in the new projects, I chose "console wizard"
any ideas?
|
|
|
|
|
If I build an application with the settings Use MFC in a shared DLL, what versions of windows and what percentages of those installations could I expect to have the required DLL's to allow my application to work?
Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
"Don't belong. Never join. Think for yourself. Peace"
- Victor Stone
|
|
|
|
|
Any version of 32 bit Windows that has previously had a program installed which also shared the DLL and so installed it. It's not a version issue AFAIK, if you share the DLL, you'll need to distribute it.
Christian
As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.
Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
|
|
|
|
|
Yeah, I understand that I am meant to distribute it, but I'm lazy, it's not a large audience and it's internal. I just thought certain distibutions of Windows may have had the MFC DLL's by default and others may have got them via Service Packs. All PC's are running 2000/NT/98 and should have installed at least one program with the DLL's included so I will just take a chance.
It was curiosity that made me ask the question.
Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
"Don't belong. Never join. Think for yourself. Peace"
- Victor Stone
|
|
|
|
|
If it were me, given an internal situation, I'd provide a URL to the DLL, and ship without it. You'd have to hope most people have it.
Christian
As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.
Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
|
|
|
|
|
If it's internal, and you're that lazy, just compile your app(s) with statically linked MFC. It only adds 200k (given no COM or database code) and it's a lot safer than relying on some end-user moron being able to download/install the right version of the MFC DLLs.
|
|
|
|
|
I have a problem in displaying tips of the toolbars using MFC.
My software displays images continuously in a infinite loop.
I created 2 toolbars with style 'CBRS_TOOLTIPS' and added tips for each icons.
The images are fine but the tips disappear.
Tips come back when the infinite loop is disabled. However, I need the loop to display my images...........
Can anyone help me?
Walter Pak
|
|
|
|
|
The issue caused by your infinite loop not allowing GUI (or any?) messages to be processed by the message queue. This can be fixed by making your infinite loop run in a seperate thread to the rest of the application. Look here in Mike Dunn's C++ FAQ, while not covering your problem exactly it covers the generic requirement and has pointers to other articles that will explain what you need to do.
Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
"Don't belong. Never join. Think for yourself. Peace"
- Victor Stone
|
|
|
|
|
Hello !
How can I make a Lib file in VC++ and use it in Delphi ????
I want to statically link it to a Delphi aaplication ....
I used {$L test.Lib} in delphi, but I recived this error message ..... Bad file Format ????????
best regards !!!!
|
|
|
|
|
I'm not 100% sure but as Delphi is Pascal then I wouldn't have thought VC++ libs would be compatible.
Michel
|
|
|
|
|
Hello ! Michael P Butler
tanks.
|
|
|
|