Re: DAO35 & AfxLoadLibrary
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Hi,
I have to load either ddao35.dll or ddao36.dll depending on my
application version,
that is the reason for dynamic loading..
Alex Blekhman wrote:
gopal wrote:
Can someone post a working example of loading a
DDAO35.dll and calling the method opendatabase.
I tried the follwoing but the program is crashing at
while calling openDatabase method
There are ready classes in MFC for DAO connectivity. You
don't need to load DLL explicitly. Look for CDaoWorkspace,
CDaoDatabase in MSDN.
Also, read
"Data Access Programming"
http://msdn.microsoft.com/library/en-us/vccore/html/_core_database_topics_.28.general.29.asp
HTH
Alex
.
Relevant Pages
- interview questions
... a)using same file in both calling module and called module. ... suppose while execuetion .the JCL can't find the load module in the ... BY ADDING DYNAM IN COMILER OPTION FOR CALLED MODULE AND USING ... BY ADDING DYNAM IN COMILER OPTION FOR CALLING MODULE AND USING ... (comp.lang.cobol) - Re: interview questions
... :>a)using same file in both calling module and called module. ... :>4) suppose while execuetion .the JCL can't find the load module in the ... :>C) BY ADDING DYNAM IN COMILER OPTION FOR CALLING MODULE AND USING ... READ OPERATION ON KSDS CAN ONLY GO FORWARD. ... (comp.lang.cobol) - Re: Where to put code - general programming question.
... Options are in the calling form's code in the menu_click sub or in the ... preload a list box from a data file. ... with from each 'handling' form (this can be a lot of work if you need to ... if the user has to load a DB before working ... (comp.lang.basic.visual.misc) - Re: When exactly a C# assembly gets loaded by managed C++
... but here it still tries to load the assembly even when I factor the code so that the calling into the assembly is in another method that never gets executed. ... Could you find any official documentation that clearly states the .NET assembly loading behavior from managed C++? ... I remember seeing code like this in a CLR Inside-Out article about performance, the scenario they used was for calling code in an exception handler that hardly ever runs (hence, don't want to load the dll most of the time). ... (microsoft.public.dotnet.general) - Re: What causes MS Office files to save as name.docx
... Expecting them to load the conversion tool is bad. ... Calling an illegal alien an "undocumented worker" is like calling a ... (microsoft.public.office.setup) |
|