Sanjay Jobanputra wrote: > Hi i am new to C++ DLL creation had done C and C++ at olden days but > today i am not able to cope up for the same > > I want to browse directory and select the file like opondialog in C++ > but thru DLL > > I have donwload the sample codes from some site which is what similar to > i want but it creats a EXE which i cannot use in my software > > I have upload the code in Files section the file name is Opendialog.rar > > Can someoby help me in doing the same > > Thanks in Advance > > Sanjay
Change the target to DLL instead of EXE. You have to make sure the functions you want to export are specified properly in a text file that gets passed to the linker OR are labeled properly with the correct declaration as compile-time. I prefer the former since compilers seem to enjoy name-mangling functions that get declared for export - the text file approach allows you to map the name to whatever name you want in the export, which could be entirely different from the internal name. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
