Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

I Need NVIEWLIB.DLL

Posted on 1999-06-24
5
Medium Priority
?
279 Views
Last Modified: 2010-04-16
Hi !
Can U please email me NVIEWLIB.DLL my email id is :
sun307@hotmail.com
0
Comment
Question by:sun307
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
WxW earned 80 total points
ID: 1198433
sure , done .
0
 
LVL 2

Author Comment

by:sun307
ID: 1198434
Thanx WxW !
I got ur mail and copied it into my winnt/system/ directory
Can u tell me which function is to be imported and How ?
I never exported one before.
Regards..
Sun307
0
 
LVL 6

Expert Comment

by:WxW
ID: 1198435
I thought I 'd sent you the code . What a mind of me heh !
anyway :

This dll exports NViewLibLoad() . The following function accepts a file name
and returns a HBITMAP

HBITMAP _stdcall NViewLibLoad(char* FileName,BOOL ShowProgress = false)
{
typedef HBITMAP _stdcall (*NVIEW)(char*,BOOL);
NVIEW nV;

HINSTANCE hI = LoadLibrary("NVIEWLIB.DLL");
if (!hI)
  return 0;

nV = (NVIEW)GetProcAddress(hI,"NViewLibLoad");
if (!nV)
  {
  FreeLibrary(hI);
  return 0;
  }

HBITMAP L = nV(FileName,ShowProgress);
FreeLibrary(hI);
return L;
}


0
 
LVL 6

Expert Comment

by:WxW
ID: 1198436
You can use this function to get the job done .
0
 
LVL 2

Author Comment

by:sun307
ID: 1198437
hi WxW !
Thanx for the above code. Hope i will do with that.
Regards :-
Sun307
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question