📄 frmmain.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmMain
Caption = "C to VB"
ClientHeight = 6465
ClientLeft = 60
ClientTop = 345
ClientWidth = 8415
Icon = "frmMain.frx":0000
LinkTopic = "Form1"
ScaleHeight = 6465
ScaleWidth = 8415
StartUpPosition = 3 'Windows Default
Begin MSComDlg.CommonDialog cdlg
Left = 3960
Top = 3000
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.Frame frOptions
Caption = "Options"
Height = 1455
Left = 7140
TabIndex = 9
Top = 2130
Width = 975
Begin VB.TextBox txtLibraryName
Height = 285
Left = 30
TabIndex = 13
Text = "libname"
Top = 1110
Width = 915
End
Begin VB.OptionButton optOptions
Caption = "Private"
Height = 225
Index = 1
Left = 120
TabIndex = 11
Top = 510
Width = 795
End
Begin VB.OptionButton optOptions
Caption = "Public"
Height = 225
Index = 0
Left = 120
TabIndex = 10
Top = 270
Value = -1 'True
Width = 795
End
Begin VB.Label lblLib
AutoSize = -1 'True
Caption = "DLL name"
Height = 195
Left = 90
TabIndex = 12
Top = 870
Width = 735
End
End
Begin VB.CommandButton cmdCopy
Caption = "Copy"
Height = 435
Left = 750
TabIndex = 16
Top = 1230
Width = 975
End
Begin VB.CommandButton cmdClear
Caption = "Clear"
Height = 435
Left = 5850
TabIndex = 15
Top = 2760
Width = 975
End
Begin VB.CommandButton cmdProcess
Caption = "Process"
Height = 435
Left = 7140
TabIndex = 14
Top = 1650
Width = 975
End
Begin VB.OptionButton optWhat
Caption = "User Input"
Height = 195
Index = 1
Left = 300
TabIndex = 7
Top = 1770
Value = -1 'True
Width = 1095
End
Begin VB.Frame frMain
Height = 4365
Left = 180
TabIndex = 8
Top = 1770
Width = 6945
Begin VB.PictureBox Lower
Height = 1785
Left = 3630
ScaleHeight = 1725
ScaleWidth = 3045
TabIndex = 21
Top = 390
Width = 3105
Begin VB.TextBox txtBas
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1185
Left = 0
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 22
Top = 0
Width = 3315
End
End
Begin VB.PictureBox Upper
Height = 1635
Left = 300
ScaleHeight = 1575
ScaleWidth = 3225
TabIndex = 19
Top = 360
Width = 3285
Begin VB.TextBox txtC
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1245
Left = 0
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 20
Top = 0
Width = 3255
End
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "VB Declaration"
Height = 195
Index = 1
Left = 2820
TabIndex = 18
Top = 4320
Width = 1065
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "C Declaration"
Height = 195
Index = 0
Left = 870
TabIndex = 17
Top = 4800
Width = 960
End
Begin VB.Label Sep
AutoSize = -1 'True
BackColor = &H80000003&
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Height = 50
Left = 210
MousePointer = 7 'Size N S
TabIndex = 23
Top = 2430
Width = 105
End
End
Begin VB.OptionButton optWhat
Caption = "File"
Height = 195
Index = 0
Left = 390
TabIndex = 0
Top = 60
Width = 585
End
Begin VB.Frame frFile
Enabled = 0 'False
Height = 915
Left = 270
TabIndex = 1
Top = 60
Width = 2925
Begin VB.CommandButton cmdSelectFiles
Caption = "Select"
Height = 585
Left = 2220
TabIndex = 6
Top = 270
Width = 645
End
Begin VB.TextBox txtBASfile
Height = 285
Left = 690
TabIndex = 5
Top = 570
Width = 1485
End
Begin VB.TextBox txtHFile
Height = 285
Left = 690
TabIndex = 3
Top = 270
Width = 1485
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = ".bas file:"
Height = 195
Index = 3
Left = 90
TabIndex = 4
Top = 600
Width = 585
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = ".h file:"
Height = 195
Index = 2
Left = 210
TabIndex = 2
Top = 300
Width = 420
End
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' C2VB Converts C style definitions to VB
' Copyright (C) 2000 Kimon Andreou (kimon@mindless.com)
'
' This program is free software; you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation; either version 2 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program; if not, write to the Free Software
' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Option Explicit
'Local variables
Private hFilename As String
Private basFilename As String
Private pcntSep As Double
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -