|
Hi, i need make a link between Visual C++ and Prolog, i need make a game
so i hope that some can i help me.
thanks..
|
|
|
|
|
Well I'm doing some mysql connections for a database project I'm working on. The documentation says it requires VC++ 7.1 The version I'm running appears to be a 7.0.2. Now I've only been back in the Visual C++ world for about... 2 weeks. Is the Studio 2005 supose to be 7.1?
Thanks for any info.
--
David Coley
http://www.codecipher.com
|
|
|
|
|
Visual Studio .Net 2003 has VC++ 7.1
Steve
|
|
|
|
|
Wonder why I'm only running 7.0.2... I thought I had downloaded the updates properly... msdn should have them eh?
--
David Coley
http://www.codecipher.com
|
|
|
|
|
I just relooked at the version and it is "Microsoft Development Environment 7.1.3088" ("MS Visual Studio .NET Professional 2003 - English") and the "Microsoft .NET Framework 1.1" version is 1.1.4322 SP1
Steve
|
|
|
|
|
Thanks.
I just realized the issue myself:
Visual Studio 2002 .NET is 7.0.93
Visual Studio 2003 .NET is 7.1.xx
Visual Studio 2005 .NET is 8.0beta
Hope that helps people in the future.
--
David Coley
http://www.codecipher.com
|
|
|
|
|
Visual Studio 2005 have the version number of 8.0.
http://blog.joycode.com/jiangsheng
http://blog.csdn.net/jiangsheng
Command what is yours
Conquer what is not
---Kane
|
|
|
|
|
I'll add that Microsoft have been working like beavers to get thier C++ implimentation standards compliant. That's probably the reason for the version problem, although I thought the big jump was from 6.0 to 7.0.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
How do I trap the mouse click on a window created by the function capCreateCaptureWindow from vfw.h package?
thank for your help
LC
|
|
|
|
|
I want to detect which key was pressed. How do i check for f1,f2,...,f12 ,
print screen , num lock ,capslock, alt+255,ctrl+alt+del,any combination of alt / ctrl or shift as well. Please help me on it ?
|
|
|
|
|
|
Check this out and see if this helps
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_cwnd.3a3a.onkeyup.asp
|
|
|
|
|
From vc++ wizard, you can create OnKeyDown function.
|
|
|
|
|
i want to write a translator from English to a vernicular language. Any ideas as to how should go about going it?
my translator should be integrated with another application software, eg MS Word.
|
|
|
|
|
This[^] would be a good place to start. If you want to make use of an existing translation service from within your app, see my Google translator example in this[^] article.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Hello all,
I quick question .. I have been programming Windows Apps for some time, but heretofore have not had to display and allow selection (with the mouse) of simple graphics in a CView derived class.
It is standard for Windows Apps to allow the user to select a graphic (a line, a rectangle, ... ) with a left button click, and when so clicked, to display selection rectangles around the graphic. On a line, these selection rectangles (small filled rectangles) are typically on the end points.
I surmise that either MFC or the Windows API has already coded this functionality, but for the life of me, even tracing throuhg MSDN supplied sample code (such as drawcli), I can not determine how the system is alerted that this shape should display selection rectangles.
Can anyone enlighten me?
TIA
|
|
|
|
|
|
Hello,
Why is it that anytime I right-click on a local variable inside a function and select “go to definition”, it always replies “The symbol ____ is not defined.”? How can I get .net to allow me to browse local symbols? (It finds the global symbols just fine.)
thanks,
JennyP
|
|
|
|
|
Is there a way to add new rows to a MS FlexGrid in VC++ 6.0? If there is, then it will be a great help if someone can let me know how to do it.
log live the dEvIL
|
|
|
|
|
void CFlexGridDlg::OnNew()
{
COleVariant vIndex;
vIndex.lVal = 1;
m_ctlFlexGrid.AddItem( "Hallo", vIndex);
}
|
|
|
|
|
Thanx for the prompt reply. This way of doing it helps in adding rows, but with just a single column. I need to add multiple columned rows to the grid, which I am fetching from an Access database. How to do that? Please help.
log live the dEvIL
|
|
|
|
|
To add multiple strings (for multiple columns in the row), use the tab character (char x = 9) to separate each string.
m_ctlFlexGrid.AddItem( "Hallo1\tHello2\tHello3...", vIndex);
|
|
|
|
|
Only one problem left!
Unable to add to fixed rows error. I need to have one row and a column fixed. How to?
long live the dEvIL
|
|
|
|
|
In OnInitDialog() put in :
m_FlexGrid1.SetCols(NUM_COLS);
m_FlexGrid1.SetRows(NUM_ROWS); // open Grid with two empty rows
// need to add new rows (error)
// select number of fixed rows and colons
m_FlexGrid1.SetFixedRows(1);
m_FlexGrid1.SetFixedCols(1);
// example to fill out 1 fixed rows:
m_FlexGrid1.SetRowHeight(0, m_FlexGrid1.GetRowHeight(0) * 2);
m_FlexGrid1.SetTextArray(0, "");
m_FlexGrid1.SetTextArray(1, "Heading Text One");
m_FlexGrid1.SetTextArray(2, "Heading Text Two");
m_FlexGrid1.SetTextArray(3, "Heading Text Three");
// function to add new row
long r = m_FlexGrid1.GetRows()-1;
m_FlexGrid1.AddItem(str, COleVariant(r));
// you have one empty row. delete this empty row after added new row
m_FlexGrid1.RemoveItem(1);
|
|
|
|
|
A CDialog Object is a member of my application class and is displayed via Dlg.DoModal.
I want to handle the event that the dialog is closed. I tried the functions OnClose (wasn't called) ,OnDestroy (wasn't called because the object isn't destroyed).
Now my solution is :
OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized)
{
CDialog::OnActivate(nState, pWndOther, bMinimized);
if ( nState == WA_INACTIVE && pWndOther)
{
// Dialog is closed
}
}
Is it correct or does anyone know a better solution like the opposite of InitDialog which is called everytime the dialog is displayed via DoModal?
|
|
|
|