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
U

unknown soldier

@unknown soldier
About
Posts
52
Topics
26
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • This is shameful for a society
    U unknown soldier

    I don't know about other societies but this fear[^] is too common in india

    The Lounge com question

  • ADO connection String
    U unknown soldier

    I am successfully conecting to *.mdb database on my local machine using following connection string:

    HRESULT hr = m_pConnection->Open(
    _bstr_t(L"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\source\\VCDb.mdb;"),
    _bstr_t(L""),
    _bstr_t(L""),
    NULL);

    Now i want to connect to SQL-Server running on the machine in my neighbourhood. The ip of target machine is 192.168.10.10. Plz tell me the connection string.

    C / C++ / MFC database sysadmin

  • GUID generation
    U unknown soldier

    I want to programatically generate GUID and want to store it as a key in std::map. Plz tell me the way to programatically generate GUID and storing it in appropriate datatype/s

    C / C++ / MFC

  • TCP/IP server testing
    U unknown soldier

    benjymous wrote: She cannae tek much more of this! She :confused::confused:

    The Lounge sysadmin testing beta-testing

  • TCP/IP server testing
    U unknown soldier

    Is there any TCP/IP server testing tool available for testing load and scalability. I want a tool in which i can implement my protocol for performing tests. If any one knows it then please inform me.

    The Lounge sysadmin testing beta-testing

  • ADO exception problem
    U unknown soldier

    Not worked

    C / C++ / MFC database help com question

  • ADO exception problem
    U unknown soldier

    I am writing a simple DOS applicaion that is using ADO to connect to data source. The COM libraries are initializing successfully and the connection to database by connection pointer is also established. But when i try to run a "query" using connection pointer, the following exception is raised:

    Error:800a0e81.
    ErrorMessage:Unknown error 0x800A0E81.
    Source:ADODB.Connection.
    Description:Operation cannot be performed while connecting asynchronously..

    Can any one tell me why this happens ??? Here is my code:

    \_bstr\_t bstrQuery("SELECT \* FROM Customers");
    \_variant\_t vRecsAffected(0L);
    \_RecordsetPtr pRecordSet;
    

    pRecordSet = m_pConnection->Execute(bstrQuery, &vRecsAffected, adOptionUnspecified);

    C / C++ / MFC database help com question

  • ADO problem
    U unknown soldier

    I am writing a simple console application with MFC support in order to connect to Database using ADO. But having problems in the initial stages. The main program looks something like this:

    int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
    {
    _ConnectionPtr m_pConnection;

              HRESULT hr;
    
    
    if(!AfxOleInit())
    {
    	printf("\\n COM initialization failed"); 
    }
    

    hr = m_pConnection.CreateInstance( __uuidof( Connection ) );

    if (SUCCEEDED(hr))
    	printf("\\n createInstance successful");
              
    
         else
         printf("CreateInstance unsuccessful");
    

    The problem is that CreateInstance is failing. Please tell me the problem if you find out. Oh yea, i added following lines in StdAfx.h:

    include #import "C:\program files\common files\system\ado\msado15.dll" \
    no_namespace \
    rename( "EOF", "adoEOF" )

    C / C++ / MFC c++ database com help

  • database newbie
    U unknown soldier

    Hi all !! I am developing an instant messaging server which will also connect to databases. I am a newbie as far a data access in VC++ is concerned. Now i want to connect it to database server (client/server model). Please suggest me the best data access technique considering the requirement of my application as follows: My application is DOS based, 90% complete and written without the usage of MFC. I want to access data from sql-server based machine running on my network. My target is to access data quickly and efficiently though accuracy can be compromised. Programming ease is also a requirement.

    C / C++ / MFC c++ database sysadmin

  • Windows Messenger and WinXP
    U unknown soldier

    It worked. Thank you very much.

    The Lounge help question

  • Windows Messenger and WinXP
    U unknown soldier

    I am having one trouble using Windows XP. Any one knows the solution please tell me !!!! I've created three users. One with administrator rights and the other two as normal users. When i login with administrator user, my "windows messenger" software icon appears in the systray and this software works in normal manner. But here is the problem: Whenever i sign is as a non-administrator user, the icon of "windows messenger" not appears in systray. It appears in programs menu but when i click it, nothing happens. Can anyone tell me what mistake i am commiting ????

    The Lounge help question

  • VC 7.0 migration
    U unknown soldier

    I created a console application with MFC support. I right clicked on my project in Solution explorer window. A menu opened, whose last option is "properties" and I clicked it. Then I clicked configuration properties. But below that, no option like "linker" is present. Whats that ????

    C / C++ / MFC c++

  • VC 7.0 migration
    U unknown soldier

    Still unable to understand :( In order to use multimedia properties in VC++ 6.0 program, we select the Settings option from the Project menu, and pick the Link tab. Then we select General from the Category list box, and add WINMM.LIB ("Windows multimedia") to the Object/Library Modules text box. We need to do this because program makes use of a multimedia function call, and the multimedia object library isn't included in a default project. Otherwise we'll get an error message from the linker indicating that the PlaySound function is unresolved. Now where we insert such *.lib files in VC++.NET

    C / C++ / MFC c++

  • VC 7.0 migration
    U unknown soldier

    I've migrated to VC 7.0 few minutes ago :) and naturally having some problems. In VC++ 6.0, there is a "project" menu that contains the "settings" item. Right !!!. If we click it, a property dialog appears which contains among many tabs, a "Link" tab. Here we give the path of various run time libraries. Now how can we achieve this using VC++ 7.0

    C / C++ / MFC c++

  • Why "hate" US
    U unknown soldier

    I was reading the thread below started by Martin Marvinski regarding coming to US. He started his post writing that people "hate" US. I don't know the exact quantity of people who love or hate US but stories like this one never made good impression of US in the past and neither these stories will in the future

    The Lounge com question

  • Winsock/AcceptEx
    U unknown soldier

    I've read from MSDN that the M$ specific Winsock function AcceprEx when returns in overlapped fashion gives the accepted socket descriptor that is passed as one of its arguments. But in MSDN doc it is written that this socket descriptor can be used with read(),write(),readfile(),writefile(). Can anyone tell me why this descriptor can't be used with WSARead() and WSAWrite or it can be.

    C / C++ / MFC

  • I/O Completion Port
    U unknown soldier

    Worker threads are associated with I/O completion port. Whenever I/O operation completed a thread is invoked. Now when this thread is invoked, how we come to know that which "type" of operation completed whether "read" or write". I think this has to be determined by overlapped structure but i don't know that which "field" of this structure informs about the "type" of operation completed.

    C / C++ / MFC

  • M$ new programming language
    U unknown soldier

    Some one, few days ago pointed out about M$ new programming language ( E# or F# whatever) here at lounge. On that day i was unable to read that thread properly, but i noticed a URL of M$ site was given in that post about this new programming language. Can anyone give me that URL of that web site containing information about this new programming language OR please someone give me the link of that thread discussing this topic. I am trying to search it but Chris has not allowed us to search a string like "C#" here, as "#" denotes something else.

    The Lounge csharp

  • WinSock
    U unknown soldier

    I want to ask few questions regarding my server side application using Winsock API. My server accepts new client using accept(). This function returns a new socket descriptor. This socket descriptor has input and output buffers. 1) Can anyone tell me that how much resources this new socket descriptor required. What is the size of its input and output buffer by default and how can we change the queue size of input and output buffer. 2) My server application will run on Win2K machine with 512 MB RAM and 1 Ghz processor. How many connections can i accept, if the work load is low. (Server only calculates factorial of a number and return to client)

    C / C++ / MFC sysadmin data-structures json question

  • Cricket: Thats unusual
    U unknown soldier

    Australia 167 all out in 46 overs After a long time this type of low performance exhibited by Kangroos team in home. Well, match is not over

    The Lounge collaboration regex performance
  • Login

  • Don't have an account? Register

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