powered by simpleCommunicator - 2.0.41     © 2025 Programmizd 02
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Перевод из Visual Basic в Visual Foxpro
2 сообщений из 2, страница 1 из 1
Перевод из Visual Basic в Visual Foxpro
    #39291862
Nata0805
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Помогите, пожалуйста! Есть текст на Visual Basic, который надо перевести в Visual Foxpro:

Type MQPTR
MQByte(0 To 3) As Byte '4-byte pointer'
End Type

Type MQBYTE128
MQByte(0 To 127) As Byte '128-byte binary string'
End Type

Type MQBYTE24
MQByte(0 To 23) As Byte '24-byte binary string'
End Type

Type MQCNO
StrucId As String*4 'Structure identifier'
Version As Long 'Structure version number'
Options As Long 'Options that control the action of MQCONNX'
ClientConnOffset As Long 'Offset of MQCD structure for client connection'
ClientConnPtr As MQPTR 'Address of MQCD structure for client connection'
ConnTag As MQBYTE128 'Queue-manager connection tag'
SSLConfigPtr As MQPTR 'Address of MQSCO structure for client connection'
SSLConfigOffset As Long 'Offset of MQSCO structure for client connection'
ConnectionId As MQBYTE24 'Unique Connection Identifier'
SecurityParmsOffset As Long 'Offset of MQCSP structure'
SecurityParmsPtr As MQPTR 'Address of MQCSP structure'
End Type
...
Рейтинг: 0 / 0
Перевод из Visual Basic в Visual Foxpro
    #39292948
alextashk
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Nata0805,

VFP плохо работает с указателями.
Поэтому имеет смысл переработать всю задачу.
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Перевод из Visual Basic в Visual Foxpro
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]