is there any way to export dll functions only when a certain condition exists? here's the scenario: 1. program calls an exported dll function, passing a "code". 2. dll checks the value of the code, and if it is ok, other exported functions will become available, and if the code is incorrect those functions would remain unavailable. Any ideas would be appreciated.
ReplyOriginally posted by: albert drent
There is a similar Delphi implementation by James Mistry. It is based on the C program. However, in NT and XP the function simply doesn't work. Does anybody know if this is also the case with the C function?
Albert Drent
ReplyOriginally posted by: Nikhil Khedkar
Hi,
I have a MFC application. It loads a DLL and invokes a method in it. In this method few arguments are passed of type long, LPSTR, COM interface pointer. I can access these arguments in the method in which I have passed them. I store them in some DLL variables. But when I try to access them in some other DLL method, these variables are set to the default value i.e. to NULL. How do you save the state of the variables, is anything special is needed for COM interface pointer?
- Nikhil
Originally posted by: Erum Raza
I use to call function from my activex dll from VB application, i use createobject to create the dll object, the tASK MANAGER shows that application increase in memory size, thats obivious but when i use set object=nothing then why that memory isn't returned to window system, it is showing same memory and some times 2-3 bytes less.
Plz help me friends.
Originally posted by: anjali
Can anybody please tell me what is the problem or where I am going wrong ?
anjali
Hello,
I have one regular dll which exports few functions. I have loaded the dll in my VC application and trying to call the functions. GetProcAddress returns me some valid address. But when I give call to that function, it fails.
There may be a problem with the calling convention. Make sure you are calling the function the same way you declared it.
ReplyOriginally posted by: bing yang
Dear sir:
When i run c++ dll, i got error message below. Is there anyone can help me?
Thanks
bing yang
Debug error:
Moudle
File: i386\chkesp.c
The value of ESP was not saved across a function call .This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
The message shown by Windows is quite clear and correct. This is happening because the way the function was defined is not the same as the way you are calling for example WINAPI is missing or the return type is incorrect or something of that sort.
ReplyOriginally posted by: Joey Bate
I am trying to download this game for Windows 2000. Its saying that i dont have thedinput8.dll file or the dsound.dll file and its keep on doing that when i download them. Is there something i can buy to fix this promblem?�?
sincerly
Joey Bate
Originally posted by: bing yang
Thanks
I want to add a button in oracle form to call c++ dll. But i have no experience and idea about it. Is anyone know it please repley?
bing
Originally posted by: thenext_1
The problem is as simple as water.
I have a dll (precisely ZLIB.DLL)
How I can call its exports (which I know) and pass them parameters?
Do I have to mess around with getprocaddress....?
Is there a visualbasic-like way to declare a dll function and call it?
thanks
Reply
Originally posted by: Eric.Wu
Normally,use a function name for get the address of a export-function in DLL Library.
But,If you don't know the name of the function,can you get it's address by IT'S Ordinal Number???SOS??!