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
R

rupeshkp728

@rupeshkp728
About
Posts
59
Topics
23
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Interupt Context Switching
    R rupeshkp728

    If suppose a middle level interrupt is being serviced and a high priority interrupts comes in then in that case what all process will take place. The interrupt context switch will happen. But where will the interrupt context be saved? Is there something called as part process data area?

    Hardware & Devices question

  • Communication mechanism
    R rupeshkp728

    Thanks Abhinav for the reply. but how to sync the two process on the two systems reading a common memory say a file?

    Design and Architecture question

  • Communication mechanism
    R rupeshkp728

    Suppose there are two separate systems connected to each other just by a common storage say a hard disk then what can be the ways we communicate between the two systems?

    Design and Architecture question

  • Driver Installation Issue
    R rupeshkp728

    Thanks Eric for the reply. There is no installation/driver forum on CP and since I had a C++ application along with a driver I put query in C++ forum. Apologize me for that. I had used chkinf and it gave me no error: NTLOG REPORT-------------- Total Lines: 36 | Total Errors: 0 | Total Warnings: 3 | -------------------------- Line 0: WARNING: (W22.1.2212) No Copyright information found. Line 3: WARNING: (W22.1.2215) Class RKP_LTO_DEMO_DD (ClassGUID {03E9C4D5-178E-4684-B407-A3E103D71CE9}) is unrecognized. Line 3: WARNING: (W22.1.2203) Custom defined Classes should have a [ClassInstall32] section. But since this is a simple inf file to just copy files and create registry entry I doubt we need more sections. Any idea where exactly I am missing?

    C / C++ / MFC help c++ design windows-admin security

  • Driver Installation Issue
    R rupeshkp728

    I am just trying to install using Installshield 2009 a demo driver written by me. I wrote a demo inf file. I also wrote a simple console application in VC++. Then I wanted to install the application along with the drivers and so I created Basic MSI Project and added my application exe to it. After this I added my inf file to it using Device Driver Wizard(located in Set Up Design >>> New Feature) where installshield also added the .sys and .cat files. Now the problem is that when I run the generated msi file it only installs the application and the driver does not installed. During installation it gives me a Windows Security window and when I clink on "Install this driver software anyway" it proceeds ahead for install completion. But the are no drivers in system32/drivers and no entried in registry. The demo driver contain just basic driver functions with printfs in them. The inf contains:

    [version]
    Signature="$CHICAGO$"
    Class=RKP_LTO_DEMO_DD

    ; GUID created by me usingGUIDGEN tool
    ClassGuid={03E9C4D5-178E-4684-B407-A3E103D71CE9}

    Provider=%DD_DEMO%
    CatalogFile = dd_demo.cat
    DriverVer=02/24/2012, 2.0.1.2

    [DefaultInstall]
    CopyFiles=XYZ_Device.Copy
    AddReg=XYZ_DeviceHW

    [XYZ_Device.Copy]
    demo_dd.sys

    [XYZ_DeviceHW]
    HKLM,SYSTEM\CurrentControlSet\services\,demo_dd,0x00000000,"%12%\demo_dd.sys"

    [SourceDisksNames]
    1=%LTO_DISK_NAME%,Sample_DIF,0

    [SourceDisksFiles]
    demo_dd.sys=1,,

    [DestinationDirs]
    XYZ_Device.Copy=12

    [Strings]
    SPSVCINST_ASSOCSERVICE= 0x00000002
    DD_DEMO = "RKP XYZ DD DEMO"
    DisplayName = "RKP XYZ Driver Install Frameworks"
    ClassName = "rkp xyz dd_demo"
    DD_DEMO.DeviceDesc = "Rkp Xyz WI DIF Sample"
    lto.SVCDESC = "RKP XYZ Device Driver"
    LTO_DISK_NAME ="RKP XYZ Installation Disk"

    The installshield install log gives the following message (0xE0000301):

    DIFXAPP: INFO: ENTER: DriverPackageInstallW
    DIFXAPP: WARNINGRIVER_PACKAGE_LEGACY_MODE flag set but not supported on Plug and Play driver on VISTA. Flag will be ignored.
    DIFXAPP: INFO: Installing INF file 'C:\Program Files (x86)\DEMO\My Product Name\dd_demo\dd_demo.inf' (Plug and Play).
    DIFXAPP: WARNING:No device Ids found in INF 'C:\Windows\System32\DriverStore\FileRepository\dd_demo.inf_amd64_neutral_c3727dded0bf2410\dd_demo.inf' for current platform.
    DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE0000301)

    The driver gets installed when I install it using run32dll.exe. I verified this by checking the system32/drivers folder and the se

    C / C++ / MFC help c++ design windows-admin security

  • C++ Providers
    R rupeshkp728

    Thanks Topcoder for the links

    C / C++ / MFC c++ database xml

  • C++ Providers
    R rupeshkp728

    Thanks Anshuman I will have a look at the link.

    C / C++ / MFC c++ database xml

  • C++ Providers
    R rupeshkp728

    I am new into writing C++ providers. Can anyoone let me know the basics of provider writing. I mean I wanted to know about Provider types(Instance, Method, Indication) and why are they needed etc What are properties, mof, cim, schema etc.

    C / C++ / MFC c++ database xml

  • Difference between a User dump and Kernel dump
    R rupeshkp728

    Just asking an interview question. In Windows perspective what is the difference between a user dump and kernel dump?

    Managed C++/CLI question career

  • Read Excel File
    R rupeshkp728

    I want to read excel sheet cells. I have written the following code in Visual Basic 2005 in single desktop environment with no net connectivity:

    Public Class Form1

    Public xl As New Excel.Application
    Public xlsheet As Excel.Worksheet
    Public xlwbook As Excel.Workbook
    Public j As Integer
    
    Private Sub Button1\_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        MsgBox("Hello")
    
        xlwbook = xl.Workbooks.Open("D:\\sample.xls")
        xlsheet = xlwbook.Sheets.Item(1)
    
        TextBox1.Text = xlsheet.Cells(2, 1) ' row 2 col 1
        TextBox2.Text = xlsheet.Cells(2, 2) ' row 2 col 2 
    
    
        xl.ActiveWorkbook.Close(False, "D:\\sample.xls")
        xl.Quit()
    End Sub
    

    End Class

    I am getting the errors as: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /rootnamespace:VBCheck /doc:obj\Debug\VBCheck.xml /define:"CONFIG=\"Debug\",DEBUG=-1,TRACE=-1,_MyType=\"WindowsForms\",PLATFORM=\"AnyCPU\"" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /main:VBCheck.My.MyApplication /debug+ /debug:full /out:obj\Debug\VBCheck.exe /resource:obj\Debug\VBCheck.Form1.resources /resource:obj\Debug\VBCheck.Resources.resources /target:winexe Form1.vb Form1.Designer.vb "My Project\AssemblyInfo.vb" "My Project\Application.Designer.vb" "My Project\Resources.Designer.vb" "My Project\Settings.Designer.vb" error BC30002: Type 'Excel.Application' is not defined. error BC30002: Type 'Excel.Worksheet' is not defined. error BC30002: Type 'Excel.Workbook' is not defined. How to get rid of this error?

    Visual Basic debugging csharp graphics sysadmin

  • linear linked list node delete
    R rupeshkp728

    Thanks Ash and Cool caw for the replies.

    C / C++ / MFC data-structures tutorial question

  • linear linked list node delete
    R rupeshkp728

    Thanks Ash for the reply. The pointer questions you see in my posts are mostly interview questions I have been asked. Regarding the present question is also asked in interview and my reply was same as your suggestion of using a circular list or provide head to iterate. But I was told to delete the node without using head.

    C / C++ / MFC data-structures tutorial question

  • linear linked list node delete
    R rupeshkp728

    Given an in-between(any node not at the start and end of the linked list) node within a singly linear linked list, how to delete that node, when head pointer of list is not given?

    C / C++ / MFC data-structures tutorial question

  • malloc limitations
    R rupeshkp728

    Thanks Ash for the reply. I tried malloc with INT_MAX and it indeed fails and with your way we can find out how much exactly the memory can be allocated.

    C / C++ / MFC performance question

  • malloc limitations
    R rupeshkp728

    Thanks David for the solution

    C / C++ / MFC performance question

  • malloc limitations
    R rupeshkp728

    Thanks Niklas for the inputs If suppose I am using a 32 bit windows or linux OS then what will be the limit?

    C / C++ / MFC performance question

  • hash tables concepts
    R rupeshkp728

    thanks chris

    C / C++ / MFC cryptography question

  • malloc limitations
    R rupeshkp728

    We know that in a 32 bit system a 4 gb memory gets allocated to a process. So how much maximum memory can be allocated using a malloc function call?

    C / C++ / MFC performance question

  • hash tables concepts
    R rupeshkp728

    How hash tables are used to quickly locate a data record?

    C / C++ / MFC cryptography question

  • swap different sized string
    R rupeshkp728

    thanks niklas

    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