|
I think that's the output for a particular file you're building. For .cpp/.c etc I don't think you have a lot of choice. For the exe/dll etc, I think it's whatever you specify in the output for the linker settings.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
For MANY of the project files:
Go to Project Menu, Settings Menu Item, Project Settings General Tab, change OUTPUT FILES destination folder.
If you just want EXE to go somewhere else:
Go to Project Menu, Settings Menu Item, Project Settings Link Tab, Category General, change path for OUTPUT FILE NAME.
|
|
|
|
|
I want to display a menu when ever a button is to be clicked .Please help me
Thx
Learner always
|
|
|
|
|
|
Thank You very much ravi
Learner always
|
|
|
|
|
Hello All,
I have a requirement in vc++ wherein i have to connect to sql server on a remote
machine(having static IP address), how do i connect to the machine in vc++6.0 and start doing
transactions?
We have 'SqlConnection' class in .NET , so anything similar to that in vc++ ???
please send the code if possible.
Thanks,
Prax
|
|
|
|
|
struct GroupConstant
{
CString** grpConst;
};
GroupConstant** m_pGrpConst;
m_pGrpConst = new GroupConstant*[200];
for(BYTE i=0 ; i<200 ; i++)
m_pGrpConst[i] = new GroupConstant[50];
CString** pstr = new CString*[4];
for(BYTE i=0 ; i<4 ; i++)
pstr[i] = new CString[2];
GroupConstant** ppTemp = m_pGrpConst;
GroupConstant* pTemp = (*m_pGrpConst);
for(i=0 ; i<200 ; i++)
{
for(BYTE j=0 ; j<50 ; j++)
{
(*m_pGrpConst)->grpConst = pstr;
(*m_pGrpConst)++;
}
(*m_pGrpConst) = pTemp;
}
m_pGrpConst = ppTemp;
I have two double pointers. one is a content of the structure and other is pointer to the structure.
I initiate these double pointers as you see in the code. but now I have a problem with deleting these pointes.
how can I delete the double pointer included with structure and double pointer points to structur.
Thank you in advance.
|
|
|
|
|
Example with the m_pGrpConst pointer:
First delete all the pointers inside the structure:
for (int i=0;i<200;i++)
delete[] m_pGrpConst[i];
Then delete the pointers that point to these desallocated pointers:
delete[] m_pGrpConst;
|
|
|
|
|
|
Add a member function to your structure that deletes the memory allocated for the structure. But first you need to know the size of the array, so when you create your structure, maybe add also a member function that will allocate the memory for you (and store the size), so you'll be able to delete ot later.
I think also that you need maybe to revise a part of your code because this is quite heavy and this won't be very easy to debug... In general using pointers to pointers to structure that contains pointers to pointers to string, when you can avoid this, avoid it .
The general rule for deleting memory is: every new must have is own delete. When allocating arrays of arrays of arrays ...(doesn't matter how many dimensions), the last allocated array must be desallocated first.
Hope this helps
|
|
|
|
|
I want put a image on static control and a TEXT over it which canbe dynamically changed.Image should appear as if in the background of text.Can any body help me.
Thx
Learner always
|
|
|
|
|
Look in the controls section of CP - there are static controls that do exactly this.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
Please tell me what CP is.
Learner always
|
|
|
|
|
CP is wisdom, grasshopper.
Have a look here[^]. A few of the controls will do what you wish, however I've used the CLabel control in the past and have had no problems so far.
I Dream of Absolute Zero
|
|
|
|
|
Does anybody know how to choose a particular screensaver and disable the combo box in the control panel to prevent the user from choosing another one ?
MS
|
|
|
|
|
If you're asking how to do this programmatically in VC++, I'm not sure. However there is a setting inside Group Polcy (gpedit.msc) that would accomplish the same thing. Hope this helps.
Regards,
John
|
|
|
|
|
hi,
Iam using a barcode reader which reads barcodes into any open windows
text,excel files.
the thing is, iam catching this barcode text into an edit box.
but i have found there is no way to tell wether the edit box is filled
by barcode reader or user typed into it.
the barcode reader has no driver and just reads and displays text
inside an open document/editbox.
by debugging, i have seen the reader generates WM_KEYDOwn messages
which is same as when a keyboard is physically pressed.
can any one tell me how to tell if a user has actually pressed the keyboard
instead of a virtual message generation.
Rgds,
Mahesh
|
|
|
|
|
Look at MW_KEYDOWN, WM_CHAR, and WM_KEYUP - read then *all* carefully and that should give you what you need.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
ACtually spart from the Pretranslate message, where in i check for the
WM_KEYDOWN message for filtering, im not getting any keydown evenet
either in OnKeyDown,Onchar functions.. this is strange and am
trying to figure out whats the issue !
Rgds,
Mahesh
|
|
|
|
|
Hello
My doubt is regarding printer UI page that appears when we select print from an application. Can we replace the default printer page that appears when we select Print from an aplication program such as MS_Word with our own custom print dialog page ? If it is possible, which function in GDI, i have to redirect to ?
Thanks in advance
|
|
|
|
|
I added a C# webservice in C++ but how do you use it in C++?
My brain is 2 small for all the knowledge that I need.
|
|
|
|
|
How do you quote or post code?
[code]text[/code]
[quote]text[/quote]
text
got it!
|
|
|
|
|
Use the
pre and code
items on the Formatting bar below the message compositin area.
Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
|
|
|
|
|
I would like to know how to code using vc++ to find the current processes and applications .
|
|
|
|
|