|
yes you are correct, however that would require that I rezip the files each time I wish to share them, and local copies would not be password protected.
I am looking into TortoiseSVN[^] as a mod project that some people I know have been working on also uses it, and it comes recommended, and it will also help with version tracking, however this still does not allow the ability to password protect a local copy of the files.
Looking forward to your replies!
|
|
|
|
|
Mmh, i never read that there exists a special module to password-protect a hole project.
Normally in a company nobody steal the code of another, because each person works on different
parts of the project.
And a version-control-system works in this way, that each programmer can download the hole commited project. If a .cpp is password-protected, the other programmers could not download the hole project and could never compile the project, that's not so cool if you wish to test your own work, if you can't debug.
And if someone needs really your code, there are so many possibilities to steal your code.
|
|
|
|
|
why do you want to protect the source files ?
anyway, as those are text files, you can't directly.
but you can store them on a place which access is restricted to certain users...
|
|
|
|
|
I have committed myself to a project (finally) and i suppose I am a bit paranoid about the whole thing. I don't want this thing to crash and burn like anything in the past, be it my fault or that of someone else.
I think I know all I needed to though - it is not possible to stick a password directly on a .cpp file. Thanks for the info guys!
|
|
|
|
|
Sauce! wrote: think I know all I needed to though - it is not possible to stick a password directly on a .cpp file. Thanks for the info guys!
if you can copy and paste your code in the Word File, then it can be one as it come with feature of password protecting your file!
"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
Support CRY- Child Relief and You
|
|
|
|
|
Sauce! wrote: I will be sharing code with some other programmers and I would like to minimise the risk of a leak
If you do not trust them, don't work for them.
|
|
|
|
|
the idea of the passwording was not to prevent a leak from the developers, that would just be silly because they can still get around the system simply by distributing the password.
The idea was that in case a hacker managed to gain access to our systems, then they would not be able to gain access to the files.
|
|
|
|
|
Please tell me how to capture the desktop of network PC.... Please give me the code,,,, im using VC++.net..... ASAP
|
|
|
|
|
hassan85 wrote: Please tell me how to capture the desktop of network PC.... Please give me the code,,,, im using VC++.net..... ASAP
hmm I don't know where to start there's so many things wrong with this line...
ASAP? Is that a joke? I'm pretty sure none of us work for you.
What have you tried? What isn't working?
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Sorry 4 that...
Actually i want to capture the snapshot of network PC`s desktop.. and dispaly i n ma software consecutively.. So how to do that ?? I am using VC++.net platform. i know how to capture the snapshot of local desktop but the problem is of newtwork desktop
|
|
|
|
|
Generally, sockets would be used for the networking, especially over the internet.
One end would act as a "server", listening for incoming socket connections, while the other end
connects as a "client". Once a connection is established, you can send the snapshot data.
I suppose you'd need to decide how many frames-per-second to send and depending on bandwidth,
maybe compress the data as well.
Have you ever used PCAnywhere? It's a good example of a working remote desktop. I've never used
the one that comes with Windows but I've heard it works well.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
just a off topic.. you have been nominated for MVP this quarter .. hoping to see you there
|
|
|
|
|
I heard! That's awesome! Thanks so much for the nomination (to the person or persons
responsible)!
It was definitely a surprise - I just write alot of code and try to answer alot of questions
Are you still an MVP?
Cheers!
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Hello all,
I am a newbie. I want to know how can I return a structure variable from a function to the calling function.
I have a structure named httpsData which contains following fields:
typedef struct
{
char httpServerName[25];
char httpReqHeaders[255];
char httpVerb[5];
char httpRetHeaders[255];
char httpRetMessage[2048];
}httpsData;
I want to return a variable of type httpsdata. Can I use httpsData as function return type ?
Thanks for your prompt answer.
Nikhs
Nikhil Trivedi
|
|
|
|
|
Nikhil Trivedi wrote: Can I use httpsData as function return type
Sure you can use.
struct httpsData _MyFunction(Param1,...)
will do, but this is returing the struct as value type
Do your Duty and Don't expect the Result
|
|
|
|
|
Nikhil Trivedi wrote: I want to return a variable of type httpsdata. Can I use httpsData as function return type ?
Pass httpsdata as a reference... this helps you to return an execution status value too, which won't be possible if you are returning a structure.
int GetHTTPSData( httpsdata& httpsData_o )
{
httpsData_o = anotherHttpsData;
return 0;
}
|
|
|
|
|
Nibu babu thomas wrote: Pass httpsdata as a reference... this helps you return a execution status value too, which won't be possible
After execution of the function, Can I access the elements which are modified during the function execution. If so how ?
Thanks for your reply.
Nikhs
Nikhil Trivedi
|
|
|
|
|
Like this,
struct __dummy {
int i;
int j;
}Dummy;
bool LoadValues(struct Dummy& src)
{
src.i = 1;
src.j = 2;
return true/false;
}
void SumFns(..)
{
struct Dummy MyDummyValue = {0};
if (LoadValues(MyDummyValue))
{
int a = MyDummyValue.i;
int b = MyDummyValue.j;
}
else
}
Do your Duty and Don't expect the Result
|
|
|
|
|
Thanks to both of you, friends. This really helped me a lot.
Thanks again
Nikhs
Nikhil Trivedi
|
|
|
|
|
Hello dear friend,
I am successful in calling the function with passing values as reference but when I access the values in calling application which is out side of the c++ environement, I am getting those as NULL.
Can you tell me the reason.
Nikhs
Nikhil Trivedi
|
|
|
|
|
the short answer: yes
the long answer:
have u tried it ? The process of learning coding requires a lot of trial and error. You should have tried it to see if it works before asking such question.
|
|
|
|
|
Is this the same problem as your question from yesterday[^] ?
If yes, from where do you want to use this dll ? If it is not from a C++ program, then you'll need to pay extra consideration about converting the strings. For example if you use it in VB, the conversion is not trivial (as far as I remember).
|
|
|
|
|
Cedric Moonen wrote: Is this the same problem as your question from yesterday[^] ?
Yes. It is the same problem. I want to modify my DLL and i would be using this DLL out of the C++ environment. This environment is also built up in C++. So I think It should work. I am trying to do so. Hope it would work.
Thanks for your concern.
Nikhs
Nikhil Trivedi
|
|
|
|
|
how to add a Vertical Scrollbar to an existing multi-document application.
Shanky
|
|
|
|
|
Hi.
Is it possible to combine openGL and GUI interface in one window? If it is possible, how do I go about doing it in SDI? But if it is not possible, is there any idea that I could use to create an application which is as follows: For the GUI part, I want to have three picture control to display three graph, say, on the right hand side of the window. And for the openGL part, I want to display a 3D model (on the left hand side of the window) using the data from the three graph.
Any idea is really appreciated. Thank you.
|
|
|
|