help

  • Thread starter Thread starter Sheryll via DotNetMonster.com
  • Start date Start date
S

Sheryll via DotNetMonster.com

hi everyone...can someone give me an idea on how can i use the class on an
exe file cozim currently working on a dll file..thanks.
 
im currently working on a .dll and i wanted to use some of the class in my .
exe....
 
all you have to do is in solution explorer, right click on references, then
click on add reference. go to the projects tab, browse, and double click on
your dll. then to use it, in your code, use a declaration statement

Dim myclass as new MyDLLClassName

like i made a printing dll named "Printing DLL"

so the statement looked like

DIm print as New Printing DLL.PrintText

i hope this works for you
 
is this the same with visual c++(mfc) coz i have noticed that i posted my
question at the wrong forum....
 
sorry, i dont kno, im still a n00b at vc++...still taking a course in school,
im only in HS, but i would assume you declare it like any other class

PrintingClass * print = new Printing DLL::PrintingClass;

that might work, but thats aircode....try it and it might work, i havent
made a C++ dll so i havent had a chance to play around with it, sry i couldnt
b more help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top