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
K

kanetheterrible1

@kanetheterrible1
About
Posts
14
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CreateMsgService fails
    K kanetheterrible1

    hi ! hi, generally according to msdn, CreateMsgService has two return favlues, S_OK and MAPI_E_NOT_FOUND. Well i used mapi to create a new imail service.I am adding the service to a new profile that i am creating.In some machines it is working perfectly.In some others however there is an error.Note that MAPI is initializing properly and the profile is getting created.However CreateMsg service ( return type hr ) is returning failure , but the failure code is NOT MAPI_E_NOT_FOUND. I have checked that the necessary entries in MAPISVC.inf file is there and the two .dll files , minet32.dll and inetab32.dll is also there.any idea why this error could have occured ? Actually the original .inf file in that machine didn't jave the entries.So i took the .inf file of a different machine..and put it there.Does that make it a problem ? Kane "Some guys hack just to get themselves a girlfriend.What a pathetic reason , huh?"

    C / C++ / MFC help question

  • automating CreateMsgService in MAPI
    K kanetheterrible1

    hi ! thru : bool CreateMsgService(LPTSTR lpszService, LPTSTR lpszDisplayName) we can create a service , but that pops up a property sheet page thru which user has to enter data to create the service.How can we fill in the information programatically ? I have seen a lot of applications automatically add services.I thought of two possible ways.One is that they might be an option using some other API or modified version of this one, or else use Inter process communication to send a WM_MINIMIZe to the property sheet page , and then using SetWindowText( ) after retrieveing the windows handle and detecting the fields.This is theoritically possible but sounds a bit clumsy isn't it ? I am sure it is possible somehow...you have any idea ? Can you also explain to me the usage of ConfigureMsgService ? I could not find the proper docs in MSDN.. Thanks in advance Regards Kane "Some guys hack just to get themselves a girlfriend.What a pathetic reason ,huh ?"

    C / C++ / MFC json question announcement

  • creating accounts using MAPI
    K kanetheterrible1

    hi ! One can create a profile quite easily by using MAPI. But how does he create an e-mail account inside the profile programatically , and also maybe set that account as the default one ? Any of you guys having any info on this ? Thanks in advance :) Kane Some guys hack just to get themselves a girlfriend.what a pathetic reason , huh ?

    C / C++ / MFC question

  • MAPI and outlook
    K kanetheterrible1

    well how do u think will i b able to achieve my goal then ? I could retrieve all account info from the registry, but they are all encoded in some way , not just hex values.Anybody knows how to decode them ? Regards Kane Some guys hack just to get themselves a girlfriend.What a pathetic reason , huh ?

    C / C++ / MFC c++ com json help question

  • MAPI and outlook
    K kanetheterrible1

    I am a newbie with MAPI and needed some help :-) .you see i am writing a program which will import accounts,profiles and folders from a PC and save it in some place so that the account information can be plugged in to another PC . So far i could enumarate the folders and the contacts and profiles.But how do you enumerate the user accounts from the profiles? is there any way MAPI lets us do that ? I even found a way of importing account info of the default user.So if MAPI lets me chnage the default user then i can set each account to default one by one and then enumerate them.Is that possible? I know of several VB application which does this , but i am writing this application in VC++ 6.0 .however i figured that using a COM object won't be a big troubel if i know the right API's and all. Can anybody help ? Thanks in advance. Regards Kane Some guys hack just to get themselves a girlfriend.What a pathetic reason huh ?

    C / C++ / MFC c++ com json help question

  • What is the rwson behind this
    K kanetheterrible1

    maybe it;s giving an assertion error.then is shud give a message like "assertion failed in file so and so in line so and so " .Open up the file and read up that line.Maybe you have done something illegal.... Regards kane "Some guys hack just to get themselves a girlfriend.What a pathetic reason, huh? "

    C / C++ / MFC debugging help question announcement

  • Password protecting other apps
    K kanetheterrible1

    i did soemthing like this using API hooks.study Ivo Ivanov's API hooking revealed for more info. Hope it helps :) Regards Kane "Some guys hack just to get themselves a girlfriend.What a pathetic reason, huh ?"

    C / C++ / MFC help question

  • skinmagic skinbuilder problem (repost )
    K kanetheterrible1

    I posted this yesterday but it sank under the various other requests ...so reposted this again : hi ! I was testing out skinmagic demo for one of my apps,and came accross a few problems ..maybe experienced users can help me out on this. problem 1 : when i used irregular shaped dialog windows, the edges showed up as having a faint magenta lines ( i used magenta as my transparent color ).I made the image using photoshop 24 bit bmp,without any drop shadow.Can anyone tell me how to get rid of these edges?in the examples i saw dialog boxes with more complicated edges than mine but those didn't have a problem, and i am unable to find out the reason for this.Can anyone exolain why this happens ? problem 2: i had a pulldown menu in my app, and when i skin it , the pulldown menu dissapears ! the popup menu (right click ) stays though...i mean it;s properly invoked on right click, but not the pulldown menu. problem 3: As i said before i am using an irregular shaped dialog box in my main window.after skinning , the messageboxes are also assuming the same shape, which i do not one.i want my mnessageboxes to be plainer.Would specifying a control ID for the framedialog or the shapedialog help ?How can use a diff shape for my messagebox than my other dialog boxes? I would be glad if anyone can solve my doubts.Thanks to all the contributirs in advance Regards Kane "Some guys hack just to get themselves a girlfriend.What a pathetic reason, huh ?"

    C / C++ / MFC help adobe testing beta-testing tutorial

  • skinmagic skinbuilder problem
    K kanetheterrible1

    hi ! I was testing out skinmagic demo for one of my apps,and came accross a few problems ..maybe experienced users can help me out on this. problem 1 : when i used irregular shaped dialog windows, the edges showed up as having a faint magenta lines ( i used magenta as my transparent color ).I made the image using photoshop 24 bit bmp,without any drop shadow.Can anyone tell me how to get rid of these edges?in the examples i saw dialog boxes with more complicated edges than mine but those didn't have a problem, and i am unable to find out the reason for this.Can anyone exolain why this happens ? problem 2: i had a pulldown menu in my app, and when i skin it , the pulldown menu dissapears ! the popup menu (right click ) stays though...i mean it;s properly invoked on right click, but not the pulldown menu. problem 3: As i said before i am using an irregular shaped dialog box in my main window.after skinning , the messageboxes are also assuming the same shape, which i do not one.i want my mnessageboxes to be plainer.Would specifying a control ID for the framedialog or the shapedialog help ?How can use a diff shape for my messagebox than my other dialog boxes? I would be glad if anyone can solve my doubts.Thanks to all the contributirs in advance :) Regards Kane "Some guys hack just to get themselves a girlfriend.What a pathetic reason, huh ?"

    C / C++ / MFC help adobe testing beta-testing tutorial

  • blocking processes
    K kanetheterrible1

    hi ! Does anybody know how to stop a process without killing it ? What i needed was that my program hooked windows and get notification when explorer or any other windows component calls FindFirstFile(...) my application gets a notification message.Now based on certain settings my program must allow FindFirstFile(...) to execute ,or prevent it from execution.I have proceeded till the notification part.Currently the app is notified when FindFirstFile(...) is called.But how do i stop it? Also the app must be cross platform friendly ...and i don't have DDK so the solution can't be driver based... Kane:) Some guys hack just to get themselves a girlfriend.What a pathetic reason huh?

    C / C++ / MFC question tutorial

  • blocking processes
    K kanetheterrible1

    hi ! Does anybody know how to stop a process without killing it ? What i needed was that my program hooked windows and get notification when explorer or any other windows component calls FindFirstFile(...) my application gets a notification message.Now based on certain settings my program must allow FindFirstFile(...) to execute ,or prevent it from execution.I have proceeded till the notification part.Currently the app is notified when FindFirstFile(...) is called.But how do i stop it? Also the app must be cross platform friendly ...and i don't have DDK so the solution can't be driver based... Kane

    C / C++ / MFC question tutorial

  • autorun
    K kanetheterrible1

    hi all! does anyone know how to enable autorun of a program (.exe ) from an USB drive? autorun.inf as we know works for CD's and not for USB drives, but it's possible to autorun from an USB drive...an example is microtoolz.com....anybody knows how that can be done in the VC++ environment? thanks. Kane:)

    C / C++ / MFC tutorial c++ com question workspace

  • hiding or locking files/folders/drives
    K kanetheterrible1

    hi ! yup...it does :) thanks. Well the app i am talking has nothing illegal about it so don't worry ;)Could you point me to a decent article about IAT or maybe a snippet of code??it would be of gr8 help :) i read up Ivo Ivanovs API hooking revealed but it didn't have enough information on IAT . thankx for the reply ! Kane:)

    C / C++ / MFC question tutorial

  • hiding or locking files/folders/drives
    K kanetheterrible1

    hi all ! Could anyone give me some pointers as to how to go about locking and/or hiding files/folders or drives like u have in several freeware/shareware apps in the market? The functionality is basically this : when a file is protected it cannot be accessed..when an attempt is made it asks for a pre set password.unless correct password is typed it denies access. For hiding... when i a folder/drive/file is hidden the OS does not detect the presence of the file/folder or drive. How can i go about this.I was thinking of hooking windows' findfirstfile ( ) but somehow it didn't work out.I saw other codes also but they either needed DDK or didn't work for NT based systems. I need to have mine work for all windows systems...from 98 to 2003. Thanks to the contributors in advance ! Regards Kane:)

    C / C++ / MFC question tutorial
  • Login

  • Don't have an account? Register

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