Re: Linking DLL's across different compilers and languages
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Sun, 03 Dec 2006 12:56:11 -0500
32-bit 2's complement values are 32-bit 2's complement values. "Signed" and "unsigned"
are artificial concepts we impose on these values. Whether or not these have meaning is
very dependent on the problem domain and expectations of the code, so passing around
32-bit values is perfectly safe, providing you don't expect to compare absolute magnitudes
of these values in VB. For example, if you expect all values to be < 0xFFFFFFF then your
code is not going to work particularly well. But you can certainly pass the values around
without hindrance.
joe
On Sun, 3 Dec 2006 07:10:39 -0600, "Peter Olcott" <NoSpam@xxxxxxxxxxxxx> wrote:
Joseph M. Newcomer [MVP]
"Ajay Kalra" <ajaykalra@xxxxxxxxx> wrote in message
news:1165123224.626265.322990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
What about VB's inability to handle unsigned integer types? Is there any wayTo what extent can a DLL created with MS Visual C++ be used across different
compiler versions, different compiler vendors, and different computer
languages
be used? Some of the data provided by one of the functions will be unsigned
int,
is there any way to make this work with VB?
A DLL of a specific type is simply a DLL regardless of compiler vendor
or computer languages. These factors have no bearing on the DLL itself.
Not knowing much about VB, it however does allow you to access Win32
DLLs. It will also be able to access MFC Regular DLLs. Any method
exported in these DLLs can be accessed in VB using GetProcAddress. VB
also allows easy access to COM servers, which is its one of its main
selling points.
---
Ajay
around this that you can conceive?
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Linking DLL's across different compilers and languages
- From: Peter Olcott
- Re: Linking DLL's across different compilers and languages
- References:
- Linking DLL's across different compilers and languages
- From: Peter Olcott
- Re: Linking DLL's across different compilers and languages
- From: Ajay Kalra
- Re: Linking DLL's across different compilers and languages
- From: Peter Olcott
- Linking DLL's across different compilers and languages
- Prev by Date: Enumerating controls in a dialog
- Next by Date: Re: Linking DLL's across different compilers and languages
- Previous by thread: Re: Linking DLL's across different compilers and languages
- Next by thread: Re: Linking DLL's across different compilers and languages
- Index(es):
Relevant Pages
|
Loading