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 Mike Lewis 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. oscillogoat

    Linking a DOS pascal program with VC++ 1.52 program

    I am trying to use a vc++ 1.52 program to call a DOS pascal program. MSDN says you can do this and gives the folowing void __pascal maxparam(int __near * a, int __near * b); main() { int a=5; int b=7; maxparam(&a,&b); } and the pascal... MODULE Psub; BEGIN IF a> b then...
  2. oscillogoat

    Calling C1.52 library from DOS pascal 3.31

    Did Not have much luck with free pascal. My program does a lot of bitwise graphics. I wanted to explore using vc++ 1.52 as the parrant and breaking up my dos pascal into modules. I can compile the C++ code and the dos pascal module but I get an unresolved external maxparam error when I Link...
  3. oscillogoat

    Calling C1.52 library from DOS pascal 3.31

    Thanks All. I installed free pascal and have been converting the graphics today. I will start a new thread if I get stuck on the conversion.
  4. oscillogoat

    Calling C1.52 library from DOS pascal 3.31

    How are the graphics on freepascal and delphi? I use a lot of graphics primitives like setviewport, and setworld as well as graphics text.
  5. oscillogoat

    Calling C1.52 library from DOS pascal 3.31

    Is that true for windows 95 calls from DOS? Can I call DOS from windows 95?
  6. oscillogoat

    Calling C1.52 library from DOS pascal 3.31

    The Pascal 3.31 manual says you can do mixed language programming. I think the problem may be either calling C++ 1.52 (windows) from Pascal 3.31(DOS) or that my variable types are not matched. I am willing to use assembly if necessary but would rather avoid it. I was hopping someone had...
  7. oscillogoat

    Calling C1.52 library from DOS pascal 3.31

    I am trying to call the mmsystem library that comes from VC 1.52 from MS-DOS pascal 3.31. I am Using the waveInGetNumDevs to test with. function waveInGetNumDevs:NumDevs:word; extern; result:= waveInGetNumDevs; The source compiles and successfully links but sends control back to Windows and...

Part and Inventory Search

Back
Top