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
D

DasdaDAS

@DasdaDAS
About
Posts
20
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to Launch Program on Reset?
    D DasdaDAS

    When u do the hard reset, the DEVICE goes to factory settings. Meaning, it'll be set to the initial configuration which was provided by the vendor(i.e., program stored in the ROM are loaded.) So, you may want to load your program onto ROM than that of RAM. I'm not sure about writing into ROM. Correct me If I'm wrong and let me know how to do the same. Zxczc

    Mobile c++ adobe performance help tutorial

  • udp failure in WindowsCE 4.2
    D DasdaDAS

    This call(recvfrom) is waiting infinitely and the application never comes to next line. I'm using UDP sockets. The data has been sent successfully to server. But I'm facing problem while receiving it. I tested on both smartphone emulator and real device(samsung). In both targets, the application is crashing when it reaches this line. Any idea why it's happening?. Your help is greatly appreciated. i = recvfrom(s1,packetbuffer,sizeof(packetbuffer),0,(SOCKADDR *)&addr,&cbRemoteAddrSize); Zxczc

    Mobile help mobile sysadmin question

  • recvfrom() - blocked in Win CE 4.2
    D DasdaDAS

    This call is waiting infinitely and the application never comes to next line. I'm using UDP sockets. The data has been sent successfully to server. But I'm facing problem while receiving it. I tested on both smartphone emulator and real device(samsung). In both targets application is crashing when it reaches this line. Any idea why it's happening. Your help is greatly appreciated. i = recvfrom(s1,packetbuffer,sizeof(packetbuffer),0,(SOCKADDR *)&addr,&cbRemoteAddrSize); Zxczc -- modified at 5:16 Tuesday 15th November, 2005

    Mobile help mobile sysadmin

  • Number of threads Windows CE supports...
    D DasdaDAS

    Hi, Does anyone know how many threads we can create in Windows CE? I'm aware that it depends upon the system properties. Let us say, I have 64 MB RAM(minimum) in my device, then how many threads I can create? Thanks, Zxczc

    Mobile question

  • Problem with Eventlog in Windows 2003 server
    D DasdaDAS

    I have a dll which is getting instantiated from one virtual directory. And inside the dll I'm calling the following functions. HANDLE hEventSource = RegisterEventSource(NULL, _T("TrxDax") ); if (hEventSource != NULL) { .. int b = ReportEvent(hEventSource, EVENTLOG_ERROR_TYPE, 0, 0x00000001L, NULL, 1, 0, (LPCTSTR*) &lpStrings[0], NULL); ... } 1. Actually the RegisterEventSource() call is failing if the call is made from virtual dir. in Win2003. GetLastError() is returning error value(5) meaning Access denied for the call. 2. But the same thing is working on earlier versions(win2000,XP..). 3. And when the above code is used in a .exe file(simple exe file), then it's working in Win2003. Meaning..(error is reported in eventlog). 4. So, Does the enhanced security in 2003 is blocking the call when it's instantiated through virtual dir.? Is it clear? or do let me know if some more input is needed.. Thanks Find a job u love and u'll never have to work for a day in your life.... Zxczc

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

  • IIS problem in Windows 2003 Server + SP1. - Urgent
    D DasdaDAS

    Hello, We have a product with n tier architecture, which is working properly in Windows 2000. And in windows 2003 it's giving some problem. When we investigated the event viewer, it looks like problem in IIS. So, Is there a problem in IIS in win-2003 environment. If so, how do we debug the problem. Restarting the IIS will give the temporary solution. thanks, Zxczc

    Web Development sysadmin windows-admin debugging architecture help

  • the big Chaos.....
    D DasdaDAS

    Great.. Zxczc

    C# question

  • the big Chaos.....
    D DasdaDAS

    Can any one explain when to use abstract class and when to use interface? Or under which scenario we should use abstract class and interface..... Zxczc

    C# question

  • Calling C# class library in VC++6.0.......
    D DasdaDAS

    I built a class library in C#. It consists of one public method as shown below. public int calculate(int x,int y) { return x+y; } And I built the .tlb file using Regasm.exe for using it in VC++ 6.0. I created the object for the interface also. but, I can't call the methods in the class. I instatiated in the the interface as follows. void CDialogDlg::OnButton4() { MYSampleLib::_SampleClassPtr ptr;//(__uuidof(MYSampleLib::_SampleClass)); ptr.CreateInstance(__uuidof(MYSampleLib::_SampleClass)); int i = ptr.calculate(90,80); } I got the following error. error C2039: 'calculate' : is not a member of '_com_ptr_t >' what's the Chaos here??????? I'm not sure, this is the correct question in this thread or not ........ Thanks, Zxczc

    C# question csharp c++ com help

  • Receiving SMS problem
    D DasdaDAS

    It may be the platform problem. The target(i.e., PDA) may be running with PPC 2002 or some mismatch might be there. Once u find ur application compiled successfully, and if the IDE is not registering the dll on PDA, go ahead and copy the dll manually by exploring the PDA dir. Copy it windows dir. of PDA. Hope this may help, thanks Zxczc

    Mobile csharp c++ help visual-studio hardware

  • dll for pocket pc...
    D DasdaDAS

    I'm not sure what u r saying. But, what I understood is, u want to create a dll using EVC(may be regular/extension dlls), and u want to include this into ur application. This can be done, In normal way, as u r doing in VC++( desktop application), except u have to select the target processor in which the PDA is running. The dll(server) will be registered onto the PDA when u rebuild the dll. Then u can start usiing ur dll. remember this is alomst simillar to the desktop application. So, u need to mention the path of .lib, etc.. as u r doing in desktop. I haven't tried using the C# yet. If this not helps, let me know what exactly u need. thanks, Zxczc

    Mobile csharp c++ help tutorial question

  • LIB Dependencies
    D DasdaDAS

    The File view in the workspace should list out all the dependencies.. This u can c in the visual studio IDE itself. hope this will help :) Zxczc

    C / C++ / MFC data-structures question

  • SetItemData, GetItemData
    D DasdaDAS

    Or u can do ur codings in OnInitDialog() :laugh: Zxczc

    C / C++ / MFC help database debugging question

  • April 1st
    D DasdaDAS

    hey, happy B'day to u guys. :cool: Zxczc

    C / C++ / MFC question

  • MFC CreteProcess
    D DasdaDAS

    You need to mention the two parameters(STARTUPINFO & PROCESS_INFORMATION) and initialize it. Then the path of the the ".exe" file should be specified with "\\" instead of "\". If u use "\" the compiler will understand that as a escape sequence. STARTUPINFO sinfo; PROCESS_INFORMATION pinfo; ZeroMemory( &sinfo, sizeof(sinfo) ); sinfo.cb = sizeof(sinfo); ZeroMemory( &pinfo, sizeof(pinfo) ); BOOL b = CreateProcess("C:\\Program Files\\Microsoft Visual Studio\\Common\\MSDev98\\Bin\\msdev.exe",NULL,NULL,NULL,NULL,NULL,NULL,NULL,&sinfo,&pinfo); int error = GetLastError(); try this and let me know, if u have any problem.:cool: Zxczc

    C / C++ / MFC csharp c++ visual-studio question

  • capture video frame
    D DasdaDAS

    MCI_CAPTURE - use this command in the mciSendCommand() this may help. just try that. Zxczc

    C / C++ / MFC tutorial question

  • Execute Program without waiting for termination
    D DasdaDAS

    yes, I'm sure CreateProcess() is the right solution. Zxczc

    C / C++ / MFC

  • Process and parent
    D DasdaDAS

    Hi, I'm not sure what u mean. but the following may help. FindWindow() - API. thanks, Zxczc

    C / C++ / MFC question

  • How to create CButton dynamically in MFC?
    D DasdaDAS

    Hi, U can use the following method to create the buttons dynamically. In the following statement "but" is the CButton object which is declared as public class variable. if(!but.Create("click me",WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,CRect(10,10,100,30),this,ID_MYBUTTON)) AfxMessageBox("Button Not Created"); else AfxMessageBox("Button Created"); The argument ID_MYBUTTON is a macro and should be replaced with some integer values like below. #define ID_MYBUTTON 100 Then the message handling mechanism. First declare the member function in the class like as below. void MyMessage(); In the message map macro add the following step. This should be in the message map of the class in which u r going to create the button. ON_BN_CLICKED(ID_MYBUTTON,MyMessage) and define the function, i.e., MyMessage(). finally make sure that, ur member function and data members are displayed in the class view. Hit the execution icon, and check the result. Hope this will be little drilling for the people who doesn't have much knowledge about mfc and its message hook mechanism. Let me know if u have more doubts. thanks, Zxczc

    C / C++ / MFC question c++ tutorial

  • network printing problem
    D DasdaDAS

    Hi, To show the printer Dialog, you can use CPrintDialog class with appropriate values in the constructor. May be this will help u, if u use mfc. Find the job u love and u never have to work for a day in ur life.

    C / C++ / MFC help csharp sysadmin tools
  • Login

  • Don't have an account? Register

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