// Created by Microsoft (R) C/C++ Compiler Version 12.00.9782.0 (d7df5201).
//
// c:\ssroot\faellesindbetaling\common\poaif\poa_if\debug\poahandler.tlh
//
// C++ source...
I've checked the generated tlh file, and it does include the correct namespace. (Starts out with namespace PoaHandler {)
I start the cpp file with
#import "..\poahandler\poahandler\poahandler.tlb"...
I've tested a little more, and found that the problem isn't only with the C# code.
I removed the call to the webservice, and just let my function return true all the time. I recompiled, and this...
Ah...it seems that what it is really nagging about is that it doesn't like the service reference in the Csharp project, apparently because it doesn't have [ClassInterface(ClassInterfaceType.None)]
At the moment, when I try to register the DLL, my command prompt looks like this:
C:\SSRoot\FaellesIndbetaling\Common\POAHandler\POAHandler>regasm .\bin\Debug\POA
Handler.dll...
I just (a few minutes ago) got past that little problem. It was a dll that wasn't registered correctly and some missing dlls for that one. Regtlib and regsvr32 are my friends :-)
I have a vb6 program that works fine on my own developer machine, but when it is put on our test machine, I get the "ActiveX component can't create object" error. I pops up when the program loads,...
Yes, I managed to solve it, and using this:
http://www.codeproject.com/Articles/3025/Collapsible-Splitter-control-in-C
which is derived from SplitContainer. Works like a charm, once I learned how...
I have a web app, where when you click on a button, a web page is sometimes (depending on other choices in the web page) generated. I want to be able to open the newly generated web page in a new tab...
I try to use MSComctlLib, and it is added to the vb6 project and also (I believe) correctly registered in windows.
When I compile, I am told that for MSComctlLib.tvwTreelinesPlusMinusPictureText the...
I have a program with three groupboxes, each containing a datagrid.
At the moment, only one of the groupboxes and datagrid sizes with the form, and it has been anchored to all four sides.
I'd like...
I think it happens more often than one might think. Something is made, and people say "it works, let's not mess with it". Then one day they want to change a minor thing, or something stops working...
Strange that my google search didn't find those too. I tried the define, the code and the text all in one, and only found places that listed the errors without explanation. Oh-well...it seemed that...