|
Anehl wrote: ...I need to use the api subversion...
Which is what? Please explain what this term is.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
SubVersion is a very good "new-ish" version control system.
it offers an API to let 3rd party application access the system.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Maximilien wrote: SubVersion is a very good "new-ish" version control system.
Thanks. Without the proper capitalization, it looked like any other noun.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
In the first one, excuse my english.
It seems to me that an API is an interface allowing to (re)use the code, so instead of reprogramming completely we can use this API to make the link between two codes.
|
|
|
|
|
David know what an API is. The question was regarding to the 'subversion' word.
Ok now concerning your problem, you say that you are unable to make it work. Ok, but could you be more specific ? It is really vague so it's really difficult to help you. Give as much detail (usefull details I mean ) as possible
-- modified at 10:03 Wednesday 19th October, 2005
|
|
|
|
|
Cedric Moonen wrote: David know what an API is.
...scrambles to put dictionary away...
Thanks, Cedric!
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
I make a gui which connects to sourcesafe or subversion database, and give directories/projects tree from the root of the repository, to allow then to select the wanted projects.
So, with subversion I manage to make nothing, I don't succeed in to compile the api, nor to use it
|
|
|
|
|
Subversion...??
What's this?
Please post your message in detail
so that one can understand the real situation
Try to put the code were there is a problem .
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Perhaps you meant this reply for Anehl.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Subversion is a free/open-source version control system. That is, Subversion manages files and directories
over time. A tree of files is placed into a central repository. The repository is much like an ordinary
file server, except that it remembers every change ever made to your files and directories. This allows
you to recover older versions of your data, or examine the history of how your data changed.
|
|
|
|
|
Hello,
You might want to take a look at this[^]. It is an open source GUI application which does the thing you want to do. Maybe you can join the team or develop your own hybrid.
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Anehl wrote: but I don't succeed in using the api
Read the Subversion book, there is information on using its API. There is also further information in the Subversion SVN FAQ.
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.developer.usingapi[^]
If you’re interested in just getting the projects listed in the repository I wonder if it wouldn’t just be easier to connect to the root repository and see what it returns.
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
Hi,
I want to create a wizard that as usual in a wizard shows the data from previous pages
in the last page as a kind of summary. And that is not working!
My program is a dialog-based MFC application, so I have a CMyDialog class (main class).
On this main dialog you can make a choice and then push the OK-button. Then the wizard appears.
Its definition is in the OnButtonOK()-function and is as follows (and easy):
<br />
CPropertySheet PropSheet;<br />
<br />
CMyPropPage1 page1;<br />
CMyPropPage2 page2;<br />
CMyPropPage3 page3;<br />
PropSheet.SetWizardMode();<br />
PropSheet.AddPage(&page1);<br />
PropSheet.AddPage(&page2);<br />
PropSheet.AddPage(&page3);<br />
<br />
I CAN store all the data from the pages 1 & 2 into the member variables from my CMyDialog-class, but I can NOT show the data from pages 1 & 2 on page3 of my wizard !!!
How do I do that ???
Please help me, I have already tried so much, but none worked!
Thank you in advance !!!
|
|
|
|
|
Have you tried this?
CMyPropertyPage *page1=(CMyPropertyPage*)((CPropertySheet *)(GetParent())->GetPage(1));
Do remember to call UpdateData(), while handling OnNext of page.
|
|
|
|
|
You'll need to derive a class from CPropertySheet , and store the information in it. Then in each page, just call GetParent() to access the information.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
hi david,
actually i am also facing the same problem. please proivide me a solution if you have. pls help me out for this solution.
thanks,
uday.
uday kiran
|
|
|
|
|
kiran janaswamy wrote: please proivide me a solution if you have.
What's wrong with this?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
PSM_QUERYSIBLINGS[^]
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
hi,
I want to generate random numbers in c++ (using vc++ 6.0) on hit of enter. I am using _kbhit(), but don't know how to reset it, so that I can use it again, can anybody help me with this.
code is say like following.
#include <iostream>
#include <conio.h>
#include <windows.h>
using namespace::std;
int main(int argc, char* argv[])
{
for(int i=0; i<10; i++)
{
cout << "hit enter to generate random number" << endl;
int ran1 = func1();
cout << "hit enter to generate random number" << endl;
int ran2 = func2();
}
return 0;
}
int func1()
{
int ret;
while(!_kbhit())
{
ret = rand()%10;
Sleep(1000);
}
return ret;
}
int func2()
{
int ret;
while(!_kbhit())
{
ret = rand()%20;
Sleep(1000);
}
return ret;
}
There is another problem with I/O exception handling:
i tried to read an int correctly using following code. but in case of exception it is caught but cin doesn't execute inspite of clearing it:
int main(int argc, char* argv[])
{
int i;
bool check = false;
cin.exceptions(ios_base::failbit);
while(!check)
{
try{
cout << "enter a number: ";
cin >> i;
check = true;
}catch(ios_base::failure){
cin.clear();
}
}
return 0;
}
Thanks,
vikas
|
|
|
|
|
To reset kbhit() you must read the character.
if( kbhit() ) getch();
We used to have to do key debouncing like so:
while( kbhit() ) getch();
INTP
Every thing is relative...
|
|
|
|
|
Are there any API's or macros that allow us to add a new device or uninstall it through our program... in MFC? if not.. then how does the ADD/Remove harware wizard in control panel work? Thks
|
|
|
|
|
Hey wsup y`all? am currently working on a university project invovling the design of a fully automated lathe machine. the hardware part and machine design is easy and done....now the only problem is designing the software to control the machine using the parallel port. the program,should have a simulation of the movement of the machine tip controled by stepper motors.any person good with 3d programming can help me a lot.halla back if your interested in the challenge of designing the software..
|
|
|
|
|
I have worked on hardware interface projects
but will like to know details of ur project
first , then only i can help.
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Dear MFCExperts,
I have a dialog bar with icon moving on it. I use OnContextMenu Message to invoke a Menu for adding the icons. Now I want the delete some of icons.These icons are stored in a array. When I press key 'D', I want one of these icons to get deleted. I tried the OnChar message. But effect is not happening. The following the body of OnChar
Any suggestions Please,
void CTBMap::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
{
// TODO: Add your message handler code here and/or call default
switch(nChar)
{
case VK_DELETE:
m_pMarkers->m_ItemIndex--;
InvalidateRect(NULL,TRUE);
break;
default:
break;
}
CDialogBar::OnChar(nChar, nRepCnt, nFlags);
}
Thanks in advance
-- Manohar
Research Student.
IISc, Bangalore. India
http://ssl.serc.iisc.ernet.in/~manohar/
|
|
|
|
|
I get the following compile warning:-
c:\TestProg\SigData.h(3625): warning C4146: unary minus operator applied to unsigned type, result still unsigned.
I am assigning the value -2147483648 to an int field in a structure.
Thanks.
|
|
|
|