Re: Large-Number Math DLL?



"JR" <NoMail@xxxxxxxxx> wrote in message news:euct2q$lqe$1@xxxxxxxxxxxxxxxxxxxxxxxxx
If you get hundreds of error messages, most likely you have to set the include library, Settings -> C/C++ -> Preproessor -> Additional include directories, to the directory where you have the .h files of the library.

Please note that for VB6 you have to compile every entry point with __stdcall and there are other restrictions. I find it easier to write little C routines that interface with VB6 the way that is natural and easy, and call the library routines with the parameters the way the want.

With VB.NET you don't have this problem, but you have to declare the C interfaces to VB.

JR

muCtvp/fr/lo

Thank you. I just checked my Visual Studio 2005, and it finally finished trying to build GMP's C++ files. It encountered 1071 errors!

I will try to set up the h-file directories, as you suggested.

Dave


.



Relevant Pages

  • Re: Question re Migration of VB6 App to .NET
    ... I've had the opportunity to advise folks on how to move VB6 to .Net in the ... Create an ENTIRELY NEW USER INTERFACE. ... business object layer was actually designed to be independent of the U/I ... Pick a relatively self-contained set of business objects. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Question re Migration of VB6 App to .NET
    ... I've had the opportunity to advise folks on how to move VB6 to .Net in the ... Create an ENTIRELY NEW USER INTERFACE. ... business object layer was actually designed to be independent of the U/I ... Pick a relatively self-contained set of business objects. ...
    (microsoft.public.dotnet.general)
  • Re: Question re Migration of VB6 App to .NET
    ... I've had the opportunity to advise folks on how to move VB6 to .Net in the ... Create an ENTIRELY NEW USER INTERFACE. ... business object layer was actually designed to be independent of the U/I ... Pick a relatively self-contained set of business objects. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: How to marshal code to the original thread
    ... I didn't spend time on the code you posted, I just included here a complete sample (CS and a VB6 code) to illustrate how I think you could implement your wrapper and to prove you can fire events from abitrary CLR threads to VB6 COM clients using connectionpoint interfaces. ... // pay attention to the class decoration, this is important for connectionpoint interface support. ... Private Sub myCowboy_Touched ... | Willy Denoyette wrote: ...
    (microsoft.public.dotnet.languages.csharp)
  • RegSvcs Error System.ArgumentOUtOfRangeException with VB6 interfac
    ... is implementing ComponentServices and an interface that is exposed by a VB6 ... Create a VB6 dll that has a publicly exposed interface. ... System.EnterpriseServices.RegistrationDriver.ConfigureCollection(ICatalogCollection coll, IConfigCallback cb) ...
    (microsoft.public.dotnet.framework.component_services)