Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tonyc1

    Windows console screen problem

    I'm using a windows console screen to display information from my Cobol prog which is ok until another window is opened and closed on top of it and then it leaves a black patch where the window was. This is cleared when I next update the Cobol info screen but looks bad between times. Any ideas...
  2. tonyc1

    API Constant value too large in COBOL call

    Thanks again Marcel for your help. Unfortunately I do not know C and I'm re-writing a legacy COBOL program and adding API calls to it. I seem to have something working now but i will also try the methods you describe to see what it does. Thanks again
  3. tonyc1

    API Constant value too large in COBOL call

    I seem to have the value working ok now thanks Marcel but still not sure about combining values. A value of 11 for desired access seems to work but why i don't know Thanks
  4. tonyc1

    API Constant value too large in COBOL call

    To move slightly away from the original question how do i combine 2 values in a COBOL API call? EG I'm calling createfile and want to specify desiredaccess as GENERIC_READ (&H80000000)and GENERIC_WRITE (&H40000000). I think you can use both values in C++ and VB (not sure how in VB either!)
  5. tonyc1

    API Constant value too large in COBOL call

    Thanks I will try that and let you know how it goes
  6. tonyc1

    API Constant value too large in COBOL call

    ooops it was my fault I only put six zeroes in my first post sorry to mislead you but any ideas?
  7. tonyc1

    API Constant value too large in COBOL call

    Thanks for the prompt reply Gianni but I think there is still a problem, unless I am missing something basic about Hex values in API. Using the API text viewer to look at the WinAPI32 text file FILE_FLAG_OVERLAPPED is value &H40000000 - seven zeroes not six thus using the windows calculator...
  8. tonyc1

    API Constant value too large in COBOL call

    I'm using COBOL 97 to call windows API function CreateFile to create a handle to an existing windows pipe. I want to use the FILE_FLAG_OVERLAPPED constant value in the dwFlagsandAttributes parameter. But..... The value of FILE_FLAG_OVERLAPPED is &H4000000, in decimal its 1073741824. If I use VB...
  9. tonyc1

    Printing in bold using fujitsu Cobol

    Please help! I'm trying to print with bold with the PRINTER assigned and without using forms or format. I've set up the Printing mode and character type with FONT-001 and defined that in the font table with style=B.
  10. tonyc1

    cobol routines

    Further to my thread about calling windows pipes, anyone know if I can adapt a cobol routine (as supplied by fujitsu) to read a pipe as a file?
  11. tonyc1

    Program compiles, but won't link.

    no problem,I think this one catches out everyone when they start.
  12. tonyc1

    Program compiles, but won't link.

    Are you compiling with the program set as "MAIN"
  13. tonyc1

    ICL DTS and COBOL - using COM

    Anyone know about ICL DTS software? I am trying to access DTS using COM in COBOL Also is it possible to make a dll (not made in cobol) into a lib file that can be linked in Cobol?
  14. tonyc1

    How to access windows pipes in cobol

    Thanks again for all your help. I will look at all the info you have mentioned. Once again thank you and I'm very grateful Tony
  15. tonyc1

    How to access windows pipes in cobol

    Thank you for replying. I've made some progress. It seems that when trying to call "CallNamedPipe" (from Kernel32.lib) I didn't have the right amount of parameters and it would not let me link the program. Now if anyone knows what I should be putting in for the parameters of...
  16. tonyc1

    How to access windows pipes in cobol

    Can anyone please tell me how to access a named windows pipe using cobol 97? I think i need to use API but don't really understand how. I have examples from fujitsu of API and I think I need to link kernel32.lib in somehow but the rest is a mystery! Thanks

Part and Inventory Search

Back
Top