Hi, Using synchronization object, I can restrict the number of instances of my application to one. How can I achieve the same, when the system is on network?
Hungry Developer
Posts
-
Single instance of application -
help: how to integrate third party lib to my MFC Extension DLL.Hi, Copy Tool.lib to your current working directory and then try to run the application.
-
Doubt in DLLHi, Thaks for your solution. :)
-
Doubt in DLLHI, I got the point. Thanks for your reply. :)
-
Doubt in DLLHi, It is very clear now. Thanks for your reply. :)
-
Doubt in DLLHi, I created a MFC Regualr DLL using shared MFC. DLL contains 4 functions which are exported using __declspec(dllexport). Now in the client application i tried to make use of this DLL. two of exported functions are imported using __declspec(dllimport). They are working fine. Now i tried to make use of third function using LoadLibrary and GetProcAddress. This time i am getting NULL pointer instead of function pointer. Again i placed extern "C" while exporting the function and tried to make use of it.This time i am getting the function pointer and every thing is fine. Usage of extern "C" makes it work fine. Can any one explain me what actually happening here?:confused: Thanks in advance...:rose:
-
Need your helpHi, In normal DLL, to export a function we place extern "c" __declspec(dllexport) before the funtion prototype. Can any one tell me what this extern "c" indicates and what happens if we don't use extern "c" before __declspec while exporting and importing the function. Thanks in advance.
-
Doubt in ATLHi, I have an activeX control in my window. Now inside my activeX control, i want to get the window pointer. Can any one help me in getting the activeX container pointer:confused: Thanks in advance.