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
F

Fabio Panzavolta

@Fabio Panzavolta
About
Posts
13
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Have you already lived a Merger?
    F Fabio Panzavolta

    Hi guys, my company has merged with another in the same businness. I'm working in the R&D and we are now on a workgroup that has to decide criteria for the evaluation of the existing (similar) tools. These criteria will decide the strategy to apply to these tools in term of development, maintenance ecc. But... there's a lot of mess on our work because the two people leading the workgroup (one from each company) made a draft for the criteria that, in my opinion, is a bunch of functionalities described in one line... and using each thir own dictionary (for example what we call Job in our Company is not the same Job for them). Has someone already experienced such a thing, if yes do you know a web site or book or a pattern for this kind of problem? Thanx

    Fabio

    Work Issues tools regex help tutorial question

  • Virtual Linux machine
    F Fabio Panzavolta

    Hi, I've just discovered Qemu, you can have a look at it... it allows to create a Linux image to run with the vmWare player... and also to run linux from your USB key! https://wiki.ubuntu.com/VMwarePlayerAndQemu?highlight=(vmware) Enjoy, Fabio

    The Lounge linux question

  • MS DataGrid Control
    F Fabio Panzavolta

    Hello guys, I'm writing a simple demo application that have to display two DB tables data refreshed every X seconds. To do so, I'm using two MS DataGrid Controls in a Dialog Box... it works perfectly, but I'd like to add different row colors depending on a column value (ie: the table PROCESS displays different process statuses and for terminated process I would display a green line, for failed processes a red one and so on...). Someone has alredy done so, or has someone a good tip for me? Thanx, Fabio

    C / C++ / MFC database question

  • SetSecurityInfo for a process
    F Fabio Panzavolta

    Hello guys, someone can give me an example on how to use the SetSecurityInfo for a process. The aim is to set the SecurityInfo for my process in a way that an external process has only the permission to execute it, and deny the operations like ReadProcessMemory, WriteProcessMemory, or OpenProcess with PROCESS_VM_READ, PROCESS_VM_WRITE options... I really appreciate your help, Fabio

    C / C++ / MFC tutorial help

  • Protect application from hooking
    F Fabio Panzavolta

    Thanx Josh... I think they are hooking on my EXE only at a certain moment, and not since the beginning. Is it possible to intercept the OnInitDialog message of a dialog box with an ActiveX and take the control over it? I think this is the type of attack... And in this case the dll is not part of my process, right? About trying to get the soft causing the problem: impossible. I just have to guess and do the strongest protection possible. I'm gonna try a sample attack program to test your protection method. Thanx Fabio

    C / C++ / MFC tutorial question

  • Protect application from hooking
    F Fabio Panzavolta

    Hello guys, someone is trying to intercept some dialog box of my application to modify its behaviour once the application is running and the dialog box opened (he doesn't have the source code of the application). I need to prevent him to do this, could someone give me some hint on how to do it? Thanx, Fabio

    C / C++ / MFC tutorial question

  • Possible (easy) way to eliminate programming questions in the lounge
    F Fabio Panzavolta

    I had a look into the Lounge and I finally saw the message. Since when the message is there??? Shame on me... I really missed it... I even didn't look at the red text! I'm the kind of people not used to read, but to try :-). I guess its against guys like me you're fighting. Fabio

    Site Bugs / Suggestions c++ csharp dotnet com

  • Possible (easy) way to eliminate programming questions in the lounge
    F Fabio Panzavolta

    Hello, yesterday I've just posted a programming question in the Lounge :-O. And I'd like to give you my opinion, maybe can be useful, who knows! The reason why I posted my message in the Lounge is that I found in the main page of the web site the frame containing some Lounge messages and I said to myself: "Ahh, that's what I'm looking for, let's go"... From my point of view, you'll have much less message if you, for example, put at the place of the Lounge frame a Message board frame. The probability that a new comer wants to ask a programming question is much more higher then someone who wants to put a new topic in the Lounge. Bye guys, and thanx to exist (hope to give you back some help!) Fabio

    Site Bugs / Suggestions c++ csharp dotnet com

  • Load COM from a remote location
    F Fabio Panzavolta

    Hi guys, an application we're developing load COM objects during its execution. These COMs can be found in any location (local PC or remote PC). Now my question is, there will be problems on doing that? Should I add the linker option /SWAPRUN:NET when linking the COM project to allow Windows load the COM from the remote PC without paging? Thanx for your reponses, Fabio

    COM question com

  • 0xC0000006: In Page Error.
    F Fabio Panzavolta

    Guys, thanx for your precious help! Rgds, Fabio

    System Admin help sysadmin debugging question

  • 0xC0000006: In Page Error.
    F Fabio Panzavolta

    Hi all, I need help with an application being executing on a remote disk that "disappear" when I disable the Network Connection... The same application tested with the debugger give back the error "0xC0000006: In Page Error.". In the MSDN I've found the article Q172530 (Deleted UNC Connection While In Use Causes an In-Page Error") and as far as I understood the problem here is in the redirector... but this problem shoudln't have already been fixed on NT 3.51??? I think I'm close to the solution, but I would really appreciate some help or workaround. I'm running on W2K Professional SP4. Thanx guys, Fabio

    System Admin help sysadmin debugging question

  • Recordset dim problem
    F Fabio Panzavolta

    Hello, I've the following problem to solve: my application store 1.000.000 records on an Oracle DB. The data are retrieved into a CRecordset class with which the query to the DB is performed. After performing the Open, I've done a while loop until EOF and the result is surprising not 1.000.000 records but something less (275.000). Consider that I've already checked that in the DB the data are correctly stored and all the queries are corrected 'cause I've performed the same operation directly with a DB tool that gives the good results. One more hint, if I do a query to count the records in my application the result is good: 1.000.000. Now my question is: is there any limitation on the data I have to fetch from the DB? Or I'm missing something else? Thanx for your help! Fabio

    Database database help question css oracle

  • File handles
    F Fabio Panzavolta

    Hello guys, do you know if it is possible to get a file name from a file handle? I tried the code below and strFileName its empty. I've tried to find some info into the MSDN and I cannot manage to find out a method that take in input the file handle and gives me back the file name. Thanx, Fabio CFile* file = new CFile(_T("C:\\test.txt"), CFile::modeCreate|CFile::modeWrite|CFile::shareDenyNone); CFile newFile((int) file->m_hFile); newFile.Write("C", 1); strFileName = newFile.GetFilePath(); file->Close();

    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