Skip to content

System Admin

General discussions on System Administration and support. Are you your company's IT expert?

This category can be followed from the open social web via the handle system-admin@forum.codeproject.com

3.7k Topics 12.3k Posts
  • Thread in DLL

    tutorial performance question
    2
    0 Votes
    2 Posts
    2 Views
    J
    Hello Zbynek, First of all, I assume your DLL has some shared data (using a technique like the one described in How to share a data segment in a DLL, for instance) --otherwise, your question makes little sense. That said, maybe the following technique will work: Have a shared global variable (with proper CRITICAL_SECTION-controlled access) that keeps track of how many processes are currently attached to the DLL. When this count is one (i.e., upon launching of the first process) make your entry point launch a special process (with CreateProcess) that in turn loads the DLL and creates the service thread (or does the required job at its primary thread). This "service" process can then quit when all other "normal" processes abandon the DLL. Make the service process a non-GUI one and the scheme will go unnoticed. I hope I made myself clear enough. Let me know it this did help. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
  • Kind of data in USER memory

    performance help learning
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Win2000/XP Job Kernel object

    tutorial sysadmin windows-admin performance career
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Compiling Unix compatible code with VC ?

    c++ design question
    3
    0 Votes
    3 Posts
    5 Views
    Y
    In fact I need not include support to either system. All I do with this PCL decoder is to read the file and ouptput the result to another file - a bitmap for example. These are just file ios, that's the reason why I thought there was a little possibility. The dream as gone but anyway thank for the answer. Yarp
  • Windows' program porting to Macintosh?

    question
    4
    0 Votes
    4 Posts
    3 Views
    L
    I have this kind of problem some time ago (in other platforms), agree, and take it further: First of all, create (or buy) a common framework for the two platforms. And code using only this framework. We used call it "get rid of OS soon" in the project.
  • Unable to log in W2000 ...

    help security question announcement
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • NT lockup using UDP

    debugging question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Uploading a file from MAC to Win2K

    c++ sysadmin tutorial question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Upload a file from MAC to Win2k

    c++ sysadmin tutorial question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • .Net not compatible to Studio6?

    csharp debugging tutorial question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Quickview Under Win2K?

    question
    2
    0 Votes
    2 Posts
    4 Views
    M
    I'd say write a shell extension that launches a viewer program. That way, you stay integrated with Explorer and can reuse that code that displays your files. Check out PicaView which takes this approach to viewing graphics files. --Mike-- http://home.inreach.com/mdunn/ You are the weakest link, GOODBYE!
  • How to know about OS

    java tutorial
    2
    0 Votes
    2 Posts
    6 Views
    M
    Use java.lang.System.getProperties()
  • Custom login dialog

    sysadmin
    2
    0 Votes
    2 Posts
    5 Views
    L
    Sorry, I have screened previous threads and found that 「GINA」 is the keyword. Viewed MSDN, searched with that keyword and I could even get sample codes. Thanks Jim and those who might have took a look at this topic ;)
  • Omitting the word "New"

    question
    2
    0 Votes
    2 Posts
    4 Views
    L
    You have to text edit your .RC file and search for "New Text Document.txt" and then just remove new. -Matt Newman :suss:
  • Undocumented Win2000/XP message 0x128

    com graphics help question
    2
    0 Votes
    2 Posts
    3 Views
    P
    The answer: This message 0x128 is WM_UPDATEUISTATE, which is documented in the MSDN library. I would have found this if I had inspected WINUSER.H from a recent version of the Platform SDK. Thanks to Usenet correspondents for this information. -- Phil
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • IP changes in Windows 2000

    com sysadmin question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Japanese Win98

    help question
    5
    0 Votes
    5 Posts
    3 Views
    L
    sorry, bur where can i get this font "ms shell dlg" please write me thanks
  • How can i get / set IP, DNS, gateway ?

    question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Unable to access a MSDOS computer from Win2000 Pro

    sysadmin help question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied