i wrote a com dll in vc6,and wanna ref it in vc.net,but failed. another way,i try to import it into my test client app using "#import",then failed too,with the compiler error:"fatal error C1083: Cannot open type library file:'D:MyFirstSrvDll\Debug\MyFirstSrvDll.dll'"
williamchou
Posts
-
why my com dll could not be imported -
why interop.xxx.dll generate by .net devthank Charlie, you have told me what i want to know,and the more correlative information is useful to me, thanks a lot!
-
why interop.xxx.dll generate by .net devwhen refing com dll(eg. xxx.dll),the .net dev auto generates a corresponding interop.xxx.dll,i can't understand this oddball action,why does it occur?
-
how to preprocess "ctrl + c" in console programhi, how to preprocess "ctrl + c" in console program,i want to using .net class implement this function. thanks
-
how to write debug code for nt service(c#)hi, generall we should use process attach tools when debuging service program, but it's not always available. could i write some extra code to enter into service main procedure directly, so i can gain some more debug information.
-
the msmq problemhi, how to send msg to remote host queue using ip address(using System.Messaging.MessageQueue).
-
dll problem:how to gain the fucntion's parameters in dll filehi, now i should get the param from the dll function,i just could gain the symbol(function name) in dll(and i can't make sure which language have been used to create the dll),but how to gain the fucntion's parameters in dll file? thanks!
-
@@trancount problemi set implicit_transactions off at the beginning of the proc,such as: 'alter proc sp_myproc @i_input as set implicit_transactions declare @tmp int ... ' but when i debug it,i find behind the 'set implicit_transactions' is a strange message:'set implicit_transactions on',now who active this event,why can it happen?
-
@@trancount problemthanks, but a new problem appears,when i call this proc in my embeded c sql,the return value is -266,which is the same problem @@trancount,i am nearly insane for this bad luck,why?
-
@@trancount problemoh,i'm sorry, i did work in Implicit Transactions mode,but this mode was not setted by me, now how can i cancel this mode
-
@@trancount problemno,i assure i had not used this mode
-
@@trancount problemyes,commit trans decremented by 1,but after this command ,the @@trancount is 1,not 0,the problem is what makes the strange,the @@trancount incremented by 2?
-
@@trancount problemhi, why after execution of 'begin transaction' the @@trancount=2(original value is 0)? thanks!
-
the sql error -1when using embeded sql,i declare and open a cursor in a function which worked well,and fetch record from the cursor in other function,the problem was that the record had been fetched,but the return sql code was -1,why? and the other problem:the similar problem occured when declare and open a cursor,the return sql code was -1,it's bad result. thans!
-
run time errorthe field is defined as char ls_BureauID[4],now this problem has been resolved by enlarging it's length,but i want to know some more run time knowledge,for when and why this prompt come out? thanks!
-
run time errorhi, the message in debug show "Run-Time Check Failure #2 - Stack around the variable 'ls_BureauID' was corrupted!" what's the meaning? thanks!
-
the problem of @@TRANCOUNT--how to eliminate the no.266 errorthe problem of @@TRANCOUNT--how to eliminate the no.266 error