Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
O

orcun colak

@orcun colak
About
Posts
58
Topics
42
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • system language
    O orcun colak

    how do i get operating system's language? Orcun Colak

    C# question

  • DDE Server
    O orcun colak

    Is there a way of enumerating DDE Servers on a computer? I would like to see which programs accept DDE messages on my local computer? Orcun Colak

    C / C++ / MFC sysadmin question

  • Windows 2000 and 2003 editions
    O orcun colak

    I would like to distinguish the editions of windows 2000 in my network. So far I could not find a way of doing this. It seems there is no function to get the edition of a host in win32 api. NetServerGetinfo in only returning major and minor versions of the remote computer. How can I get the suite,edition (e.g. win 200 professional, win 200 server etc.) Orcun Colak

    C / C++ / MFC sysadmin json question

  • Member of domain
    O orcun colak

    I would like to determine if a computer is a member of domain or not. I tried GetPDC but it seem to be returning the workgroup's name. Enumerating network is also useless, since it is returning other standalone machine's names. Any ideas about how to do this? Orcun Colak

    C / C++ / MFC sysadmin tutorial question

  • network share
    O orcun colak

    I have a remote Win 2K computer on my network which is sharing two folders and these folders are writable to me because I can create files within them. However, when I call NetShareGetInfo ("Path",502,etc. etc.) I get "Access Denied" error because according to documentation I have to be member of admin group on the remote computer. My question is how can I understand if a share is writable or not ? I tried to use GetFileSecurity API but I failed because it is too complicated for me. I could not understand how to use it. Which API I should be using and how ? Can somebody help me with this please. Thanks, Orcun Colak

    C / C++ / MFC question help sysadmin json tutorial

  • Amount of RAM on a remote machine
    O orcun colak

    Hello, Is it possible to get the amount of RAM on a machine in the network using an API, registery etc. ? Thanks, Orcun Colak

    C / C++ / MFC sysadmin json question

  • Keep console from disappearing
    O orcun colak

    I would like to popup a new dos prompt and execute tracert command when the user clicks a button. I am using WinExec for this. e.g. ::WinExec ("tracert X.X.X.X", SHOW_NORMAL); However, after tracert executes the console window disappears. How can I keep the console window from disappearing ? Thank you Orcun Colak

    C / C++ / MFC question

  • Hide tree item
    O orcun colak

    I mean something like this: Assume there are 3 items in the tree Item1 Item2 Item3 I would like to hide item2 and have a tree like this Item1 Item3 Then sometime later I would like to bring the tree to its initial state. I was wondering if is this possible or do I have to delete the items and then insert them back to simulate a hide/show item effect. Thanks Orcun Colak

    C / C++ / MFC data-structures question

  • Hide tree item
    O orcun colak

    Is it possible to hide and show a tree item ? When I mean to hide, I do not mean to collapse a branch and make an item invisible. I could not find a solution so far.:confused: Orcun Colak

    C / C++ / MFC data-structures question

  • Free the loaded dll
    O orcun colak

    I have an MFC Extension DLL and I load it into memory using LoadLibrary function. Then I call a method of this dll, which creates a modeless dialog. My problem is I would like to free this dll when the user closes the dialog. But I am not sure how to do this. Do I have to unload a dll from the main program or can I unlod the dll from within the dll itself. If I have to unload it from the main program how can I notify the main program. Thank you Orcun Colak

    C / C++ / MFC c++ performance help tutorial question

  • Help with XSL
    O orcun colak

    I have a xml file which has at the top but the file contains all printable ascii characters except one line.(This line is optional) I am converting this file into html using xsl. My xsl files top line is like this However, when this non-printable ascii character exists xslt conversion does not work. When it is absent it works. I searched google but no luck. How can I solve this? Orcun Colak

    XML / XSL xml question html help

  • Is TreeContol Thread Safe?
    O orcun colak

    I have two threads that need to insert new items to the same tree control on win nt. If the windows tree control thread safe or should I synchronize the insert operation ? Actually it would be easier to ask it like this. Is ::InsertItem api that is used to insert new items thread safe ? Does windows synchronize the operation ? Thanks, Orcun Colak

    C / C++ / MFC data-structures json question

  • SHAutoComplete Edit
    O orcun colak

    I have an edit control which has autocomplete feature. I could activate it by calling SHAutoComplete function. Now I would like to add an url to the history if it doesn't exist in the url history. How can I do this ? Orcun Colak

    C / C++ / MFC question

  • Middle button clicked
    O orcun colak

    I have a dialog that owns a tree control. I want to catch a middle button down message in the dialog class. How can I do this ? I can catch the message in the tree control but I don't want this. Does anyone have an idea what can I do about this problem.:confused: Thanks Orcun Colak

    C / C++ / MFC question data-structures help

  • NetRemoteTOD
    O orcun colak

    I am wondering if NetRemoteTOD API needs authentication. I can get the time from a server that is on my domain. I tried it and it works but can I also get the time of a machine which is not on my domain ? MSD says that no special privilege is required for this API but it does not say anything about authentication. Any help is appreciated. Thanks Orcun Colak

    C / C++ / MFC sysadmin security json help question

  • MFC Extension DLL
    O orcun colak

    I have a MFC Extension Dll which contains a class that takes in a CTreeCtrl pointer. The class searches a string in the tree. From my main program when a call this class in debug mode it works ok but in release mode it crashes. I am using win 2k and visual studio 6.0. The message box that pops up at crash says reference memory which was null (or something like it I could not remember the exact message) When I move this class to the main executable's project it again works fine. Do I need to declare some macros in an extension dll before accessing and mfc object or can I pass around pointers freely between dlls as long as I am in the same thread ? Any help is appreciated. Orcun Colak

    C / C++ / MFC csharp c++ visual-studio data-structures debugging

  • netbios names
    O orcun colak

    I would like to enumerate the netbios names of a machine. nbtstat -A IPAddress command can do this very easily. It displays all the netbios names. I searched msdn and codeproject but I could not find an example. How can I do this ? Is there an api or do I need to craft a UDP packet by myself and send to port 137 of the target machine ? Thanks Orcun Colak

    C / C++ / MFC question json tutorial

  • timeout recv on udp socket
    O orcun colak

    When I create a udp socket and then bind to port 0 and set receive timeout to 5 seconds and then call recv it the recv does not wait 5 secs but returns immediately. When I check the error code with WSAGetLastError the error code is WSAECONNRESET. Why is the connections reset ? I am using UDP and I am not connected . What I am doing wrong ? Here are the steps again 1) Create a UDP 2) Bind to 0 3) Send something to a destination address 4) setsockopt SO_RCVTIMEO to 5 secs. 5) try to recv something within 5 secs. But here it returns WSAECONNRESET !!! What is wrong ? Orcun Colak

    C / C++ / MFC question help

  • timeout recv on tcp socket
    O orcun colak

    I have a TCP socket. After connecing to the server I would like to recv data but recv is blocking. I would like to timeout after 5 seconds if server does not respond. How can I timeout the recv call.:( Thanks

    C / C++ / MFC sysadmin question

  • System Local and Percentage Symbol
    O orcun colak

    Actually I found this link in msdn http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vjref98/html/java.text.NumberFormat001.asp Scroll to getPercentInstance() method. Explanation of the method is : "Returns a percentage format for the current default locale." Therefore I assumed Number % format is not universal. Thanks for your help Orcun Colak

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups