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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

Reza Shademani

@Reza Shademani
About
Posts
21
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Move from unedited reader contribution
    R Reza Shademani

    Hello guys, I just submit an article in General C++/ Internet and network/ Step by step developing a SOHO http filter. I want to know when admin move up my article to network security section? Thanks

    The Lounge c++ sysadmin security tutorial question

  • mixed debuging
    R Reza Shademani

    Hello gang, I have an engine in legacy c as a dll and wanna get its functionality from a UI written in c#. what makes me sick is that as project grows and complexities increased how is it possible to debug c# and its legacy 'c' dll toghether. I again say simply i want to F11 my c# line and go to legacy c functions and vice versa ... give me a clue please if you know the tips...

    http://www.packetforum.org

    C / C++ / MFC csharp design debugging

  • suitable laptop for mid-night programmers
    R Reza Shademani

    How about DELL Inspiron 6400 series?

    http://www.packetforum.org

    The Lounge asp-net question

  • suitable laptop for mid-night programmers
    R Reza Shademani

    Hello, I want to purchase a laptop with at least 1 gig RAM and Duo core. In case of easy screen view, easy typeing and performace what are your recommendations? (No more than 1k $$$). Thanks

    http://www.packetforum.org

    The Lounge asp-net question

  • Access vector from C#
    R Reza Shademani

    Hello, I want to access my native functionalities from an unmanaged dll which performs my core processings. clinet program will be written by C# and i use DLLImport attribute to mix managed and native codes. How could i pass STL vector params between C# and C++? If there is no robust method of doing this, what's the remedy to send and receive array like data between C# and C++?

    C# c++ csharp asp-net graphics data-structures

  • Access vector from C#
    R Reza Shademani

    Hello, I want to access my native functionalities from an unmanaged dll which performs my core processings. clinet program will be written by C# and i use DLLImport attribute to mix managed and native codes. How could i pass STL vector params between C# and C++? If there is no robust method of doing this, what's the remedy to send and receive array like data between C# and C++?

    http://www.packetforum.org

    C / C++ / MFC c++ csharp asp-net graphics data-structures

  • hi guys i'm problem in windows 2003 server
    R Reza Shademani

    [Message Deleted]

    System Admin sysadmin help

  • MySql API for C++
    R Reza Shademani

    Hello gang, What's your favorite C++ API to work with MySql programmatically?

    http://www.packetforum.org

    C / C++ / MFC c++ mysql json question

  • Google rocks the future
    R Reza Shademani

    I just wanted to say if google contiue his progress within almost 3 or 4 years will get Microsoft in market . IMHO that is all because google keep a super rich database of anything related to end costumers .... just take a look at google.com/trends ... this way you can find people trends in each region and introduce the exact market to the exact product or service . wacho think?

    http://www.packetforum.org

    The Lounge database com question

  • A place for network programmers [modified]
    R Reza Shademani

    www.packetforum.org is a place for eternal "networkers". It also contains many categories dedicated to network and security programming. Have fun -- modified at 5:52 Sunday 25th June, 2006

    Mobile sysadmin security

  • is win32 memory mapping thread safe ?
    R Reza Shademani

    hi gang! am wondering if win32 memory mapping using "CreateFileMapping" ,"MapViewOfFile" ,"OpenFileMapping" ... is thread safe or not ? i mapped a queue in the file mapping section and i must know if this section is syncronized by default or i've to sync it manually . please give me u'r clues . many thanks in advance ! network security programmer from middle east!

    C / C++ / MFC sysadmin data-structures security performance question

  • cross process handle invokation in win32
    R Reza Shademani

    hi geeks i'm gonna invoke a dll handle which hosted in another process (i mean in another memory space ) from my process .how it could be possible . matter of fact i'm wondering if it's possible to get a dll handle in cross process condition . give any clue you know. thanks in advance .

    C / C++ / MFC performance

  • Does Unix supports C++?
    R Reza Shademani

    you can program c++ in unix and gain it's power. download and make gcc 3.3 or higher version for unix environment.

    C / C++ / MFC question c++ wpf wcf linux

  • Process Injection
    R Reza Shademani

    Hi there Im loading a dll from project1.exe, then start project2.exe by CreateProcess and pass it the Handle of loaded dll as a CommandLine parameter. After this in project2.exe I try to get the dll function's address by caling GetProcAddress with the given handle; But these addresses are NULL! Where is the problem?

    C / C++ / MFC help question

  • Add protocol programatically
    R Reza Shademani

    hi gang is there anyone tried to add protocol such as netbuei to available installed protocol in win 2k ? if yes ,give me a clue . thnx in advance .

    C / C++ / MFC question

  • how to read entire shell (cmd)
    R Reza Shademani

    simple and complete ! thank you . i always said ,you codeproject guys rock! :)

    C / C++ / MFC linux help tutorial

  • how to read entire shell (cmd)
    R Reza Shademani

    hi everybody i used int system("...") function to execute a command .now i don't know if it is possible to read the result of the command and store it somewhere. reading the line using cin is impossible before that execution terminated. if it is possible using ShellExecute please help me. thank you.

    C / C++ / MFC linux help tutorial

  • problem with undeclared identifire in my IP parser project
    R Reza Shademani

    hi mates; look at here at first : //stripdec.h #pragma once #ifndef ipaddressing_strIPdec #define ipaddressing_strIPdec #include "stdafx.h" using namespace std; using std::string; typedef unsigned long ulong; // strIPDec in order to deploying A.B.C.D strandard IP address from plain // string a.b.c.d namespace stripdec { class StrIPGet { public : StrIPGet();//constructor string get();//getting input string a.b.c.d void findindex();//finding index of each '.' in the string void setseg();//now we have A.B.C.D which each segemnt is in digit form. private: string _inputstr; short inpindex[3]; string segment[4]; }; class StrToDec { public: ulong conv(string& _segstr); }; } // #endif //////////////// //stripdec.cpp // strIPdec.cpp : Defines the entry point for the DLL application. // #include "stripdec.h" #include "stdafx.h" using namespace std; using namespace stripdec; BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { return TRUE; } //start //------------------------------------------ string StrIPGet::get() { int count=0; do { getline(cin,_inputstr,' '); int j = _inputstr.find('.'); // While not at the end of the string: while(j != _inputstr.npos) { count++ //find the next '.' j = _inputstr.find('.', j); } if (count != 3)cout<<"invalid IP address ,try again."<<"\n"; } while (count != 3) //input is plain a.b.c.d along with error recovery. } //------------------------------------------ StrIPGet::StrIPGet() { inputstr.clear();//init...clearing an input string } //------------------------------------------ void StrIPGet::findindex() { for(j=0;j<=2;j++) { inpindex[j]=_inputstr.find('.',j); } } //------------------------------------------- void StrIPGet::setseg() { segment[0]=_inputstr.substr(0,inpindex[0]-0); segment[1]=_inputstr.substr(inpindex[0],inpindex[1]-inpindex[0]); segment[2]=_inputstr.substr(inpindex[1],inpindex[2]-inpindex[1]); segment[3]=_inputstr.substr(inpindex[2],input.end-inpindex[2]); } //------------------------------------------- ulong StrToDec::conv(string& _segstr) { return strtoul(_segstr); } errors : ///////////////////// e:\codes\IP_Addressing_solution\April11 ,2003\strIPdec\stripdec.cpp(25): error C2065: '_inputstr' : undeclared identifier e:\codes\IP_Addressing_solution\April11 ,2003\strIPdec\stripdec.cpp(26): error C2228: left of '.find' m

    C / C++ / MFC help c++ database

  • win32 unresolved function at compile time
    R Reza Shademani

    hi guys , i build a DLL file using .DEF function specifier ,now when i want to use the DLL in other application compiler throw me LNK2019 like errors . does anybody give me a pattern in using DLL within win32 application . thank u in advance.

    C / C++ / MFC regex

  • SOS- LNK2019 fatal error under win32
    R Reza Shademani

    hi everyone, i made a DLL including some functions only for test ,i have realated .LIB file . while i wanna importing it in other cpp file ,compiler throws me the early mentioned error (LNK 2019 unresolved external symbol) well i search a lot and seem many peaple have this prrblem in vc7 . now could u give a working pattern in making DLL and using it under win32 platform . many thanks .

    C / C++ / MFC c++ regex help
  • Login

  • Don't have an account? Register

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