Re: GetModuleHandle of Comdlg32.dll
- From: "Thorsten Albers" <albersRE@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Dec 2006 04:30:53 -0800
avakharia_ibsdev@xxxxxxxxx schrieb im Beitrag
<1166526361.792042.127820@xxxxxxxxxxxxxxxxxxxxxxxxxxx>...
I am new to this group.
I want to use "PrintDlgA" function of comdlg32.dll
Now i have win32 dll. so I cant use registered OCX which needs MFC
support.
Other is LoadLibrary this function surely gives me the handle but and
do well but not replaces my function with the Original Address. I dont
know why..
Only GetModuleHandle can gives me that functionality..
Now i have make one sample app. which is MFC and add activex control
than my exe depency includes Comdlg32.dll and gives me the pointer of
PrintDlgA
but my win32 dll which uses Loadlibrary function cant add comdlg32.dll
in my dependency viewer.
one thing I cant load comdlg32.dll using GetModuleHandle it returns
ErrorCode = 126 .means Dll not found..
It is very, very hard to understand what you want - if possible at all. But
one thing is sure: You can't code a Win32-DLL nor a MFC application in
Visual Basic! This leads to the assumption that you are talking about
coding in C/C++. This newsgroup is related to coding with Visual Basic and
the Windows API. So, if my assumption is right, please ask your question in
a newsgroup related to coding with C/C++.
--
----------------------------------------------------------------------
THORSTEN ALBERS Universität Freiburg
albers@
uni-freiburg.de
----------------------------------------------------------------------
.
- Follow-Ups:
- Re: GetModuleHandle of Comdlg32.dll
- From: avakharia_ibsdev@xxxxxxxxx
- Re: GetModuleHandle of Comdlg32.dll
- References:
- GetModuleHandle of Comdlg32.dll
- From: avakharia_ibsdev@xxxxxxxxx
- GetModuleHandle of Comdlg32.dll
- Prev by Date: GetModuleHandle of Comdlg32.dll
- Next by Date: Re: GetModuleHandle of Comdlg32.dll
- Previous by thread: GetModuleHandle of Comdlg32.dll
- Next by thread: Re: GetModuleHandle of Comdlg32.dll
- Index(es):
Relevant Pages
|