Hello - I wrote an application to read mag stripe data from a card, parse it and display it's contents. Now I'm attempting to create a DLL out of that logic. I have trimmed down the program to eliminate all those modules, functions, subs etc., that won't be necessary in the DLL. What following is a brief synopsis of the code I currently have.
frmMain.frm
(contains KeyUp and KeyPress functions to process each character read. Also contains AfterCheck which is the response to an event indicating that the last character has been read. It is shown here:
Sub AfterCheck()
cmdDecode 'function in frmMain that parses all the inputted data
'and places it in the Global string IDData
Unload Me
End Sub
I have a .bas module called MainForm.bas which contains the DLL function name to be called by an outside program:
Global IDData As String
Dim ShowForm as New CShowForm
Public Function ID() As String
ShowForm.CShowForm
ID = IDData
End Function
Finally, I have the class module CShowForm.cls:
Public Function CShowForm()
frmMain.Show vbModal
End Function
That's basically to total amount of code. When I initiate the package and deployment wizard, I get the following error message:
In order to proceed, the wizard requires the executable file 'identifier.dll' for this project (THIS IS THE FILE I'M TRYING TO CREATE IN THE FIRST PLACE!). Click browse to find the file or compile to compile the project.
I select COMPILE and I get the following error:
Unexpected error number 800004005 has occurred. Automation error. Unspecified error.
Anyone have any ideas?
Thanks, George