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

creating a dll

Status
Not open for further replies.

bas

Programmer
Jan 13, 1999
41
US
I'd do a keyword search on "dll" but, that feature is currently disabled and I need an answer to this question.

We have written a VB 6.0 application as an .exe and have always used called ran executable.

Now we are interested in creating that same VB application as a dll. Is that possible to do? How? Is it easy/hard?

Thank you in advance.
 
You can only create COM dll's in VB, which is not hard.....
Greetings,
Rick
 
When you are creating a new project select 'ActiveX DLL' instead of 'Standard EXE'.

If you go to project properties, general tab you can select the project type from a drop down list. I have never attempted this but I would assume that it could be used to convert an exe to a dll. Although I think that some code changes would be inevitable.

Check Microsoft for more information on this and back up your exe project before you attempt a conversion. Thanks and Good Luck!

zemp
 
Can the VB COM dll be called from our standard ANSI C application.

I'm assuming it can, but I do not know how to do that?

Any ideas?
 
I'm not sure, your C app will have to be COM enabled for this. It's not straight dll calls anymore....
Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top