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

Developer611

@Developer611
About
Posts
50
Topics
20
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • NotSupportedException
    D Developer611

    Hi, I wrote an application that able to connect another bluetooth device in .Net Framework 2.0 using bluetooth API, now I want to do this with .Net Compact Framework on my mobile device. That's the problem, When I'm Calling Bluetooth API like WSAStartup or using SizeOf or any other methods of Marshal class, it gives me NotSupportedException exception. Please tell me how can i solve this problem. Thank you.

    DMASTER

    Mobile csharp dotnet json help question

  • NotSupportedException
    D Developer611

    Hi, I wrote an application that able to connect another bluetooth device in .Net Framework 2.0 using bluetooth API, now I want to do this with .Net Compact Framework on my mobile device. That's the problem, When I'm Calling Bluetooth API like WSAStartup or using SizeOf or any other methods of Marshal class, it gives me NotSupportedException exception. Please tell me how can i solve this problem. Thank you.

    DMASTER

    C# csharp dotnet json help question

  • NotSupportedException
    D Developer611

    Hi, I wrote an application that able to connect another bluetooth device in .Net Framework 2.0 using bluetooth API, now I want to do this with .Net Compact Framework on my mobile device. That's the problem, When I'm Calling Bluetooth API like WSAStartup or using SizeOf method of Marshal class, it gives me NotSupportedException exception. Please tell me how can i solve this problem. Thank you.

    DMASTER

    .NET (Core and Framework) csharp dotnet json help question

  • Printer DC
    D Developer611

    Thanks to your reply. I don't want to use MFC, I need a solution with windows API.

    DMASTER

    C / C++ / MFC question

  • Printer DC
    D Developer611

    Hi there . How can I get the printer DC ?

    DMASTER

    C / C++ / MFC question

  • Mouse Notifications
    D Developer611

    Thank you my friend ,that was i want .

    DMASTER

    C / C++ / MFC question

  • Mouse Notifications
    D Developer611

    Dear Pallini thanks to your reply, Mr.Pallini I know this method, my problem is which message of mouse notification must be process to use this functions ? thanks.

    DMASTER

    C / C++ / MFC question

  • Mouse Notifications
    D Developer611

    Hi there . I want to get mouse coordinate on desktop, I can do it and it's worked but only on application own windows. how can i process mouse notification in all other open window include desktop? Sorry about my English, my English is not so good . thanks.

    DMASTER

    C / C++ / MFC question

  • run without .net framework?
    D Developer611

    Hi there. have you try this my friends ? if your project is an win32 application project !! i think you can use this configuration : Project menu --> project properties --> configuration properties --> general --> in project defaults group select No Common Language Runtime support for common language runtime support . your application will never need to .net framework

    DMASTER

    C / C++ / MFC csharp c++ dotnet question

  • Error in MD5Init() Function
    D Developer611

    Dear Pallini, Thanks to your reply.

    DMASTER

    C / C++ / MFC help regex question

  • Error in MD5Init() Function
    D Developer611

    Hi there . I can't call MD5Init() function. in fact i can't initialize MD5 message digest context . here is my code : #include // Declare pattern of function implementation int __stdcall WinMain(HINSTANCE, HINSTANCE, LPSTR, int); int __stdcall WndProc(HWND, UINT, WPARAM, LPARAM); CCoding clsCoding; // // MD5 structure information // typedef struct { ULONG i[2]; ULONG buf[4]; unsigned char in[64]; unsigned char digest[16]; } MD5_CTX; // // The MD5Init function initializes an MD5 message digest context. // typedef void (*MD5Init)(MD5_CTX*); // // The MD5Update function updates the MD5 context by using the supplied buffer for the message whose MD5 digest is being generated // typedef void (*MD5Update)(MD5_CTX*, unsigned char* input, unsigned int inlen); // // The MD5Final function ends an MD5 message digest previously started by a call to the MD5Init function // typedef void (*MD5Final)(MD5_CTX); // ============================== int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { // // Handle to the dll file // HINSTANCE hinstLib; // =============================== // Declare variable of type def // MD5Init InitializeMD5; MD5Update UpdateMD5; MD5Final FinalizeMD5; MD5_CTX md5Ctx; // ============================== hinstLib = LoadLibrary(L"Cryptdll.Dll"); // If the handle is valid try to get function address if (hinstLib != NULL) { InitializeMD5 = (MD5Init) GetProcAddress(hinstLib, ("MD5Init")); UpdateMD5 = (MD5Update) GetProcAddress(hinstLib, ("MD5Update")); FinalizeMD5 = (MD5Final) GetProcAddress(hinstLib, ("MD5Final")); // If the function address is valid try call function if (InitializeMD5 != NULL) { (InitializeMD5)(&md5Ctx); (UpdateMD5)(&md5Ctx,(unsigned char*) md5Ctx.in, 10); (FinalizeMD5)(md5Ctx); } } DialogBox(hInstance, MAKEINTRESOURCE(IDD_FORMMAIN), NULL, WndProc); return 0; } Error : Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention. Where is the problem ?

    DMASTER

    C / C++ / MFC help regex question

  • How can i query application start ?
    D Developer611

    I know these functions and their usage! but as you know, I should use them AFTER the process is already ran, and (for example) i should use them on the click of a button! the problem is that, my application should be aware of the process start, AS SOON AS THE PROCESS STARTS, and do its job automatically. I'm looking for a method, to make my application aware of the start event FOR ALL THE APPLICATIONS, not just an specific one. Something like a system message (WM_*), which is sent to ALL the applications (including mine) to notify them of a process start.

    DMASTER

    C / C++ / MFC question database

  • How can i query application start ?
    D Developer611

    Dear Hamid, thanks to your reply. But, my question is that, when ever the user runs an application, how can i make a notification of that process start, in my own application. In fact, i want to query the process-start! I wonder if any system message (or any other method) exists, when an application starts?!

    DMASTER

    C / C++ / MFC question database

  • How can i query application start ?
    D Developer611

    Hello there , I want to get handle of specific application before start ,but i don't know how can i get that message and process it . in fact , i don't know exactly which message , i must be process . Thank you .

    DMASTER

    C / C++ / MFC question database

  • Error 5172
    D Developer611

    Hi there . please help me about this error : The header for file '%ls' is not a valid database file header. The %ls property is incorrect. I don't have any backup. help me to restore my db

    DMASTER

    Database database help

  • Log on services as Local System account
    D Developer611

    Hi there . Is there any way to change log on account of services ? For example : we have SQL Server(INSTANCENAME) service and it logged on by 'NT AUTHORITY', now i want to know clear, how can i tell this service log on by Local System account . Thank you all .

    DMASTER

    C# question database sql-server sysadmin tutorial

  • Problem with LDF files ( database log file )
    D Developer611

    Hi there . I have a problem with SqlServer 2005 Log file . I have an application and i want to attach my database to SqlServer , I did it by SqlConnection and ConnectionString ,in many times it gives me an error. I know that when we use AttachDbFilename property in Connection for attach DB we don't need database log file, But most of times it gives me this error: "Unable to open physical file 'filpath_log.LDF'. Operation system error 5: "5(error not found)". Could not open new database 'DbName'. CREATE DATABASE is aborted. Cannot attach the file 'FilPath.mdf' as database 'DbName'. File activation failure. The physical file name 'filpath_log.LDF' may be incorrect. The log cannot be rebuilt when the primary file is read-only.' I wonder to say sometimes attachment works but sometimes not. I already did this attachment process with SQLServer 2000 and it never gives me error .

    DMASTER

    C# database help

  • Problem with LDF files ( database log file )
    D Developer611

    Hi there . I have a problem with SqlServer 2005 Log file . I have an application and i want to attach my database to SqlServer , I did it by SqlConnection and ConnectionString ,in many times it gives me an error. I know that when we use AttachDbFilename property in Connection for attach DB we don't need database log file, But most of times it gives me this error: "Unable to open physical file 'filpath_log.LDF'. Operation system error 5: "5(error not found)". Could not open new database 'DbName'. CREATE DATABASE is aborted. Cannot attach the file 'FilPath.mdf' as database 'DbName'. File activation failure. The physical file name 'filpath_log.LDF' may be incorrect. The log cannot be rebuilt when the primary file is read-only.' I wonder to say sometimes attachment works but sometimes not.:wtf: I already did this attachment process with SQLServer 2000 and it never gives me error X| .

    DMASTER

    Database database help

  • Some Sources!
    D Developer611

    Looking for www.asp.net

    DMASTER

    C# csharp asp-net learning

  • How to drop builtin\administrators account from sql server
    D Developer611

    Yes . I can remove the login 'BUILTIN\Administrator' or other built-in accounts with management console but i can't remove it with SQL query . My problem is remove with sql query . How can I do this ?

    DMASTER

    Database database security question sql-server sysadmin
  • Login

  • Don't have an account? Register

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