thank you so much of your briefly answer! :) S
Sara123
Posts
-
Error loading type library/DLL -
Error loading type library/DLLI’m using idl file to create COM Type Library, Here is the idl: import "oaidl.idl"; import "ocidl.idl"; [ uuid(71050F79-3FC6-4BCA-BC36-A79465500B71), version(1.0), helpstring("MyProj 1.0 Type Library") ] library MyProjLib { importlib("stdole32.tlb"); importlib("stdole2.tlb"); importlib("..\Interfaces\Interfaces.tlb"); [ uuid(83BC908B-C13C-4D6A-B290-C97057ACEBC4), helpstring("MyClass Class") ] coclass MyClass { [default] interface IMyProjMessage; }; }; In another project, I call the library with: #import "..\..\MyProj\MyProj.tlb" raw_interfaces_only, raw_native_types, no_namespace, named_guids Here’s the error I've got: fatal error C1084: Cannot read type library file: '..\..\MyProj\MyProj.tlb': Error loading type library/DLL. I am newer for com & activeX controls – can someone help me? Many thanks, S
-
COM Exception - another try hereI have a com object, created on c++ (using VS2005) And another c# library that referenced to that object. When I try to create new object - I get the follows: Retrieving the COM class factory for component with CLSID {B1901D41-……….} failed due to the following error: 80040111 I googled for that error, and only found it out when using external programs, like Excel, IExplorer, etc. I’m afraid in one of my tries I destroyed something in the registry… Can someone help me with my problem? This is driving me crazy… Moreover, I am looking for a good site who explains clearly about the COM objects, interop, and the correct use of them. Thanks, Sara
-
COM dll failed to register in debug modethere is 2 others kinds of libraries: debug libraries and release libraries: the debug are all end with D you have to use the right dll - in order the registry will success. you can check your dll with dependency walker good luck! :)
-
Retrieving the COM Class factory for COMponent class factory with the CLSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80080005You mantioned that you "have already configured the security settings of dcom" - can you specify more: what it the meaning of that? where did you do that - in the registry? under which path? thanks!!
-
COM Exception when trying to create new com objectI have a com object, created on c++ (using VS2005) And another c# library that referenced to that object. When I try to create new object - I get the follows: Retrieving the COM class factory for component with CLSID {B1901D41-……….} failed due to the following error: 80040111 I googled for that error, and only found it out when using external programs, like Excel, IExplorer, etc. I’m afraid in one of my tries I destroyed something in the registry… Can someone help me with my problem? This is driving me crazy… Moreover, I am looking for a good site who explains clearly about the COM objects, interop, and the correct use of them. Thanks, Sara
-
How to know when a file created is completed? (in FilestreamWatcher)Perhaps it doesn't mean long file name, or hard business, but it worked!!!!!! :) Which internal side are you recommend to init the buffer (I multiplied it - the value before was like 8912...)? Thanks!!!!!!!
-
How to know when a file created is completed? (in FilestreamWatcher)with hope I've got what you meant - this is my problem: each file name is at least 25 characters, and the business I have to do inside is actually a bit of work... and it takes time.. Do you have any other idea? Thanks!! Sarah
-
How to know when a file created is completed? (in FilestreamWatcher)Hi, After reading Chris Maunder’s message, I am a little bit afraid of writing my message…. Anyway, I will make an effort to ask my message courteously. I used ‘FileSystemWatcher’ to read files from a directory path, what I had to do was to ReadAllBytes of the file had been created, to display the result in some way, and delete the file. I had a problem that had been discussed in many forums – how to know if the file’s create is completed, All brought to Microsoft forum: http://www.thescripts.com/forum/post1712613-10.html, I used the advice written there: while(true) { Try to open the file for reading Break if succeeded Catch an exception and sleep(1000) – if the file is in use by another process. } That worked as well. Now, my problem is when I send to the directory load of files at a short time – the FileStreamWatcher recognizes the first files – but stops there and doesn’t continue to read the all the others. I have no way to debug it line by line, because when I put a breakpoint there, passes enough time to read the next file… and the point is that the time between the create and delete is too short. Please pass the answer also to my direct email: sara.sekler@verint.com I hope my question is clear and brief enough …. :) Many thanks, Sarah
-
How to Write a Site to a Mobile Phone?Hi, If anyone can help me with the following question - I will be pleased. I wrote an asp.net program in VS2005 - with c# code, Is there a way to surf it from the mobile? Is it available without any additional code - or it oversevere? many thanks, :) Sarah