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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.