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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
V

vin

@vin
About
Posts
45
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • data conversion
    V vin

    Now its fine. I changed my function call to IntPtr ip=System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi("hello World"), instead of including the namespace in the using namespace stmt and then calling the function as IntPtr ip=Marshal::StringToHGlobalAnsi("Hello World"). Thanks for the help Vini

    Managed C++/CLI question help

  • data conversion
    V vin

    R.selvam wrote: _Hello, look this, http://www.codeproject.com/dotnet/managed\_unmanaged.asp_ Thanks very much. But now I get another error when I include the namespace System::Runtime::InteropServices. error C2872: 'FILETIME' : ambiguous symbol could be 'D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(354) : _FILETIME FILETIME' or 'stdafx.cpp(0) : System::Runtime::InteropServices::FILETIME'. Kindly help. Vini

    Managed C++/CLI question help

  • data conversion
    V vin

    Thanks. But now I get an error " error C2440: 'type cast' : cannot convert from 'System::IntPtr' to 'char *' ". Pls help. vini

    Managed C++/CLI question help

  • data conversion
    V vin

    How can I convert a String* data to char*? Is it possible to do Type convertion between managed type and unmanaged type. Is there any article which gives an explanation on this type conversion? Please help. vini

    Managed C++/CLI question help

  • C++ and Database
    V vin

    Hi, Is there any article available here which gives me an idea of connecting a c++ application to the database. I want to write a console database application. I don't want to use the MFC classes. Can anyone help me, pls? Thanks in advance.. regards, vini

    Managed C++/CLI c++ database help question

  • C++ and Database
    V vin

    Hi, Is there any article available here which gives me an idea of connecting a c++ application to the database. I want to write a console database application. I don't want to use the MFC classes. Kindly help. regards, vini

    Database c++ database help

  • VC++ on .Net
    V vin

    Hi All, I am working on MFC for some time now. I want to learn VC++ on .Net. Can any one suggest some good books on this. Any good books available for Managed C++? I have seen some good articles here on Managed C++. Thanks to Nish for that. Kindly help.. Thanks in advance. Vini

    C / C++ / MFC c++ csharp help question

  • Explorer style File Dialog
    V vin

    How to show an explorer style file dialog. I tried giving the OPENFILENAME Flags as OFN_EXPLORER. But still its showing me the old style file open dialog. What else should I do? Saw a member FlagsEx for m_ofn datamamber. But when i give it, it shows error. I am using Win2000. Kindly help...... ================ CFileDialog fd(true); fd.m_ofn.Flags=OFN_ENABLESIZING|OFN_EXPLORER ; fd.DoModal(); Thanks... Vini

    C / C++ / MFC help tutorial question

  • NetWkstaGetInfo ()
    V vin

    Michael Dunn wrote: don't understand all that string manipulation at the beginning. The first param is either NULL to use the local computer, or a Unicode string holding the name of the computer to get info for, for example L"\\Servername" I want to give the first argument at run time(not a NULL value),means give the selected machine name from a list box or edit box. The initial string manipulations were used to convert the value in a CString variable to the type of the first parameter . is it not required? Kidly help.. Vini

    C / C++ / MFC help json performance tutorial question

  • NetWkstaGetInfo ()
    V vin

    How to use this API to get the info of remote machines? Here is my sample code.. I am getting a memory error . Can anyone suggest me where i went wrong. Is there any other way to pass the first argument(machine name) to the API? //////////////////// //getting details of machines wchar_t *tmp4=(wchar_t *)malloc(sizeof( wchar_t )); strcat(mbstr2,tempname[snum]); mbstr2[strlen(mbstr2)]='\0'; size_t x=strlen(mbstr2); mbstowcs(tmp4,mbstr2,x); WKSTA_INFO_101 *level=NULL; LPTSTR tmp7=(LPTSTR)tmp4; NET_API_STATUS nwData=NetWkstaGetInfo(tmp7,101,(LPBYTE*)&level); if(nwData==NERR_Success) { int iLen3=wcslen ((unsigned short *)level->wki101_computername); for(int j=0;jwki101_computername); level->wki101_computername++; level->wki101_computername++; } name[j]='\0'; AfxMessageBox(name); ////////////////// Kindly help. Regards, Vini

    C / C++ / MFC help json performance tutorial question

  • Recording avi files
    V vin

    thanks..... vini

    C / C++ / MFC help

  • Recording avi files
    V vin

    Hi, I want to write an application to record the desktop and play it as avi files. Is there any article here that can help me with this. Kindly help me.. Thanks for Vini

    C / C++ / MFC help

  • What is wrong with these SQL statements??
    V vin

    grahamoj wrote: SqlString = "DELETE * from Branches WHERE Branch_No LIKE '4%' "; It should be DELETE FROM WHERE Vini

    C / C++ / MFC database question help

  • Application name
    V vin

    Rage wrote: Look at he code provided in this article[^]. The functions FillList and ListWindows should help you retrieving the app names. Got it!!! Thank you very much.. Vini

    C / C++ / MFC json help question

  • Application name
    V vin

    Mike Nordell wrote: Are you speaking about the TaskManagers tab "Applications"? Then EnumWindows is possibly what you're looking for. yes.. I want all the currently running application like in the taskmanager. Tnx for the help. I'll try this . Vini

    C / C++ / MFC json help question

  • Application name
    V vin

    Hi, I want to list all the application running in my machine currently. Is there any API which gives me that information. I used Process32First() and Process32Next() APIs to get the process list. Anything similar to this for the Application list? Kindly help.... Vini

    C / C++ / MFC json help question

  • TAPI Reading and Writing data
    V vin

    Hi, I am developing a TAPI application to send and recv data. I was able established the connection between the application. Now I want to send and recv data between them. I'm using ReadFile() and WriteFile(). But when I try to set the comm state, it gives me an error. Some times it gives an error INVALID_HANDLE in Write file(). How to get the comm handle ? I have used the LPVARSTRING to get the handle. Is it correct? How to use the WriteFile() and ReadFile() function. Pls help... Vini

    C / C++ / MFC help tutorial question

  • Receiving calls in TAPI
    V vin

    Davey wrote: Do you have the line open for Owner? I did open the line as OWNER. I got the LINECALLSTATE_OFFERING and from there i used lineAnswer(). But i'm not getting the connection. The phone still keeps ringing .. What should I do? Should i issue some wait command to wait for some time before i answer the call. Also is it required to send any notification back explicitly? Kindly help vini

    C / C++ / MFC json help question

  • Receiving calls in TAPI
    V vin

    Hi, I have written a tapi application which successfully makes a call(dial). But in my application i'm not able to accept an incoming call. I got the LINECALLSTATE_OFFERING call status, and there i tried the lineAnswer() API, but it just doesn't accept the incoming call. Is it the correct way for accepting a call? Kindly help-:confused: Vini

    C / C++ / MFC json help question

  • TAPI Application
    V vin

    Hi, I want to develop an application which transfer data through telephone lines, using TAPI. Pls help. Is there any article published or a tool(with sourcecode) already available on this. If so, can anyone give me the link to it. Kindly help.. Thanks in advance. :) Regards..........

    C / C++ / MFC help
  • Login

  • Don't have an account? Register

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