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
G

guestcat

@guestcat
About
Posts
30
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • failed accessing COM method after successful cocreateinstance.
    G guestcat

    try sending the second parameter as widechar L"VPCI" or as BSTR. and if the last parameter is string, do not send as 0. try sending NULL or empty string L"".

    ^-^ @|@ - redCat

    COM help c++ com tutorial

  • failed accessing COM method after successful cocreateinstance.
    G guestcat

    hi, could you please be more specific on this? 1) check you called the CoInitialize() and the component is register in the machine and the instance is created properly. 2)check the component created and being accessed are on the same thread.

    ^-^ @|@ - redCat

    COM help c++ com tutorial

  • I'm novice to Windows work flow . how to get database tables data using queries or stored procedures?
    G guestcat

    hi Ravi, your question tells you are a beginner to WWF. also, WWF does not have to do anything about database connections. learn ADO.net to know this. Essential Windows Workflow Foundation with Addison wesley publications is a good book to start with WWF.

    ^-^ @|@ - redCat

    WCF and WF database help tutorial question learning

  • COM and COM+ ?
    G guestcat

    Hi, Basically COM+ = COM + MTS (microsoft tranaction server). COM+ is built using Aspect Oriented Design. Aspect oriented design are like some aspects(security, pooling etc) that you can use from the framework and not required to progrm by yourself. this is what COM+ provides once you create a COM+ application and register you componet with that.

    ^-^ @|@ - redCat

    COM question com

  • Activex Messages don´t work at runtime
    G guestcat

    hi, if you are trying to create an ActiveX control at runtime , be sure that you are calling the AfxEnableControlContainer() of method. and CoInitialize() also. call these functions in OnInitIntstance()/CWinApp hope this works!

    ^-^ @|@ - redCat

    COM c++ question com help learning

  • COM compilation
    G guestcat

    hi, try to learn how to program it as a Automation client and DCOM. you do not need the signature information about the COM server if you go by this way!

    ^-^ @|@ - redCat

    COM com sysadmin question

  • Declare shared function in com (vc++)
    G guestcat

    Hi, I guess you need to be more clear with your requirements. else you drop in such situation. you could full fill your requirement by exposing c++ static methods. what makes to do this thru COM. COM is full if dynamic bindings. and VB shared stuff is full of static things that are decided at compilation.....

    ^-^ @|@ - redCat

    COM c++ com question

  • How To pass structure or complex data in IDispatch using invoke() method [modified]
    G guestcat

    Hi, Can you please provide the method signature that you want to access? you cannot send the structure just like that to a method in COM. Only you can pass the arguments that are agreed in the IDL of the COM server. you can find the signature using the OLE VIEWER.

    ^-^ @|@ - redCat

    COM tutorial csharp c++ com sysadmin

  • Activex Control ->Running Programaticly [modified]
    G guestcat

    This is an issue with the Threading Model.your ocx might have an ui, which the console cannot display. if you are sure that does not have any ui, try registering with the COM+ and try to use from your console.

    ^-^ @|@ - redCat

    COM csharp winforms com tutorial question

  • Newbie - Memory sharing in COM
    G guestcat

    Hi, i can suggest a simple solution for the problem. you can check the value returned from your dll and open the file using .net classes.

    ^-^ @|@ - redCat

    COM question com sysadmin performance help

  • dll problem
    G guestcat

    Hi manu, try passing BSTR or unicode strings as the parameter value. do not pass strings like "" etc, give some value like L"myValue".

    ^-^ @|@ - redCat

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

  • How can i use dll function in c++.net ? please help .
    G guestcat

    simply #include the header file and put the .lib file in the linker section. if u do not have the header file but you know the signature then use [DllImport] to call the methods from the dll. first one is the easiest way.

    ^-^ @|@ - redCat

    Managed C++/CLI question csharp c++ graphics game-dev

  • WinMain ambiguity Error
    G guestcat

    hi, i am using Visual C++ toolkit 2003. i am writing a windows forms application. if i click a button , it has to call an win 32 api from windows.h, say MessageBox(), i included #include windwos.h now it is giving an ambiguity error WinMain is already defined, how to get out of this, even i tried the order of #using mscorlib.dll # include windows.h // i am having some assumption or workarounds for this,, but i need a solution ?? // because i am intersted in discussing about this .. // warm welcome for the discussion

    ^-^ @|@ - redCat

    Managed C++/CLI c++ winforms json help tutorial

  • How to get IP address?
    G guestcat

    hi , i want to know how to get the ip address of a machine in the network programatically, if i give the hostname. thanks - ^-^ @|@ - redCat

    C / C++ / MFC sysadmin tutorial question

  • how to call function with parameter char**
    G guestcat

    I have a Unmanaged Dll. signature of the function is : Err_code f1(char** return_name); what marshal types can i use for this? the eq unmanged code is : char* name = NULL; f1(&name); printf("%s",name); i do not know how to use the marshal types for this situation? thanks in advance :) ^-^ @|@ - redCat

    Managed C++/CLI tutorial question

  • calling function in unmanaged dll with paramter char**
    G guestcat

    hi all, i need to call a function in an unmanaged dll say ERR_CODE MyUnmanagedFn( char** param); the memory of the param is managed by the dll itself. the unmanaged code to use this is char* XX = NULL; MyUnmanagedFn(&XX); // this is working fine. this memory is allocated and released sometime later automatically by the dll. now, i an facing some problem calling this function from Managed c++. the ERR_CODE returned is NULL_PARAMETER. ideally means that the paramter is NULL. what is the equivalent MC++ code for this? ^-^ @|@ - redCat

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

  • C++.net and Acrobat
    G guestcat

    Hi this is nothing but ActiveX. will u please send the code to me so that i can dissect it for u and give you some explainations about how each and every part of that is working. send to redcatsin@hotmail.com ^-^ @|@ - redCat

    COM tutorial csharp c++ help question

  • reg files
    G guestcat

    hi , your question is sooo abstract, will u please explain in detail. ^-^ @|@ - redCat

    C / C++ / MFC question

  • Registering Windows Service
    G guestcat

    i need to register a windows service as two different services. Scenario: i have a windows service ServiceX1.exe, started with command "net start ServiceX1". i need to register and start the same exe as "net start ServiceX2" -> registered with name ServiceX2. so that these two instances take different parameters and run. also i want to know how to register the service with startup arguments with the "sc create" command. ^-^ @|@ - redCat

    C / C++ / MFC tutorial

  • error(plz give the solution for this)
    G guestcat

    hi, i guess this is a simple probelem where u forgot to link with your .lib file. in the linker error you can get the function names which are not resolve. and include the .lib file in your project > settings > link > Object/Library modules. enter your .lib file name here. and rebuild all - ^-^ @|@ - redCat

    C / C++ / MFC debugging 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