PRB: ??????? MBF ??? IEEE ?? Visual Basic ?? Windows

?????? ????????? ?????? ?????????
???? ???????: 140520 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

???????

????? ???????? ???? ?? ??????? ?? ?????? Microsoft Basic ?????? (????? ?????? ? Basic GW ? Basica (IBM ? Compaq ???? Basic)) ?? ?? ???? ?????? ?????? Visual Basic ?? Windows.

?????

??? IEEE ???? ??? ??? ???????? ???? ???? ???? ? Microsoft ??????? ????? ???? ????? ????? ???????? ?? Microsoft ????? ????? (MBF). ?? ????? ?????? ???????? IEEE ? ???? ??????? ????????.

?????? ?????? ??????? Microsoft QuickBASIC Basic GW ????? MBF ???. ?? Microsoft ????? Professional ????? ?????? (PDS) ? Visual Basic ?? MS-DOS ? ????? ????? ??????? ??? MBF ? IEEE ???????. ????? ??? Microsoft ?????? ???? ????? ?? ????? IEEE, ??? ????? ?? ???? ?????? ??? ????? ????? MBF.

?????? Visual Basic for Windows ????? IEEE. ????? MBF ??? ???? ??? ?????? ?? ????? IEEE ? ???????? ???????? ?? ??? ??????? ?? ???? ???? ???????.

????

PDS ? Visual Basic ??????? MS-DOS ????? ????? ????? ????? MBF ??? ????? IEEE. ?? ????? ??? ??????? ?? Visual Basic ?? Windows. ???? ??? ????? ?????? ???????? ??? ??? dilemma:
  1. ???? ????? ?????? ?? PDS ?? Visual Basic ?? MS-DOS re-creates ??? ????? ??? ?????? MBF. ??? ????? ??????? ????? PDS ?? Visual Basic ?? MS-DOS, ????? ??????? ??????? $ MKxMBF (???? ?? ????? PDS ?? Visual Basic MS-DOS ?? ????????? ?????? ??? ???????) ?????? ???????? ??? ????? IEEE. ????? ??? ??????? ??????? ??????:
    • ??? ????? ???????? ??? IEEE ???? ???? ?????? ??? ??????? ?????? ???????.
    • ?? ???? ??????? ??????? ??????? ?????? ???????? DLL ?????? ??? ????? ?? ??????? ????? ??.
  2. ??????? ???? ???? ??? ????? ?????? ???????? ?? Visual Basic ?? Windows. ???? ???? ???? DLL ?????? ?????? ????. ????? ??? DLL (MBF2IEEE.DLL) ??? ????? ?????? ????? MKS ? ??????? CVS ? CVD ???? ???? ?????? ?? ??? ?????? ????? ????? ??? MS-DOS. ??? ??????? (MKS ???????, CVS ? CVD) ??? ?????? ?? Visual Basic ?? Windows? ???????? ?????? DLL ???. ????? "??????? ??????" ????? ???? ?????? ??? DLL ????? ????? ??????? ?? "???? ??????? ?? Microsoft".

?????

????? ??? ?????? ??? ???????.

??????? ????

?????? ??? ????? ??????: ??????? Mbf2ieee.dll

??????: ??? ??????? ???? ?????? ??????? ????? ????? Microsoft "(MBF) ??? IEEE ???? ??? ????. ????? ??? ?????? ???????? ?????? ????? ??? MS-DOS ??????? ??? ??????? ???? ???? ???? ?????. ??? ???? ??????? ???? ???? ?? ???? ??? ??? IEEE ?????? ??? ??????? ??? MBF. ??? ????? ??????? ????? ??? ??? ?????? ???????? ???????? MBF ???????.

???? ??? ??????? ??????? ??? IEEE ???? ??? ???? ? ????? ????? Microsoft "(MBF) ???? ??? ?????. ????? ?????? ?? ??????? ?? ?????? ???? ??? ??????? ?? ?????? ?????? Visual ???? ?????? ??? ???????:
   Public Declare Function Cvs Lib "MBF2IEEE.DLL" (X As String) As Single
   Public Declare Function Cvd Lib "MBF2IEEE.DLL" (X As String) As Double
   Public Declare Function Mks Lib "MBF2IEEE.DLL" (X As Single) As String
   Public Declare Function Mkd Lib "MBF2IEEE.DLL" (X As Double) As String
				

???? ????? ?? ??? ??? ?? ??? ??????? ?? ????.

CVS ? ????? CVD

???? ??? ??????? 4 ???? (CVS) ?? 8 ???? (CVD) ????? ??????. ????????? ????? ?? ??? ??????? ?????? ??? ???? ?? ????? ???? MBF ??? ???????. ????? ????? IEEE ????.
   Dim MBF As String, IEEE As Single
   ' load the string from a file, etc.
   IEEE = CVS(MBF)
				

MKS ? ????? ???????

??? ??????? ???? ??? ????? IEEE (MKS) ?? ????? (???????) ???? ????? ??????. ??? ????? ??? ?????? ??? ???? MBF 4 ???? ?? 8 ???? ? ????? ?? ?????.
   Dim MBF AS String, IEEE As Single
   MBF = MKS(IEEE)
   ' Now write the MBF value out to disk
				

????? ??????

???? ?????????? ??? ????? IEEE MBF. ????? ????? ????? ?? ??? ????? ????? ???????. ?? ?????? ????? ??? ?? ???? ????? ??? ??????? ?????. ??? ???? ??? ?? ?????? ??? ????? Visual Basic ????? (??? # 6). ??? ??? ???? ?????, ??? ?????? ????? ????? ????.

????? ?????? ??? Mbf2ieee.dll

????? ????? ?????? ??????? ?? "???? ??????? ?? Microsoft":
Mbf2ieee.exe
?????? ??? ??????? ?????? ??? ????? ????? ????? ??? Microsoft "? ???? ??? ??? ??????? ?????? ?????? ??" ????? ??????? ?? Microsoft:
119591????? ?????? ??? ????? ??? Microsoft ?? ??????? ??? ????????
???? Microsoft ???? ??? ????? ????? ?? ?????????. ??????? Microsoft ???? ?? ?????? ??? ??????? ??????? ??? ??????? ???? ?? ??? ?????. ??? ????? ????? ??? ?????? ????? ?????? ???? ????? ??? ??? ????? ??? ??????? ??? ???? ??? ??? ?????. ??? ????? Mbf2ieee.exe ??????? ?????? ??? Mbf2ieee.dll ?? ??????? ?????? ? ??? Mbf2ieee.txt ??? ????? ?????? ???? ????? ??? ???? ?? ??? ???????.

??? ???? ????? ?? Mbf2ieee.exe

???????? ??? .dll ???? ????????? ???????? ?????? ??? ????? ????? ? ???? ????? ????? ??????? ?? ????? ????? ??? ??? ???? Microsoft C. ??? ????? ????? ????? ??? .DLL ????, ??? ???? ??????? C Microsoft ??? ????????? ???? C Microsoft ????? ??? ????? C Microsoft ????? ??? ?????? ???????. ?? ????? ??? ????????? ???????? ?????? ?? Borland C.

??? ????? ????? ?? C Microsoft ? ?????? ???????? ??? ??????? ??????? ?????? DLL:
    cl -ALw -Ow -W2 -Zp -Tp mbf2ieee.c
    link /nod c:\vb\cdk\vbapi.lib mbf2ieee, mbf2ieee.dll, NUL, sdllcew
       oldnames libw, mbf2ieee
    rc -t mbf2ieee.dll
    implib mbf2ieee.lib mbf2ieee.def
				

???????

???? ???????: 140520 - ????? ??? ??????: 02/???? ??????/1435 - ??????: 2.2
????? ???
  • Microsoft Visual Basic 4.0 Professional Edition
  • Microsoft Visual Basic 4.0 16-bit Enterprise Edition
????? ??????: 
kbnosurvey kbarchive kbmt kbdownload kb16bitonly kbfile kbprb kbsample KB140520 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????140520

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com