Quantcast
Channel: Visual COBOL
Browsing all 5819 articles
Browse latest View live

Forum Post: RE: Problem calling C program

As this was a AIX question I am assuming that the customer is using Visual COBOL for eclipse. Hence the need to use the unix type headers

View Article


Forum Post: RE: Problem calling C program

Understood but the statement is still true with regards the statement: I use cygwin on windows or mingw to give me access to the c header files and gcc.

View Article


Forum Post: RE: Problem calling C program

I'm using gcc on the AIX machine for C compilations - we don't have IBM's cc and given that we have the grand total of one C program, it's not very likely that we'll be getting it. The programs...

View Article

Forum Post: RE: Problem calling C program

Try changing: "Buffer says hello %s". to z"Buffer says hello %s".

View Article

Forum Post: Receiving Java custom record in procedural cobol

Hi, We want to share a Cobol Structure between our Cobol program and a new Java Program. The Cobol program will call the Java program. We have succeeded running simple examples exchanging simple data...

View Article


Forum Post: RE: Problem calling C program

I think you've missed the point. It runs perfectly as is, including correctly displaying the returned string from sprintf, and fails on calling helloworld.

View Article

Forum Post: RE: Problem calling C program

Going back to your original description, I suspect the problem is that you're trying to link (and then CALL) a C program with a main() function. Try renaming your main() function to something else...

View Article

Forum Post: RE: Problem calling C program

That looks like being the answer - the next problem is how to actually link the C program with the function "helloworld" into testc. I'm proceeding from a point of ignorance as the system I'm working...

View Article


Forum Post: RE: Problem calling C program

In case it's of any helpt o anyone else in the future, the answer, as Chuck says, is that the function "helloworld" should be named rather than having a function "main". I don't know whether my...

View Article


Forum Post: ASCII to UTF-8 conversion and displaying in a list box

I have found that national characters like ÄÖüß and so on do not show correctly in a UTF-8 coded managed application when read from an ASCII file created by a native app. Based on an answer I read...

View Article

Wiki Page: Location of Configuration Files for Visual COBOL for Eclipse

Question: Where are the runtime and debug configuration files stored or remote projects on Eclipse. Answer: The workspace stores the configuration files in  workspace...

View Article

Forum Post: DataGridView Sort Column

I need to sort a column of datagridview object using code after to fill it. Does anyone have any examples? Thank you

View Article

Wiki Page: Eclipse help when indexed using JRE7 produces lots of errors in...

Problem: There are a large number of errors in the error log after indexing of Eclipse help has completed. Not all of them are shown, as they are all basically the same error: !ENTRY...

View Article


Forum Post: RE: DataGridView Sort Column

Hi Altair, This can be done with the "Sort" method using code such as:-            invoke self::dataGridView1::Sort(dataGridView1::Columns["Nome"] , type...

View Article

Forum Post: RE: DataGridView Sort Column

Worked . Thank you very much.

View Article


Forum Post: rm/cobol to visual cobol: application windows/dialogs using rmputil

i have a program written in rm/cobol that i am trying to compile using visual cobol.  i am have set the proper dialect and its compiling successfully.  the problem i am facing is on the windowing...

View Article

Forum Post: Killing a thread

I have created a thread using the CBL_CREATE_THREAD routine. However, when I attempt to kill the thread using CBL_THREAD_KILL it does not kill the thread. The thread remains running. My thread is...

View Article


Forum Post: RE: Killing a thread

Unfortunately I think the answer is that you're not doing anything wrong.  This is caused by a bug in our compiler, though coincidentally it's a bug that I just fixed.  This will work correctly in the...

View Article

Forum Post: RE: Killing a thread

Thanks That worked to kill the thread. Is there a way to send a message to a thread so that it can exit itself rather then just killing it?

View Article

Forum Post: RE: Killing a thread

Most thread communication can be handled using one of the synchronization primitives like a mutex, event, semaphore, monitor, etc. You could also set a flag variable in the main thread in shared...

View Article
Browsing all 5819 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>