Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
How can my COBOL program running, on a mainframe platform, connect and access an Oracle database running on different Unix platform?
Oracle have a product for embedding SQL calls in COBOL; it's the Pro*COBOL pre-compiler. Find out more.
The snag is, the Pro*COBOL program must reside on the Oracle server. So, given your architecture, you need to make remote calls. It's been a long time since I used COBOL (literally more than two decades) but the thing I remember the most was that functionality varied strongly across different flavours.
If you are using a flavour based on the COBOL-85 compiler (or later) which has the EXTERNAL extension then you're in luck, because you can write your own remote calls. Here's a CICS example. Otherwise you might need to buy something. ETS sell a product called Cobol-RPC: find out more (no warranty is implied or intended).
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I wrote a program in the C language. Now I want to make the system documentation for that program. And, I would like to state the minimum system requirements that are needed to run my my program.
How do I find out what they are?
Things you can do:
Try running your app on the oldest machines you can find.
Remove a couple memory sticks from your computer
Do you have a define _WIN32_WINNT in your application? If not, the windows SDK you use will define the minimum OS requirement.
You can also try compiling with -D_WIN32_WINNT=xx for an older version to see how far back you can go, based on the Windows API calls you use. windows.h is pretty good at hiding APIs for versions newer than the one you specify with _WIN32_WINNT. Then keep that setting to compile your app to create test and release binaries.
Here's the MS doc on versioning with _WIN32_WINNT: https://msdn.microsoft.com/library/windows/desktop/aa383745
Silly me! I forgot to add that you MUST test on the oldest version you specify in your specs + the one most used by your target users.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i have created a server client application using TCP in C in linux environment,and it is working very well.
I wish to improve the application by including a cryptographic algorithm into it so that the server just gets to know about who has logged in and out of the server but not about the information shared between the clients.
Any suggestions for algorithm that i should employ in my project to achieve the desired result.
I am currently looking into MD5 algorithm.
As far as I understand you want to encrypt/decrypt messages between users. If so MD5 won't do it as it is just a hash function.
https://en.wikipedia.org/wiki/MD5
Probably the best algorithm to do so would be AES:
https://en.wikipedia.org/wiki/Advanced_Encryption_Standard
There are many implementation (including in C) on the web so you can literally copy-paste the code (mind the license ;) ).
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
i develop a BPM software and I would like to add end user scripting logic.
I try to express myself with an example.
in a Process there are 2 variables (Price, ApplyDiscount, DicountAmount, Total).
somehow the user wants to define this logic:
//Delphi code for explanation:
if ApplyDiscount then
Total := Price * DiscountAmount
else
Total := Price;
since my app is a SQL Server Client server app i thought also about the idea to run a query with parameters so the user uses SQL syntax to script the logic and it will work.
I need to define the details but somehow the idea is to use the :Parameter syntax to allow the script pass and recieve values from my application.
This is for sure ok, but i was wondering if there is another way to do it without writing my scripting engine.
Thanks.
Some scripting engines for Delphi:
DelphiWebScript which is my preferred: it has the best syntax, is probably the faster, and is Open Source;
PascalScript;
TMS Scripter Studio.
If you want "non pascalish" scripting, you can take a look at Lua which is pretty simple to work with.
Edit:
Some additional candidates:
SEPI;
ScriptEngineII;
BESEN which is a JavaScript engine written in Delphi, including JIT!
SpiderMonkey for Delphi also executing JavaScript.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How would i licence my c command line program, e.g limited functionality without a serial number?
Depends what licensing means ...
Write the license text into the source code resp. show the license text when installing or starting the program.
If you want prevent users from copying the program, things get complicated, you might need some hardware dongle.
Or just make it GPL and give the source code away ...
Include a EULA (End User License Agreement) in your program which users will have to accept while installing/using your application. You can get lots of sample EULAs in Internet. Replace the Names appropriately. But remember, you are gonna do things at your own risk. Read the EULA well, modify it to suit your needs.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
This is mostly a theoritical question, but I'm wondering what the proper way would be to accomplish the following.
Assume I have a few utilities, functions, and reference implementations that I use when building a web site for a client. Some of "my" reference code is re-used as-is, some is slightly modified. Also, as part of the agreement with the client, I agree to turn over all code and IP rights.
(I know the best answer is probably "talk to a lawyer" but really, how many lawyers are going to be versed in software licencing? I imagine I'd get better, more accurate here than picking a lawyer out of the phone book).
What sort of copyright notification and/or licencing should I include in the code I turn over to the client, if I want to be able to re-use "my" code on other projects?
Check out NOLO's "Legal Guide to Web & Software Development." It covers various contracts, license agreements, and IP ownership agreements related to software development. I have used the sample contracts as a template for a few of my agreements which are later reviewed by my attorney.
At the very least this book can help you understand what the terms, like transfer of IP ownership, really mean for you the developer.
If you turn over the "IP rights", doesn't that imply you are transferring ownership of the code? Which would mean that you can't re-use it without their permission or license, since you no longer own it?
You might want to look into revising your agreements with your clients, so that you can retain ownership and rights to your own work...