Calling VC DLL in VB Apps |
Post Reply |
Author | |
manoj
Newbie Joined: 26 October 2004 Location: India Status: Offline Points: 31 |
Post Options
Thanks(0)
Posted: 24 May 2005 at 2:42am |
Hi
I am using a VC DLL in VB application and my DLL function is void __stdcall ShowMainDialog( HWND hwnd,LPCTSTR lpStr_Title, LPCTSTR lpStr_ExePath LPCTSTR lpStr_ID, LPCTSTR lpStr_URL1, LPCTSTR lpStr_URL2, LPCTSTR lpStr_URL3, LPCTSTR lpStr_URL4, LPCTSTR lpStr_URL5, LPCTSTR lpStr_URL6, int nDLG_ID)) { //some code here } this dll is working perfectly in VC application but in VB application i am recving wrong arguments and order of parameters are not sequentially e.g. hwnd recvd a junk long value lpStr_URL1 is recving lpStr_ExePath please tell me how can i solve this problem Manoj Jangid |
|
anand_study
Newbie Joined: 07 July 2005 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
|
In CodeProject.com site, have a look at article Creating and consuming MFC DLLs for Beginners By Imran Ebrahim. In that article, have a look below in question answers "DLL guaranteed to work in VB" That might help you. |
|
Anand
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |