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
S

Soren Alsbjerg Horup

@Soren Alsbjerg Horup
About
Posts
9
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Add/Change wireless settings through C#
    S Soren Alsbjerg Horup

    Hello. I'm looking for information on to add / change wireless settings like SSID, Passphrase, and decrypt keys through C# .NET... is this possible? The reason i'm asking is because i'm developing an simple application which can change specific network parameters like IP, DNS, etc. and i need to be able to add / change wireless connections too.

    C# csharp sysadmin question

  • Make windows go standby?
    S Soren Alsbjerg Horup

    Hi. How do I force Windows to go standby using the .net framework in C# ? also How do I force Windows to shutdown ? thanks :)

    .NET (Core and Framework) csharp question dotnet

  • WinSOCK bind function.
    S Soren Alsbjerg Horup

    Well, thats not an option, since I'm using it on a LAN.

    C / C++ / MFC question sysadmin tutorial

  • WinSOCK bind function.
    S Soren Alsbjerg Horup

    I'm trying to create a server which accepts client connections. .... Address.sin_family = AF_INET; Address.sin_port = htons(1212); Address.sin_addr.s_addr = htonl(INADDR_ANY); IntReturn = bind(Listen, (struct sockaddr *) &Address, sizeof(Address)); IntReturn = listen(Listen, 10); IntReturn = sizeof(RemoteAddress); Client[Computer].ClientSocket=accept(Listen, (struct sockaddr *) &RemoteAddress, &IntReturn); ... Clients from any! ip can connect to my server on port 1212.. My server should not accept connections from any ip, so how do I get my server to only accept connections from example 10.0.0.105 ? I thought about changing this line Address.sin_addr.s_addr = htonl(INADDR_ANY); to Address.sin_addr.s_addr = inet_addr("10.0.0.105"); but this does not work, am I doing something wrong? Thanks

    C / C++ / MFC question sysadmin tutorial

  • Prevent ALT F4
    S Soren Alsbjerg Horup

    Hi, is there anyway to prevent the ALT F4? so my window can't be shutdown like that? If not, is there anyway to "hide" my window from the list of windows which pops op when won presses ALT-TAB. Thanks for any help.

    C / C++ / MFC help question

  • CreateProcess( );
    S Soren Alsbjerg Horup

    Ok I see. But I need a function that returns the path of the file. Like 'd:\games\quake 3\quake3.exe' will return 'd:\games\quake 3\' Any function that does this? thanks.

    C / C++ / MFC game-dev help question

  • CreateProcess( );
    S Soren Alsbjerg Horup

    yeah, But if I have a string like: "d:\games\quake3\quake3.exe" and want to set the currentdir like: SetCurrentDirectory("d:\games\quake3\quake3.exe") I need to remove the quake3.exe but how?.

    C / C++ / MFC game-dev help question

  • CreateProcess( );
    S Soren Alsbjerg Horup

    I'm trying to get my App to luanch a program, like Quake 3. using CreateProcess(); I got two problems.. One is that Quake 3 looks for a default.cfg in the Defualt dir, but my program changes the defualt dir to the path to my program, so Quake 3 thinks that the default.cfg file is located where my program is located, but it is not. the second problem is that I can't include consol commands.. like "d:\games\half-life\hl.exe -game cstrike" This won't work.. code: CreateProcess( NULL,Game[0].Path,NULL,NULL,FALSE,0,NULL,NULL,&si,&pi ); Any solution to these two problems? Thanks

    C / C++ / MFC game-dev help question

  • ListBox??
    S Soren Alsbjerg Horup

    if (m_Games.GetText(m_Games.GetCurSel()) == "Tribes") { //Do somthing } Only one error left :) error: Error C2661: 'GetText' : no overloaded function takes 1 parameters Whats an overloaded function?? I got lots to learn :) Ps. Am glad you help's me with this one :)

    C / C++ / MFC help tutorial 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