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
M

mkrelli

@mkrelli
About
Posts
13
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • File System Filter Driver
    M mkrelli

    Hi. I'm searching for a relatively easy way to get a Filter Driver working. I need it for some sort of data consistency tool, that I'm planning to write. I've searched the net for a library simlar to the IFS Kit provided by Microsoft for their Windows DDK. Is there something like this for MinGW? But the best solution for me would be a complete component that I can use quickly without writing the complete driver. I need no special functionalty. The standard (create/read/write...) methods plus the output of the data read/written are fine for me. I found some non-free SDKs, but nothing that is opensource. Does somebody know souch components? Thanks, Martin.

    Hardware & Devices algorithms question

  • error 80040154 at instantiation of COM object
    M mkrelli

    Hello everybody. I'm actually working on a service for phone call notification... However, to achieve that I downloaded a library called CapiThread (this is a sort of wrapper for the capi2032.dll). This is an "old" Win32 dll that exports 5 methods. (InitCapiThread, CloseCapiThread, RegisterNotifyMessage, SetRequest, GetIndication). To use that dll within a C# Windows-Service project i've written a COM wrapper (COM Object ISDNCapi). The ISDNCapi object retrieves the notifications thrown by the CapiThread dll if an indication is pending and fires an event (OnCapiIndication). There are some other classes to hold the data of the indications and requests. i know that i can youse P/invoke. but i've choosen to build a com wrapper, because i want to have a more general solution. so i can use it with other languages... and i found the event handlers better than hooking on notify messages (in C#) the CapiThread.dll sends. Okay... Now i've build a metadata-dll with TLBIMP that i use in my program. (As descripted in "COM Interoperability in .NET Framework: Part I"). The code compiles without any problems, but during the instantiation of my class ISDNCapi the following error raises: Retrieving the COM class factory for component with CLSID {3A5119AE-E5CC-406F-8F62-FFC340C424CE} failed due to the following error: 80040154. The component is definetly registered and can access it's dependecies, because instantiation it in VB6 causes no error and the regsvr32 succeeds also. Somebody suggested me to check if the class factory registers correctly... but i've never done this seperately (in vc 6) so i don't know howto register it nor what to look for... i've created the project with the option "component registrar". do i have to call the RegisterAll function of the Registrar class? can anybody please check it in my code? I've uploaded the sources of my projects to my server: CapiWrapperSln ISDNMonServer And here are the complete exception details: System.Runtime.InteropServices.COMException was unhandled Message="Retrieving the COM class factory for component with CLSID {3A5119AE-E5CC-406F-8F62-FFC340C424CE} failed due to the following error: 80040154." Source="ISDNMonServer" ErrorCode=-2147221164 StackTrace: at ISDNMonServer.ISDNMonServer..ctor() in E:\Entwicklungsumgebung\Projekte\Office\ISDNMon\ISDNMonServer\ISDNMonServer.cs:line 20 at ISDNMonServer.Program.Main() in E:\Entwicklungsumgebung\Projekte\Office\ISDNMon\ISDNMonServer\Program.cs:line 22 at System.AppDomain.nExecuteAssembly(Assembly ass

    COM csharp dotnet com sysadmin

  • error 80040154 at instantiation of COM object
    M mkrelli

    Hello everybody. I'm actually working on a service for phone call notification... However, to achieve that I downloaded a library called CapiThread (this is a sort of wrapper for the capi2032.dll). This is an "old" Win32 dll that exports 5 methods. (InitCapiThread, CloseCapiThread, RegisterNotifyMessage, SetRequest, GetIndication). To use that dll within a C# Windows-Service project i've written a COM wrapper (COM Object ISDNCapi). The ISDNCapi object retrieves the notifications thrown by the CapiThread dll if an indication is pending and fires an event (OnCapiIndication). There are some other classes to hold the data of the indications and requests. i know that i can youse P/invoke. but i've choosen to build a com wrapper, because i want to have a more general solution. so i can use it with other languages... and i found the event handlers better than hooking on notify messages (in C#) the CapiThread.dll sends. Okay... Now i've build a metadata-dll with TLBIMP that i use in my program. (As descripted in "COM Interoperability in .NET Framework: Part I"). The code compiles without any problems, but during the instantiation of my class ISDNCapi the following error raises: Retrieving the COM class factory for component with CLSID {3A5119AE-E5CC-406F-8F62-FFC340C424CE} failed due to the following error: 80040154. The component is definetly registered and can access it's dependecies, because instantiation it in VB6 causes no error and the regsvr32 succeeds also. Somebody suggested me to check if the class factory registers correctly... but i've never done this seperately (in vc 6) so i don't know howto register it nor what to look for... i've created the project with the option "component registrar". do i have to call the RegisterAll function of the Registrar class? can anybody please check it in my code? I've uploaded the sources of my projects to my server: CapiWrapperSln ISDNMonServer And here are the complete exception details: System.Runtime.InteropServices.COMException was unhandled Message="Retrieving the COM class factory for component with CLSID {3A5119AE-E5CC-406F-8F62-FFC340C424CE} failed due to the following error: 80040154." Source="ISDNMonServer" ErrorCode=-2147221164 StackTrace: at ISDNMonServer.ISDNMonServer..ctor() in E:\Entwicklungsumgebung\Projekte\Office\ISDNMon\ISDNMonServer\ISDNMonServer.cs:line 20 at ISDNMonServer.Program.Main() in E:\Entwicklungsumgebung\Projekte\Office\ISDNMon\ISDNMonServer\Program.cs:line 22 at System.AppDomain.nExecuteAssembly(Assembly ass

    C# csharp dotnet com sysadmin

  • Virtual Network Interface
    M mkrelli

    Hello. Can anybody tell me how to create a virtual network interface with the .Net Framework and VB.NET? Do I have to write a driver in general or is the .net framework able to do this? thx, Martin.

    Visual Basic csharp dotnet sysadmin tutorial

  • error 80040154 at instantiation of COM object
    M mkrelli

    i thougt i'd already answered... hm, maybe i forgot to post it :doh: i've created the project with the option "component registrar". do i have to call the RegisterAll function of the Registrar class? in vc 6 i never had to register the class factory separately... so i don't really know what to look for :-> . can you please check it in my sourcecode i've posted before? i know that i can youse P/invoke. but i've choosen to build a com wrapper, because i want to have a more general solution. so i can use it with other languages... and i found the event handlers better than hooking on notify messages (in C#) the CapiThread.dll sends. thx. Martin

    C# csharp dotnet com sysadmin

  • error 80040154 at instantiation of COM object
    M mkrelli

    Hello everybody. I'm actually working on a service for phone call notification... However, to achieve that I downloaded a library called CapiThread (this is a sort of wrapper for the capi2032.dll). This is an "old" Win32 dll that exports 5 methods. (InitCapiThread, CloseCapiThread, RegisterNotifyMessage, SetRequest, GetIndication). To use that dll within a C# Windows-Service project i've written a COM wrapper (COM Object ISDNCapi). The ISDNCapi object retrieves the notifications thrown by the CapiThread dll if an indication is pending and fires an event (OnCapiIndication). There are some other classes to hold the data of the indications and requests. Okay... Now i've build a metadata-dll with TLBIMP that i use in my program. (As descripted in "COM Interoperability in .NET Framework: Part I"). The code compiles without any problems, but during the instantiation of my class ISDNCapi the following error raises: Retrieving the COM class factory for component with CLSID {3A5119AE-E5CC-406F-8F62-FFC340C424CE} failed due to the following error: 80040154. The component is definetly registered and can access it's dependecies, because instantiation it in VB6 causes no error and the regsvr32 succeeds also. So what i'm doing wrong? (While writing this article i'd an idea: I'm using WinXP x64 platform. Could that be the cause of the error? - But i'm definetly compiling for Win32) I've uploaded the sources of my projects to my server: CapiWrapperSln ISDNMonServer And here are the complete exception details: System.Runtime.InteropServices.COMException was unhandled Message="Retrieving the COM class factory for component with CLSID {3A5119AE-E5CC-406F-8F62-FFC340C424CE} failed due to the following error: 80040154." Source="ISDNMonServer" ErrorCode=-2147221164 StackTrace: at ISDNMonServer.ISDNMonServer..ctor() in E:\Entwicklungsumgebung\Projekte\Office\ISDNMon\ISDNMonServer\ISDNMonServer.cs:line 20 at ISDNMonServer.Program.Main() in E:\Entwicklungsumgebung\Projekte\Office\ISDNMon\ISDNMonServer\Program.cs:line 22 at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

    C# csharp dotnet com sysadmin

  • suspending an application?
    M mkrelli

    hi to all... :) how hard is it to suspend a single application to disk an restore it later? (like the built in suspend functionality in windows xp - just on app layer) the target os is windows xp. i mean getting a dump of the application memory might not be that hard, right? but what i've to do to restore it? writing the data back into memory... okay. but how do i recreate the app thread, windows, classes, etc.? are there already solutions for such processes? you may find i'm a bit crazy :wtf:, but i find that's the best way to switch between different workspaces (development, video auth., gaming, entertainment - you know what i mean?) for doing something else and afterwards going back to the last work... any better (or easier) ideas? thx martin

    IT & Infrastructure question performance

  • get windows 2000 domain user password hash
    M mkrelli

    hi ok, you may be right... but I thougt Windows uses some general algorithm like MD5 or anything else. But the idea with an client<->server app is not bad. It's easier to use. ;) thx Martin

    C / C++ / MFC database sysadmin algorithms security cryptography

  • get windows 2000 domain user password hash
    M mkrelli

    Hi! I'm going to build a tool that should upload Windows 2000 domain user accounts on a webserver for login purposes... (It's needed for our school website www.leibniz-gymnasium.de to easily manage accounts for pupils) Is there a way to get the account passwords (encrypted hashes are enough)? And which encryption algorithm uses Windows 2000 Server? (to generate hashes from the user typed passwords) I know that a level 3 NetGetUserInfo query returns a pointer structure (USER_INFO_3) containing a pointer to the password string - but this seems to be a null pointer in a Windows 2000 domain environment (as msdn tolds) Thank you for helping! Martin

    C / C++ / MFC database sysadmin algorithms security cryptography

  • Read Summary Information out of WordFiles
    M mkrelli

    As I said: I want to read the summary information out of an word file. I got a definition page of a wordfile (v8.0) at http://www.wotsit.org. But the offsets described in this file seems to be invalid. Infos: SummaryInformation -> STTBFASSOC (Table of Associated Strings) STTBFASSOC -> offset in FIB: 410 0x019A fcSttbfAssoc long the FIB starts at offset 0x0000 Maybe somebody had the same problem ... and fixed it? So that he can help me... thx Martin

    C / C++ / MFC help question

  • Read Summary Information out of WordFiles
    M mkrelli

    As I said: I want to read the summary information out of an word file. I got a definition page of a wordfile (v8.0) at http://www.wotsit.org. But the offsets described in this file seems to be invalid. Infos: SummaryInformation -> STTBFASSOC (Table of Associated Strings) STTBFASSOC -> offset in FIB: 410 0x019A fcSttbfAssoc long the FIB starts at offset 0x0000 Maybe somebody had the same problem ... and fixed it? So that he can help me... thx Martin

    Visual Basic help question

  • howto get fileinformation
    M mkrelli

    Hi! I want to read some information stored in a file. I mean such as Comment, Title, Author or Keywords. Are there some APIs that do that ... or must I access the file directly? Maybe somebody have some code example for me? Furthermore I want to write (change) this information... Thanks Martin

    C / C++ / MFC tutorial question

  • howto get fileinformation
    M mkrelli

    Hi! I want to read some information stored in a file. I mean such as Comment, Title, Author or Keywords. Are there some APIs that do that ... or must I access the file directly? Maybe somebody have some code example for me? Furthermore I want to write (change) this information... Thanks Martin

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