Hi, the program i am writing is a GUI front end for another program, and i am using the DLL to make the function calls i need from the GUI.
The only 'problem' i am having is that whenever i run the program from within the Visual Basic Editor (F5), it gives me 'BAD DLL CALLING CONVENTION' whenever one of the dll functions is called.
I can get around this if i build the exe file and then run the exe file, but this is a hassle that i would like to prevent if possible.
So my question is...is there some setting i need to change to allow the program to run correctly in the Visual basic editor....or is there something else i am missing?
Has anyone else seen something like this before?
Any help would be greatly appreciated!
Thanks
robbaggio
The only 'problem' i am having is that whenever i run the program from within the Visual Basic Editor (F5), it gives me 'BAD DLL CALLING CONVENTION' whenever one of the dll functions is called.
I can get around this if i build the exe file and then run the exe file, but this is a hassle that i would like to prevent if possible.
So my question is...is there some setting i need to change to allow the program to run correctly in the Visual basic editor....or is there something else i am missing?
Has anyone else seen something like this before?
Any help would be greatly appreciated!
Thanks
robbaggio