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
W

wb

@wb
About
Posts
132
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Heads First Design Patterns - Opinions?
    W wb

    I think, this book is great. I had a lot of fun reading it. You have to like this style of writing. A lot of (black/white) pictures. Different fonts.

    The Lounge com design question discussion learning

  • std::wstring by ref
    W wb

    is it possible to call a native C++ Method from a Managed(?) C++ DLL and pass a std::wstring by ref? I have a native C++ DLL. This has a static function IServer * CreateServer(); I created a Managed C++ DLL, imported the native DLL and now trying to make it work. .... [DllImport("DoubleFindDll.dll")] extern "C" IServer * CreateServer(); .... IServer srv = CreateServer(); srv->startUp(); std::wstring some_string; srv->FooBar(some_string); //crash here FooBar is defined as: virtual void FooBar(std::wstring & str) = 0; and the string is modified inside the method. Im using VS2005. Thank you for any hint.

    Managed C++/CLI c++ question

  • profiling
    W wb

    hello! I asked this question some days ago, but got no answer. I'm stil searching for a good profiler for VS2005 Pro. Can sombody recommend one?

    C / C++ / MFC question algorithms debugging performance

  • profiler question
    W wb

    hello, I'am searching a tool for Profiling and Error Detection. Can anyone suggest an good but not expensive tool? #define expensive >1000$ thanks

    C / C++ / MFC question algorithms debugging performance help

  • refactoring tool
    W wb

    I need an advice. For the last weeks I do a lot of Java with the NETBeans IDE. It has some neat features, like creating the get and set methods automaticaly. Does anyone know about a extention for the VC7 IDE , that can do the same? (auto generate GET and SET handlers, create overrides for pure virtual methods and so on) It should be for C++ (thats why I used this forum) thank you.

    C / C++ / MFC c++ java visual-studio question

  • opinions on .net certification mcsd
    W wb

    I took the 70-316 exam. Personaly I don't think that the MCSD title has much worth. But of course it is better than nothing :-) I used the ".NET CoreRequirements Self Paced training Kit" It contains books on the testtopics and some trainigsoftware that simulates the questions from the test. DON'T buy the prety expensive "training kits" and "simulators" from third partys. I used one and I don't think it was worth the money. I don't know how much the "SelfPaced" kit cost. It was supplyed by my epmployer. The BrainDumps are pretty helpfull. And a lot of them are free. So, read the books from the microsoft kit, use the trainigssoftware from the CD and look at a lot of braindumps. :-) I don't remember correctly but I got more than 90% of the questions right.

    The Lounge career csharp dotnet com hardware

  • Before and After photos
    W wb

    yea, that's such a big tragedy. :(( I realy feel with the people and hope that Bush will accept the international help.

    The Lounge com

  • An email question
    W wb

    maybe forward the message to an account where you can get the mails with a web interface can solve the problem. :confused:

    The Lounge question com graphics tools help

  • Programmer Salary ?
    W wb

    Here in Germany/Bayern one of my frieds graduated this year and starts with 44k€ -> 53k$

    The Lounge question career

  • War of the Worlds
    W wb

    :laugh: of course, but I have to walk about 15min to get there. I decided to go there... now I have to talk to my girlfried..... she don't like such kind of films :(

    The Lounge

  • War of the Worlds
    W wb

    I planed to watch it today, but its raining realy REALY strong all day long, so I decited to stay at home. Should I risk to get wet X| and go to the cinema?

    The Lounge

  • Portable Sockets
    W wb

    Hi, can somebody give me a link to a portable (win32, linux) Socket Library? yes, I know about the thing they call "google". :cool: boost::socket is not ported to linux (or am I wrong?) CommonC++ SocketPort have some bugs. thank you.

    C / C++ / MFC c++ linux question

  • System.Threading.ThreadAbortException
    W wb

    I have a problem I don't understand. I have a native C++ DLL that exports a createXY function. This one creates an Object of type XY. :) Then I build a wrapper in Managed C++

    public __gc class clsNGramWrapper
    {
    protected:
    ISimpleIndexBuilder * _IB;
    public:
    clsNGramWrapper();
    ~clsNGramWrapper();
    bool addDocument(System::String * strDoc);
    ArrayList * search(System::String * str);

    };
    public \_\_gc class clsSearchResult
    {
    public:
    	System::String \* \_sText;
    	double			 \_dRelevance;
    };
    

    and the constructor looks like this:

    clsNGramWrapper::clsNGramWrapper() {
    HMODULE hDLL = ::LoadLibrary("./nGram.dll");
    UINT err = GetLastError();
    typedef ISimpleIndexBuilder*(*builderFunc)(void);
    builderFunc createSI = (builderFunc)::GetProcAddress(hDLL, "createSimpleIndexBuilder");
    _IB = createSI();
    }

    ISimpleIndexBuilder is a class with only some pure virtual methods. In the ASP App, I create an instance of the wrapper int the PageLoad Event. After PageLoad I get an ThreadAbortException, the Application is closed and I loose all the Session and Application State objects. :sigh: What I done wrong? Maybe the wrapper thing?

    ASP.NET c++ help question

  • Dynamic memomory error
    W wb

    try using std::vector and boost::shared_ptr and not CDBVariant ***vIn :wtf:

    C / C++ / MFC debugging performance help question

  • Take this IQ test
    W wb

    :omg: i scored 108, and have no idea what the correct answers for questions > 25 are.... The the description of the IQ (i checked only the german version) states, that people with an IQ lower than 115 are not realy able to go to UNI... so I have to quit on monday :sigh:

    The Lounge

  • How to measure number of cycles of a C code
    W wb

    if you want to count the CPU cycles, you must set up a highperformance timer. check out the articles on timers here on CP. http://www.codeproject.com/datetime/ccputicker.asp[^]

    C / C++ / MFC question com algorithms security tutorial

  • SDI and dialog based application
    W wb

    CSdiApp CSdiDoc CSdiView CSdiMainFrame ---------------- CDialogApp CDialogDlg --------------- now copy the clas CDialogDlg to the SDI app, you must also open the .rc file from the dialog app and add the dialogtemplate to your SDI app CSdiApp CSdiDoc CSdiView CSdiMainFrame CDialogDlg now you must check the CDialogApp class, if there is some code you must also add to your new App. Add a menuentrie to the Mainmenu, and in the eventhandler for this menu you can create a modal dialog of your old app and show it to the user... I hope this helps.

    C / C++ / MFC question

  • What's hot in Centrino Technology
    W wb

    If you prefer long batterie life, you must also look at other system parts! I had a P4 2.4Ghz Toshiba Laptop with a 14" display, 512MB, 4200rpm HardDrive and now I have the Assus W1000N with Centrino 2Ghz with a 15.4" Display 1gb, 7200rpm Harddrive The new Laptop is realy much faster.. but the battery dont last for 7 hours as said in the commercials. Its perhaps one hour longer then with the old laptop. 3-4 Hours.

    The Lounge css com tools question

  • Geek JOTD
    W wb

    yes, tested the joke on my girlfried... she don't understand it.

    The Lounge help question

  • Folder List
    W wb

    I found something like this, and it works for me...

    CoInitialize(0);
    BROWSEINFO bi;
    char cc[MAX_PATH];
    bi.hwndOwner=m_hWnd;
    bi.pidlRoot=0;
    bi.pszDisplayName=cc;
    bi.lpszTitle="";
    bi.ulFlags =0;
    bi.lpfn =0;
    bi.iImage=0;

    LPITEMIDLIST p;
    p=SHBrowseForFolder(&bi);

    if(!p)
    return;

    SHGetPathFromIDList(p,cc);

    SetDlgItemText(IDC_E_PATH,cc);

    IMalloc *pm;
    SHGetMalloc(&pm);
    pm->Free(p);

    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