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
Y

yamini

@yamini
About
Posts
64
Topics
47
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ISO9660 FS
    Y yamini

    Hi, I am trying to create ISO9660 Image file.I awnt to create the image file for a jpeg file.I am giving the JPEG file path & name of taht JPEG file thro the comamnd line like this. mkisofs -o outfile.iso -V TEL C:/file1.jpeg My iso file is craeted.But, it does not contain any jpeg file data.Where am i going wrong. TIA, Y.Yamini Devi :omg:

    C / C++ / MFC question

  • ISO9660 FS
    Y yamini

    Hi, Thanx for the information. I am using windows NT.I am using the earliest version 0.99 and don't want Joliet or Rock Ridege extensions. I am facing prob with vms.c file as certain functions like opendir(),readdir() use certain unix specific functions.The code compliation gives error becos of this. Moreover if iam having jpeg file(for forming image file) in a particular path how can i specify that in the command line. TIA. Y.Yamini Devi

    C / C++ / MFC question

  • ISO9660 FS
    Y yamini

    Hi, Thanx for the information. I am using windows NT.I am using the earliest version 0.99 and don't want Joliet or Rock Ridege extensions. I am facing prob with vms.c file as certain functions like opendir(),readdir() use certain unix specific functions.The code compliation gives error becos of this. Moreover if iam having jpeg file(for forming image file) in a particular path how can i specify that in the command line. TIA. Y.Yamini Devi

    C / C++ / MFC question

  • ISO9660 FS
    Y yamini

    Hi all, I have to develop a ISO9660 File System in windows NT platform.I have dowmloaded the mkisofs whihc is written mainly for UNIX.How can i use this code for windows.Also, if somebody had already worked in this code meand how can we use this code(can u explain how the exe works& how we have to give the args at command line).Is any config file used. I tried going thro the docs for this.But, cuold not succeed in creating the file system.. TIA.

    C / C++ / MFC question

  • VERY newbie COM question
    Y yamini

    There is other way of communicating with the component. Let Component:CMyComponent. Interface:IMyInterface. Now the code goes trhis way(inside the main if client is console else other suitable function.) ************************************************************ CoInitialize(NULL); HRESULT hr=CoCreateInstance(CLSID_CMyComponent,NULL,CLSCTX_LOCAL_SERVER/*Depends*/,IID_IMyInterface,(void**)&pMyInterface); //pMyInterface is a pointer to interface. pMyInterface->.... CoUninitialize(); ************************************************************ Let me know if u understood. Regards, Y.Yamini Devi.

    COM question com sysadmin help tutorial

  • BSTR
    Y yamini

    There are 2ways to do this The first method uses the OLE2T() for BSTR conversion to string. The second method uses _bstr_t for conversion. ******************************************************#inclu#include #include #include void main() { BSTR b=L"StringConversion"; //BSTR string USES_CONVERSION; //First method of Conversion cout<<"String :"<

    COM c++ sysadmin help question

  • Creating Access 2000 database !
    Y yamini

    I have tried creating Access 2000 DB using CDaoDatabase using CDaoDatabase::Create(...) function. Check MSDN for help. U can access this created database very well. Let me know if it helps. Regards, Y.Yamini Devi.

    C / C++ / MFC database game-dev html com graphics

  • DLL loading trouble.
    Y yamini

    Hi, The GetLastError() function of yr's says "Handle invalid"(6) and "Module can't be found"(126).So, I hope problem with the Dll path u have given.First find out in which path yr Dll is present and give that path in the LoadLibrary()/GetModuleHandle() function.Then check for the handle.This could be the only problem I hope.Let me know if it works. Regards, yamini.

    C / C++ / MFC question

  • Registry problem
    Y yamini

    Hi All, I have a query regarding REGEDT32.EXE .I try to programmatically set value for a field in the Registry.This value is a string value.I am using RegSetValueEx() for this and the the maximum length of this string I am specifying as 256.Now, the problem is when the string length is less than this maximum value after the required string some junk values are put in the REGEDT32.EXE .These junk values should not be there in the value for a field.How can I do this? When I tried the same in Regedit.exe there is no such problem.Whatever may be the string length there are no junk values in the Regedit.exe. How has to be done to rectify the problem.I also tried NULL terminating the String.Still the problem persists. Thanx in advance for the help. Regards, yamini.

    C / C++ / MFC help question css database windows-admin

  • NT Service problem
    Y yamini

    Hi, Thanx for the idea.But, I am using ATL Service.I ahve a function CServiceModule::ServiceShutDown() & the function code goes as below. void CServieModule::ServiceShutDown() { SetServiceStatus(SERVICE_STOPPED); PostQuitMessage(dwThreadID,WM_QUIT,0,0); } I am calling this function from CServiceModule::Run() before the Loop and I put a MessageBox in CServiceModule::Handler() case SERVICE_CONTROL_STOP to indicate that the service is stopped.When I try to start the service thro' SCM I am getting MessageBox and also error that "Error :2140 An internal Error occured>". How can I update the SCM UI and notify that the Service has terminated(When the service terminates instead of Error I need to notify that Service cannot be started ).I mean, how can I terminate the service without such errors as I am using ATL generated Code & I want to achieve the service termination with this ATL Generated Code only. Thanx.

    C / C++ / MFC help question

  • DCOM Access Denied problem
    Y yamini

    Hi All, I have a problem with DCOM Configuration.I am running a DCOM Server in a REmote Machine(Windows NT).The client in another M/C(Windows NT ) tries to communicate with the server.The CCI for the server component succeeds .But,I am unable to call any function of the Server Component.I am getting "Access is Denied" problem . I have tried iwth Default & Custom access permissions.Still, the problem is there. The same server component worked well once in a system with OS Windows 2000. What could be the problem.I am using same CoInitializeSecurity in both Server & Client. All security attributes I set as NULL.Where am I going wrong ? At the same time the problem is resolved if I use no password(Domain - Administrator) on both Server and Client. But, this should not be case.Though the Server and Client are using different passwords the DCOM should work.What should be done? Thanx in advance for the help. Regards, yamini.

    C / C++ / MFC help sysadmin security question workspace

  • DCOM Access Denied problem
    Y yamini

    Hi All, I have a problem with DCOM Configuration.I am running a DCOM Server in a REmote Machine(Windows NT).The client in another M/C(Windows NT ) tries to communicate with the server.The CCI for the server component succeeds .But,I am unable to call any function of the Server Component.I am getting "Access is Denied" problem . I have tried iwth Default & Custom access permissions.Still, the problem is there. The same server component worked well once in a system with OS Windows 2000. What could be the problem.I am using same CoInitializeSecurity in both Server & Client. All security attributes I set as NULL.Where am I going wrong ? At the same time the problem is resolved if I use no password(Domain - Administrator) on both Server and Client. But, this should not be case.Though the Server and Client are using different passwords the DCOM should work.What should be done? Thanx in advance for the help. Regards, yamini.

    C / C++ / MFC help sysadmin security question workspace

  • NT Service problem
    Y yamini

    Hi All, I have a NT Service.I want to shut down the service without the interpretation of SCM.So, I calling CServiceModule::Handler() with opcode "SERVICE_CONTROL_STOP" and the service to shutdown.But, my service is shutting down at the same time it's giving error "Error :2140 An Internal error occured" . How can I rectify the problem.I would like to know what happens after I say service shutdown. Thanx in advance for the help. Regards, yamini

    C / C++ / MFC help question

  • Database size problem.
    Y yamini

    Hi All, I have a query regarding MS Access Database.I am creating a Database & a table in it .I add the Records to the table.The size of teh Database mdb file is increasing as I add the record.But, when I deleted all the REcords in the table in Database, the size of the Database remained the same(as before deletion of REcords).Why is it so ?I am using ADOX to add the Records & the same to delete the Records . How can I overcome this problem ? Does in MS Access the size of Database decrease on deletion of Records if any ?If so how it can be done ? YAMINI

    C / C++ / MFC database question help

  • Database size problem.
    Y yamini

    Hi All, I have a query regarding MS Access Database.I am creating a Database & a table in it .I add the Records to the table.The size of teh Database mdb file is increasing as I add the record.But, when I deleted all the REcords in the table in Database, the size of the Database remained the same(as before deletion of REcords).Why is it so ?I am using ADOX to add the Records & the same to delete the Records . How can I overcome this problem ? Does in MS Access the size of Database decrease on deletion of Records if any ?If so how it can be done ? YAMINI

    C / C++ / MFC database question help

  • Date/Time field in MS Access
    Y yamini

    Yes.Thanx for the idea.I included the time along with date.Now it works perfectly.I am getting all the required records with the lower and upper date bound.The problem is solved. Regards, yamini

    C / C++ / MFC database help question lounge

  • Date/Time field in MS Access
    Y yamini

    I am giving the sql I used, TableName is "LogTable" DateField is "StationTime" SELECT * FROM LogTable WHERE StationTime BETWEEN #6/25/2001# And #6/27/2001# . In the DataBase I am having Records with Dates ranging from 6/25/2001 to 6/27/2001.I am getting Records with date 6/25/2001 .But could not get the Records with date 6/27/2001. Hope I am clear. Thanx for the Response. Regards, yamini

    C / C++ / MFC database help question lounge

  • Date/Time field in MS Access
    Y yamini

    Hi, I have query regarding Dates/Time field in MS Access.In MS Access Database I am using one of the field is Date/Time.I am using "General Date" .(i.e)6/27/01 6:59:00 .I am using SQL Query to get all the Records within two date ranges.The query looks like this SELECT * FROM WHERE BETWEEN And I am getting all the records inclusive of lower bound but exclusive of the upper bound date. What may be the problem.Have I to modify the query ? Regards, yamini.

    C / C++ / MFC database help question lounge

  • Problem with Threads
    Y yamini

    Hi, I am using MS Access Database(no stored queries).I am sure the problem is not with Interface pointer as while Debugging the program works perfectly.So,pls tell me if there is problem with some other part if the application I have mentioned .

    C / C++ / MFC help database debugging question

  • Problem with Threads
    Y yamini

    Hi All, Again problem with Threads.In an application I am creating three threads each thread trying to call a interface function(This function tries to add records to a Database) of a Component.CCI is succeeding ,I am getting Interface pointer.Since each Thread tries to add the Record there should be 3 Records in Database.But, there are only 2 records.I am using CreateThread(...) for creating the Threads.In the Debug mode there is no such problem.There are 3 Records added to the Database.Also, if in this scenario I give Sleep(0) then no problem . Where am I going wrong ? Thanx in advance for the help. Regards, yamini

    C / C++ / MFC help database debugging 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