Re: GetModuleHandle of Comdlg32.dll

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
----------------------------------------------------------------------

.



Relevant Pages

  • GetModuleHandle of Comdlg32.dll
    ... I want to use "PrintDlgA" function of comdlg32.dll ... Now i have win32 dll. ... so I cant use registered OCX which needs MFC ... Only GetModuleHandle can gives me that functionality.. ...
    (microsoft.public.vb.winapi)
  • use CommDlg32 by GetModulehandle
    ... I want to use "PrintDlgA" function of comdlg32.dll ... Now i have win32 dll. ... so I cant use registered OCX which needs MFC ... Only GetModuleHandle can gives me that functionality.. ...
    (microsoft.public.win32.programmer.networks)
  • GetModuleHandle of Comdlg32.dll
    ... I want to use "PrintDlgA" function of comdlg32.dll ... Now i have win32 dll. ... so I cant use registered OCX which needs MFC ... Only GetModuleHandle can gives me that functionality.. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: how to send data/message from win32 dll to mfc application?
    ... I have to send data from a Win32 DLL to mfc application. ... In mfc application I have a document which should recieve this data. ... I read somewhere about PostMessage() method. ... MFC's command routing mechanism. ...
    (microsoft.public.vc.mfc)
  • MFC C++ problem
    ... Hi, Im a typical C programmer, with a little knowledge of C++ and MFC. ... main dialog, and I cant, I just cant. ... wizard) of the CHexterminalDlg created by the MFC dialog wizard. ... I know that CHexterminalDlg is just the name of the class, ...
    (microsoft.public.vc.mfc)