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
M

Martin Ziacek

@Martin Ziacek
About
Posts
172
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Windows Administrator account check
    M Martin Ziacek

    and still it works, using NULL indicates that default attributes for the process will be used hence the job is done for you. if you need a different attributes then you can set them up, used to be pretty dull and long code but it is getting better. get hold of books 'Writing Secure Code' and 'Writing Secure Code for Windows Vista', that's good start.

    Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC question

  • Windows Administrator account check
    M Martin Ziacek

    :) LOL, it is not that difficult, you just need to spend a lot of time reading and experimenting.

    Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC question

  • Windows Administrator account check
    M Martin Ziacek

    do you mean something like this: LONG WINAPI IsUserAdmin(void) { BOOL b; SID_IDENTIFIER_AUTHORITY NtAuthority = SECURITY_NT_AUTHORITY; PSID AdministratorsGroup; b = AllocateAndInitializeSid( &NtAuthority, 2, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0, &AdministratorsGroup); if(b) { if (!CheckTokenMembership( NULL, AdministratorsGroup, &b)) { b = FALSE; } FreeSid(AdministratorsGroup); } return(b); }

    Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC question

  • Credit "dissociation" ??
    M Martin Ziacek

    David Wulff wrote: Cool, thanks for the explanation, that does sound like what I need. Have you seen this: http://www.equifax.co.uk/consumer/inacinfo.htm Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    The Back Room business help question

  • Credit "dissociation" ??
    M Martin Ziacek

    David Wulff wrote: I sent off for mine, but yeah I got it from Experian. I tried their web site and got no where (all the FAQ's are how to get out of debt when the people are actually in debt, not when they just need to get their records fixed). I think the best way to get information is to give them ring. I found info at their web site useful, but still needed to speak to them. David Wulff wrote: Is that a must? Yes, it is. I think that's the one and only way how you will show you are able to pay off your debts and other creditors believe that you are responsible in borrowing. Credit cards cost usually nothing (except few such as AMEX) and if you will pay off your balance in full each month then you will not pay any interest. If I understood properly: your credit file is almost empty - it does not show any cards, borrowings etc. Then nobody can guess how are you like in borrowing. And then there are many more things to consider: age, marital status, your job, how long have you been in current job, how long have you been living on current address, are you listed within electoral roll for your address etc. You can get clue how your credit score is worked out here: http://www.checkmyfile.com Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    The Back Room business help question

  • Credit "dissociation" ??
    M Martin Ziacek

    Hi David, it appears to me like you have got your credit file from http://www.experian.co.uk or http://www.equifax.co.uk. Am I right? The best advice is to give them a ring and ask your questions directly. They are very helpful. You can also find some information at their web sites. 'dissociation' means that you will provide notice (in writing) which will be added to your credit file where you will explain that you are not in financial relation with persons living at the same address. Unfortunately if you have not got any credit card or loan yet, then you have no credit history and that's as bad as you would have 'bad' credit history. If you need credit card, try to apply for it at your bank where you are running you current account. I also found AMEX, MBNA and The Associates quite useful. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    The Back Room business help question

  • *.ps file format ??!!!
    M Martin Ziacek

    http://www.cs.wisc.edu/~ghost Regards, Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC help question c++ tools

  • For those who hate speed cameras
    M Martin Ziacek

    I do not care about them too much. ;P Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    The Lounge com performance question

  • No list?
    M Martin Ziacek

    benjymous wrote: http://www.wholetomato.com Where does that obsession from different kind of fruits and vegetables come from? :) ;P Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC performance question

  • why does this code fail?
    M Martin Ziacek

    Jenny2 wrote: ok hero :):):) Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC question help

  • why does this code fail?
    M Martin Ziacek

    It allocates memory to hold data from the file. When you will finish using it, then you have to free that memory with: delete [] data; I think you have to read little bit more about C++. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC question help

  • why does this code fail?
    M Martin Ziacek

    extern CFile cfile; CFile::Open(m_Pathname1,modeRead); DWORD dwFileLength = cfile.GetLength(); BYTE *data = new BYTE[dwFileLength]; DWORD dwBytesRed = cfile.Read(data,dwFileLength); Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC question help

  • Debug Services with use of a UDP Stream...
    M Martin Ziacek

    Koep wrote: But it's not possible with normal tools. Well, it is possible, but there is a limitation - it is difficult to debug start of the service. Try to put the call to DebugBreak() function to a place where you want to start to debug your service, it must be after startup code and there should not be any communication between your service and SCM after this call. Or, design your service in a way, when you can compile two versions of it - one service version and one application version. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC c++ debugging tools tutorial question

  • Default CSP and GetLastError() (Encryption Problems)
    M Martin Ziacek

    There were several versions of CSPs published by Microsoft. Check documentation for CryptDeriveKey() and assure that you are requesting key length supported by CSP or you are using right CSP. I think, if you will ask for a longer key than maximum length, it will refuse it with invalid flag error. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC help security beta-testing question

  • Default CSP and GetLastError() (Encryption Problems)
    M Martin Ziacek

    And another thing, here is the Mailing List Archives of CryptoAPI@DISCUSS.MICROSOFT.COM where you can more information specific to CAPI than here. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC help security beta-testing question

  • Default CSP and GetLastError() (Encryption Problems)
    M Martin Ziacek

    esapp420 wrote: which returns the error 80090019 This error means: 'The keyset is not defined.' By default CryptAcquireContext() will use keyset based on the user name and it does not exist automatically. Therefore your very first call on the new machine should contain CRYPT_NEWKEYSET within the flags. I would also recommend to check if there is required provider installed on the target machine. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    C / C++ / MFC help security beta-testing question

  • Philosophical questions of the day
    M Martin Ziacek

    How come wrong numbers are never busy? Do people in Australia call the rest of the world "up over"? Does that screwdriver belong to Philip? Can a stupid person be a smart-ass? Does killing time damage eternity? Why doesn't Tarzan have a beard? Why is it called lipstick if you can still move your lips? Why is it that night falls but day breaks? Why is the third hand on the watch called a second hand? Why is it that when you're driving and looking for an address, you turn down the volume on the radio? Why is lemon juice made with artificial flavor, and dishwashing liquid made with real lemons? Are part-time bandleaders semi-conductors? Can you buy an entire chess set in a pawn shop? Daylight savings time - why are they saving it and where do they keep it? Did Noah keep his bees in archives? Do jellyfish get gas from eating jellybeans? Do pilots take crash-courses? Do stars clean themselves with meteor showers? Do you think that when they asked George Washington for ID that he just whipped out a quarter? Have you ever imagined a world with no hypothetical situations? Have you ever seen a toad on a toadstool? How can there be self-help "groups"? How do you get off a non-stop flight? How do you write zero in Roman numerals? How many weeks are there in a light year? If a jogger runs at the speed of sound, can he still hear his Walkman? If athletes get athlete's foot, do astronauts get mistletoe? If Barbie's so popular, why do you have to buy all her friends? If blind people wear dark glasses, why don't deaf people wear earmuffs? If cats and dogs didn't have fur would we still pet them? If peanut butter cookies are made from peanut butter, then what are Girl Scout cookies made out of? If space is a vacuum, who changes the bags? If swimming is good for your shape, then why do the whales look the way they do? If tin whistles are made out of tin, what do they make fog horns out of? If white wine goes with fish, do white grapes go with sushi? If you can't drink and drive, why do bars have parking lots? If you jog backwards, will you gain weight? If you take an Oriental person and spin him around several times, does he become disoriented? Why do the signs that say "Slow Children" have a picture of a running child? Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playin

    The Back Room question

  • Weirdness comes again, Open via ADO
    M Martin Ziacek

    Language could be a keyword, try it as a [Language], might help. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    Database database help

  • Owner of an IP address
    M Martin Ziacek

    Yes I know, nothing is perfect, but usually it works for me. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    The Lounge question

  • Owner of an IP address
    M Martin Ziacek

    I think this can help. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

    The Lounge 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