I'd like to create a C++ .DLL that I can call from other environments (Powerbuilder namingly). I need to get the user's domain and network username (not the windows username if it happens to be different than the network authentications in the case of VPN's for instance. I've figured out a way to get what I want in VB with a reference to the Windows Host Model Scripting Object but I'm having a damned hard time using the ActiveX DLL in the traditional way windows DLL's are used (I know there's a way around it by writing a wrapper for the compiler but I haven't had time to do that).
Now, does anybody have a better way to accomplish this or can they show me an example of how to reference the windows scripting object from a C++ DLL. Thanks!
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes. I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.
Hints for the grid button. Nested classes, templated collections. Squash that darned bug!
Continuing from the sixth article about sudoku.
Open the project in visual studio.
First we will finish with the SUD_SETVALUE messa…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…