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

Suvendra

@Suvendra
About
Posts
8
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Function Traceback
    S Suvendra

    Maximilien wrote:

    If the function is not "published" in a header file, a normal user will not call it.

    I agree with you on that. Thanks Maximilien.

    C / C++ / MFC question

  • Function Traceback
    S Suvendra

    DavidCrow wrote:

    Even with these new constraints, my suggestion will still work. All you have to do is choose a number to pass to the exported foobar() function that will likely not be guessed by others.

    You are right. That is a Workable solution. Thanks David.

    C / C++ / MFC question

  • Function Traceback
    S Suvendra

    DavidCrow wrote:

    The only thing I can think of it to pass an argument to the foobar() function.

    Thanks David. But maybe I did not put my question correctly. I have a library and I want to hide a function from direct calling by functions which are external to the library. Kind of like keeping it in private: section of a C++ class. But the problem is, I want the library in pure C and not C++. So, my library function 'foo()' should be able to invoke foobar() correctly. However, if an external function bar() tries to invoke it, the library should be able to correctly identify it and return appropriate error. Appreciate your help.

    C / C++ / MFC question

  • Function Traceback
    S Suvendra

    Hi All, Is there a way to know the reference to the calling function at runtime without using some flag variables? For eg. void foo() {     foobar(); } void bar() {     foobar(); } void foobar() {     /* What will be the condition for this IF? */     if (calling function is 'foo') {         bla... bla..     } else {         bla... bla..     } } Thanks.

    C / C++ / MFC question

  • Resource editor
    S Suvendra

    ... or else PEResourceExplorer

    C / C++ / MFC csharp visual-studio tutorial question learning

  • Resource editor
    S Suvendra

    Did you consider 'Resource Hacker' ? You can directly extract, modify and compile resources using it. Nice and pretty sophisticated tool. Not exactly what you want - but should serve your purpose - without even giving out the source :-D

    C / C++ / MFC csharp visual-studio tutorial question learning

  • Freeware Zip Utilities
    S Suvendra

    I have been using IZArc for sometimes now, and had never faced any problems. The interface is really nice.

    The Lounge question

  • CPicture control
    S Suvendra

    I have a few Property pages (not Wizard). On one of these I am displaying a picture (Picture Control). The file name is in a global variable. When I initialize it, the picture is displayed correctly. If a file is loaded, I want to show the picture when the user switches between the tabs. Currently when I come back to the tab with picture it is not displaying again. I have written the following code in OnSetActive event - if (g_strFileName != "") { CDC *dc; dc = GetDC(); CPicture ppic; ppic.Load(g_strFileName); CRect rc; GetDlgItem(IDC_RECT_BITMAP)->GetWindowRect(rc); ScreenToClient(&rc); ppic.Render(dc, rc); ReleaseDC(dc); } I am also calling Invalidate(TRUE) in InitDialog. Any help would be appreciated. I have also tried OnPaint/ InitDialog etc. No luck. Thanks.

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