Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bad DLL Calling Convention ISSUE - PLEASE HELP!

Status
Not open for further replies.

robbaggio

Programmer
Jun 11, 2002
31
0
0
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top