nu2vcpp

Hi, I am new to VC++. I have to create a dll using VC++ to call from VB application. And in this VC++ dll I have to use some functions of another dll. Please help me by providing procedure and syntax. thank you.


Re: Visual C++ General How to import and use regular dll functions in VC++ application(dll)

Sdi

MS already provided tons of documentation and samples; you should read some of it. You'll understand your code, because you wrote it. I recommend the DLLScreenCap sample in particular, because it addresses exporting non-decorated names for use by non-C++ callers. Also, you should post any Windows-API-specific follow-ups to the appropriate Windows development forum.



Re: Visual C++ General How to import and use regular dll functions in VC++ application(dll)

Simple Samples

Have you looked at the samples for VB I think there is a relevant sample. For learning about DLLs generally, look at Dynamic-Link Libraries.




Re: Visual C++ General How to import and use regular dll functions in VC++ application(dll)

nu2vcpp

thank you for the information. However, would you please provide the web link for this DLLScreenCap sample or tell me where I can get that. Thank you very much.




Re: Visual C++ General How to import and use regular dll functions in VC++ application(dll)

nu2vcpp

Thank you




Re: Visual C++ General How to import and use regular dll functions in VC++ application(dll)

Sdi

Did you type "dllscreencap sample" into the MSDN (not the forum) search box I get 19 hits, covering VS2005 and 2003.



Re: Visual C++ General How to import and use regular dll functions in VC++ application(dll)

nu2vcpp

Thank you very much. this is what I am looking for.