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
A

ALQallaf

@ALQallaf
About
Posts
32
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem with aborted thread..
    A ALQallaf

    thanks.. i just make new thread within my loop :)

    C# question help

  • Problem with aborted thread..
    A ALQallaf

    i have this problem (Thread is running or terminated; it cannot restart.) and i search for solution but what i was read about that {thread which has died cannot be resuscitated}, so how can i make the aborted thread start again ?

    C# question help

  • Error with compiling code..
    A ALQallaf

    Thanks Nishant Sivakumar its works now

    Managed C++/CLI c++ csharp visual-studio help

  • How to include or Add Referance with VC++ 2005?
    A ALQallaf

    i think it works with option : b)USe a Managed VC++ application (New project --> Visual C++ -->CLR --> Windows forms applicaion / Class library). This is a c++/cli application. This will be the easiest methed if you are planning to use System.Messaging.dll (in C++) instaed of the MSMQ COM apis. -------- Thank you Milton finally its works :-D

    Managed C++/CLI question csharp c++ tutorial

  • Error with compiling code..
    A ALQallaf

    i tryed your syntax , but still having an errors nothing changed

    Managed C++/CLI c++ csharp visual-studio help

  • Error with compiling code..
    A ALQallaf

    nothing changes still have errors when i place MessageQueue^ theQueue = gcnew MessageQueue; inside my function SendToQueue()

    Managed C++/CLI c++ csharp visual-studio help

  • Error with compiling code..
    A ALQallaf

    hello everythings gos good with the code Below, but when i try to make object (MessageQueue TheQueue = new MessageQueue;), it give me an errors says : Error 1 error C3821: 'System::Messaging::MessageQueue': managed type or function cannot be used in an unmanaged function c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\dll_from2005\MessageQueue\MessageQueue\MessageQueue.cpp 26 Error 2 error C3624: 'System::ComponentModel::Component': use of this type requires a reference to assembly 'System' c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\dll_from2005\MessageQueue\MessageQueue\MessageQueue.cpp 26 Error 3 error C3821: 'System::Messaging::MessageQueue': managed type or function cannot be used in an unmanaged function c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\dll_from2005\MessageQueue\MessageQueue\MessageQueue.cpp 26 Error 4 error C2750: 'System::Messaging::MessageQueue' : cannot use 'new' on the reference type; use 'gcnew' instead c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\dll_from2005\MessageQueue\MessageQueue\MessageQueue.cpp 26 Error 5 error C3642: 'System::Messaging::MessageQueue::MessageQueue(void)' : cannot call a function with __clrcall calling convention from native code c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\dll_from2005\MessageQueue\MessageQueue\MessageQueue.cpp 26 Error 6 error C3175: 'System::Messaging::MessageQueue::MessageQueue' : cannot call a method of a managed type from unmanaged function 'SendToQueue' c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\dll_from2005\MessageQueue\MessageQueue\MessageQueue.cpp 26 Error 7 error C2664: 'System::Messaging::MessageQueue::MessageQueue(System::String ^)' : cannot convert parameter 1 from 'System::Messaging::MessageQueue *' to 'System::String ^' c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\dll_from2005\MessageQueue\MessageQueue\MessageQueue.cpp 26 ------------------------------------------------------ ------------------------------------------------------ #include "stdafx.h" #using <system.messaging.dll> using namespace System::Messaging; #ifdef _MANAGED #pragma managed(push, off) #endif BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { return TRUE; } int _stdcall Sum(int inA, int inB) { return (inA + inB); } int _stdca

    Managed C++/CLI c++ csharp visual-studio help

  • How to include or Add Referance with VC++ 2005?
    A ALQallaf

    i think yes im in safe side :-D, now i can compile with no errors after set Common Language Runtime Support (/clr), i want to know if there is any changes between dll on vc6++ and vc2005, everytime i call function within dll by using this declaration int _stdcall SendToQueue(char * SBody,char * SLabel) { return 123; } and i have to make .def file and write exported function header inside it so it will work with vc2005 or there is problem with it ?

    Managed C++/CLI question csharp c++ tutorial

  • How to include or Add Referance with VC++ 2005?
    A ALQallaf

    actually i created my project with VC6++, the Convert and open project with VC2005, emm ok i will try to open new fresh project from 2005 directly , so i have to open managed dll project from vc2005. can you tell me which option when i want to create project give me managed dll ? currently i make win32 project--->dll with puting sign on Export symbols only. is im in right way ? -- modified at 17:42 Saturday 6th May, 2006

    Managed C++/CLI question csharp c++ tutorial

  • How to include or Add Referance with VC++ 2005?
    A ALQallaf

    Project Properties -> configuration Properties -> General -> Common Language runtime support set-->Common Language Runtime Support (/clr) but also it gives me this error: :doh: Error 1 Command line error D8016 : '/MTd' and '/clr' command-line options are incompatible cl how can i fix it please ?

    Managed C++/CLI question csharp c++ tutorial

  • How to include or Add Referance with VC++ 2005?
    A ALQallaf

    thank you i tryed it but it give me this error: Error 1 fatal error C1190: managed targeted code requires a '/clr' option can you know how to resolve it ?

    Managed C++/CLI question csharp c++ tutorial

  • How to include or Add Referance with VC++ 2005?
    A ALQallaf

    Hello im working with MSMQ , so i want to make dll that will send to MSMQ, so how can i include MSMQ Library (System.Messaging.dll) in VC++ ? C:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.Messaging.dll thanks

    Managed C++/CLI question csharp c++ tutorial

  • Error reading XML from MSMQ
    A ALQallaf

    when i want to receive fom MSMQ this exception comes(Generic Exception was thrown :system.xml:data at the root level is invalid. line 1, position 1.), the problem comes because i was send message from old MSMQ, can any one tell me how to resolve this ? is xml that used with old msmq not work with xml that used with new msmq? is there any way to fix this problem ?

    XML / XSL help xml tutorial question

  • Help Trying Connect to SQL
    A ALQallaf

    but your answer too late :), i already did it, any way thanks :-O

    ASP.NET question database sql-server sysadmin help

  • Help Trying Connect to SQL
    A ALQallaf

    im using Windows Authentication so what is my user id and password will be ?

    ASP.NET question database sql-server sysadmin help

  • Help Trying Connect to SQL
    A ALQallaf

    im using Authentication: Windows Authentication, so i did not entered username or password , for this reasone i did not specified a user in my conection string, i dont know if i have to put a user , if yes i have to then what is my user will be ? thanks

    ASP.NET question database sql-server sysadmin help

  • Help Trying Connect to SQL
    A ALQallaf

    Im new in SQL, im trying to connect to sql data base but it give me exception-->(Login failed for user ''. The user is not associated with a trusted SQL Server connection.) i think there is wrong with SqlConnection parameter, so what is the wrong? im with sql express 2005 & vs2005 SqlConnection SQLConn; SQLConn = new SqlConnection( " Data Source = .\\SQLEXPRESS;" + " Initial Catalog = MTDB; " ); SQLConn.Open();

    ASP.NET question database sql-server sysadmin help

  • How to stop Backgroundworker ?
    A ALQallaf

    What is sequance to stop Backgroundworker?, what function to use to stop it?

    C# question tutorial

  • How output msg from thread to label windows control ?
    A ALQallaf

    is this simple example :omg: ? if yes , what about complex one hehehe :laugh: i searched befor , i found MSDN example but it is so long, what i want is real simple example because i dont have time for my project.

    Visual Basic question

  • How output msg from thread to label windows control ?
    A ALQallaf

    is there any simple example doing this?

    Visual Basic 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