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
A

ashishbhatt 0

@ashishbhatt 0
About
Posts
79
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Want some information about Class Size
    A ashishbhatt 0

    Hi All,, I want some information about size of class. I have tested one example like below... class A { }; I declared one class but there is no any params into this.But when I see its size using sizeof() fuction it shows 1 .So I want to know for what it stores one byte. Thanks in Advance.

    Ashish Bhatt

    C / C++ / MFC tutorial

  • Unverified Publisher (When downloading Activex control from IE)
    A ashishbhatt 0

    Hi, I got something new with the problem when i am going to access the the web page(As I explained in my quetion post) from the server I am not able to run and register my Activex control in Explorer. But When I change my explorer's Secuity Setings like below.... Tools-> Internet Options-> Security Tab-> Trusted Sites-> In this I have added my server's Address. And Now When I run the .html page in Browser then it runs perfactly and runs Activex also perfactly. So, Can Anyone tell me what is the problem?? And I want to run Activex without setting of Trusted Site. Plz Help me if anyone has any Idea. Thanks.

    Ashish Bhatt

    C / C++ / MFC help c++ html visual-studio com

  • Unverified Publisher (When downloading Activex control from IE)
    A ashishbhatt 0

    Hi All, I have created MFC Activex Control using VS 2005.And I have created .cab file(cabinet file )including .inf file into it using cabarc.exe. And now I want to run it and register it through IE,so I created on .html page including code as below... Activex Registration here CASSID is the CLSID of my Activex Conrol and CODEBASE is the path of the .cab file. And this page runs very successfully on my local PC and my Activex also runs in the Web Page. **But my problem is when I want to access this page from My Server. I Put Both .cab file and .html file on to the server and then I run this .html file then it shows Security Message of restricting the webpage from running Activex Control(top on the page).When I click on that Strip Message and Select option of Run Activex Control then one Messagebox comes with the details..** `Do you want to run this Activex Control? Name:name of My Activex Publisher : My Publisher Name **(Unverified Publisher)**` When I click run then nothing happens ,Mu Activex Control does not run or register. I have also tried this .cab file by signing with digital signature(using signtool.exe) , But the same problem comes. So the Moral of the story is that this error of Unverified Publisher. So Do you have Any Idea or Suggetion? your Answer Will be Appreciated. Thanks in Advance. Ashish Bhatt

    C / C++ / MFC help c++ html visual-studio com

  • Problem with registering MFC Activex Control
    A ashishbhatt 0

    Thank you very much for replying me. After very long time but still reply is important. Now in present I have started my control to be registered on other PC also. If you have no any problem then may I ask you one more quetion? So, At right now I have created one package of Project setup to install my Activex on other PC.But I have to register my control manually Using REGSVR32.exe But I want to register that Control during package installation Process. Do you have any Idea? I so then you can share with me. Thanks.

    Ashish Bhatt

    C / C++ / MFC help question c++ visual-studio com

  • Redistributing Files(.ocx) Problem
    A ashishbhatt 0

    Hi All, I have solved my problem But as I explained in my problwem that I have to register my Activex control manualy using REGSVR32.exe but now I want that my activex control should be registerd directly during setup installation.I little much know how to register activex using DllRegisterServer but how can I code for that in setup project?Should I have to include other project in that setup project's solution? Your any suggetion will be apprecited by me.Your reply is valuable for me. Thanks in Advance.

    Ashish Bhatt

    C / C++ / MFC csharp visual-studio com dotnet help

  • Redistributing Files(.ocx) Problem
    A ashishbhatt 0

    Hi, I have found very good information from this blog. http://blogs.msdn.com/vcblog/archive/2007/10/12/how-to-redistribute-the-visual-c-libraries-with-your-application.aspx?CommentPosted=true#commentmessage[^] But I have one quetion and also problem which is related to this blog topic redistributing the library. I have created Visual Studio’s setup project in which I have added Activex (.ocx) control in it and also I have included appropriate .MSM file and its accompanying policy .MSM to distribute the library. My package is created successfully(in VS 2005). And I try to install it on the different machine(without VS 2005) but ask for the installing .Net Framework 2.0 but I did not install it and try to install other setup file(which also created with our main setup file) and it perfactly installed. And now What I have to do to use that Activex (.ocx) control directly in other application. May I directly register it using REGSVR32.exe or any other setting I have to do? Please suggest me if you can. It will be very helpful to me. Thanks.

    Ashish Bhatt

    C / C++ / MFC csharp visual-studio com dotnet help

  • Problem with registering MFC Activex Control
    A ashishbhatt 0

    Thanks For Reply. As you told me to read the content as linked in your reply, I read it very carefully. And I got one confusion that In this content I found the below line......... If you redistribute an MFC DLL, be sure you redistribute the retail version rather than the debug version. Debug versions of the DLLs are not redistributable. Debug versions of the MFC DLLs have a trailing "d" in their file names, as in Mfc80d.dll. Here how can I redistribute my ocx of the retail version not debug version.And where this retail version is on my system. Sorry for the such silly quetions but I have no idea about this retail version. can you suggest me something more? Thanks.

    Ashish Bhatt

    C / C++ / MFC help question c++ visual-studio com

  • Problem with registering MFC Activex Control
    A ashishbhatt 0

    Hi, I have created MFC Activex Control in VS 2005.It is working very fine on my machine. Now I want to run it on the different machine**(NOTE : Without VS 2005)**.So I tried to register it with REGSVR32 , but I gives me the error like..... LoadLibrary ("ActivexVS05.ocx") failed - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. And also it is registered very easily on diff machine with installled VS 2005. So,Can anyone suggest me what is the problem??

    Ashish Bhatt

    C / C++ / MFC help question c++ visual-studio com

  • Problem with CPU Usage
    A ashishbhatt 0

    So, if you have any other suggetion then you can share it.

    Ashish Bhatt

    C / C++ / MFC c++ visual-studio com help question

  • Problem with CPU Usage
    A ashishbhatt 0

    Thanks for reply. i used sleep() before Peekmessage() and it works.But is there no any other way?. And also I want to ask one question that is it right way to check current process cpu usage from task manager?? because I have heard that it is not perfact way. Thanks.

    Ashish Bhatt

    C / C++ / MFC c++ visual-studio com help question

  • Problem with CPU Usage
    A ashishbhatt 0

    Here I am using below code to contineously checking for the messages. MSG msg; while(1) { if(!PeekMessage(&msg,m_hwnd,NULL,NULL,PM_REMOVE)) { CheckUpdate(); //MessageBox(NULL,CString("Cannot Peek Message"),CString("RTMPTest"),0); } else if(msg.message == SCREEN_UPDATE) { //MessageBox(NULL,CString("Screen Update Message is Received"),CString("RTMPTest"),0); RECT rect; rect.left = (SHORT)LOWORD(msg.wParam); rect.top = (SHORT)HIWORD(msg.wParam); rect.right = (SHORT)LOWORD(msg.lParam); rect.bottom = (SHORT)HIWORD(msg.lParam); m_region.AddRect(rect); } else if(msg.message == MOUSE_UPDATE) { MessageBox(NULL,CString("Mouse Update Message is Received"),CString("RTMPTest"),0); } else { MessageBox(NULL,CString("Peek UP Message But Not Update Messsage"),CString("RTMPTest"),0); } } Plz do helpful to me if you have any idea. Thanks.

    Ashish Bhatt

    C / C++ / MFC c++ visual-studio com help question

  • Problem with CPU Usage
    A ashishbhatt 0

    Hi All, I am using MFC Activex Control project in VS 2005. In my project I am doing something like hooking. I have set these hooks from application.In this hooking , I have created some windows procedure(using CALLBACK function) through which I get messages into it contineously(Messages are like when my desktop window changed,cursor position changed,anything something happens on the the screen).For this I have to check contineously for update. And now my problem is like that when I call this hooking function than it starts executing and it does well and here I get all tese messages perfactly but during these constant message transfering my cpu usage goes upto 50%.So, that is very bad for me I want to reduse this cpu overhead near upto 10%.So, do you have any suggetion what to do for that??? I will Appreciate your Answer. Thanks in Advance.

    Ashish Bhatt

    C / C++ / MFC c++ visual-studio com help question

  • DLL into the Activex Project
    A ashishbhatt 0

    Hi,, Is it Possible to include DLL project into the MFC Activex project's solution?? Thanks.

    Ashish Bhatt

    C / C++ / MFC c++ com question

  • error PRJ0050: Failed to register output
    A ashishbhatt 0

    Hello, As I described above I want to ask you that is this the problem of registering the DLL. I tried to register DLL manualy by REGSVR32 coommand from the dos then it gives me the message like .......... E:\Testing_and_Download\Testing\Activex_Tests\ActivexVS05\ActivexVS05\Debug\VNCHooks.dll was loaded but the DllRegisterServer entry point was not found. This file can not registered. Can Any One suggest me?? Your any answer is valuable for me. Thanks.

    Ashish Bhatt

    C / C++ / MFC help c++ visual-studio com windows-admin

  • error PRJ0050: Failed to register output
    A ashishbhatt 0

    Hi,, :) I am using MFC Activex Control Application in VS 20005. I include other DLL in my solution and I have the problem that when I include any function of my DLL then it gives me the error like below. Project : error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry. But when I comment on that calling function then suddently that error goes away. I have googled for this problem and I got some idea from that and also I tried them but did not get the solution. Let me tell you that .... ** I have the Administrator rights. ** I tried to put this DLL in the /system32 folder but it did not work. Is there any other setting to do which I am missing?? Plz suggest me. Thanks.

    Ashish Bhatt

    C / C++ / MFC help c++ visual-studio com windows-admin

  • MFC Activex project
    A ashishbhatt 0

    Hey Thanks For Reply,, I want to add my other project as DLL because I want to make it as Hooks which contineusly sends message to my Activex project(Messages like Screen Update,Mouse Update).In my Activex project I want to get those messages and process on these messages. Is this possible?? Anything you understand, Plz suggest me. Thanks.

    Ashish Bhatt

    C / C++ / MFC c++ com question

  • MFC Activex project
    A ashishbhatt 0

    Hi All, I am new Activex project. I want to make MFC Activex Control project in which I want to add DLL project as other project in the same solution.And I want to make this Activex project depends on this DLL project.Is it possible to do like this?? Plz give me any suggetion. Thanks in Advance.

    Ashish Bhatt

    C / C++ / MFC c++ com question

  • Ask for permission when modifying Registry
    A ashishbhatt 0

    Thanks For Reply,, As you told to login in local Administrative,But I am already working in administrator Account. And my other confusion is that is it possible that IO can add other DLL in the solution in which Activex project is the main project.But here my Activex project depends on DLL project. Thanks.

    Ashish Bhatt

    C / C++ / MFC question c++ com windows-admin help

  • Ask for permission when modifying Registry
    A ashishbhatt 0

    Hi All,:-D I have created the project of MFC Activex Control and also I have included other project as a DLL in the same solution.And my Activex project is depends on the DLL project. Here First of all I want to ask you that is it possible for the Activex project to depend on DLL project? Is there any other setting I have to make? And now when I compile the project it gives me the error like...... Project : error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry. In my DLL project I have made some registry operations.How can I get appropriate permissions to modify registry?:omg: Thanks In Advance.

    Ashish Bhatt

    C / C++ / MFC question c++ com windows-admin help

  • How to include omnithread in my application?
    A ashishbhatt 0

    Hi All, I am using VC++ win32 application in VS 2005.I have created one project as win32 and now I want to add one another project which is omnithread into same solution.I want to make it as static library. How can I use omnithread.h,nt.h and nt.cpp files in this project.And what my project settings I have to change?Please suggest me.I tried this by reading the Readme.Win32 but I did not get success. Can anyone test the application making new project with including other project as omnithread and use this project's classes into the ohter project in the same solution. You can download these files from the below link. http://www.koders.com/cpp/fidB630376C86E504519D0CBF450C0AA4358CFC3915.aspx?s=omnithread.h[^] If you get any idea or any suggetion then reply me. Thanks in Advace.

    Ashish Bhatt

    C / C++ / MFC c++ question visual-studio com 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