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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compile as dll

Status
Not open for further replies.

KingLouie

Programmer
Apr 12, 2002
11
CH
I want to call a dll created in C++ in VBasic. Unfortunatly some functions are named "Open" and "Close" and i can't declare them in VBasic because those words are used as syntaxes in VB. I changed the name of the functions in C++ but i could not compile it as dll just as exe (i got the sourcecode but i am really new in c++)
 
If the code was originally compiled using Microsoft Visual C++ then there should be a project or workspace files for it. These files end with .dsp for Project and .dsw and or mdp for Workspace.

There are other files that comprise the whole project you really should get these as well (.mak, .dep, .ncb, .opt) although not all of them may exist. But once you have these files you will be able to build the DLL again.

Or you'll have to create an empty DLL project and add your source file and compile.

HTH
William
Software Engineer
ICQ No. 56047340
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top