|
-
Jan 31st, 2003, 06:53 PM
#1
Thread Starter
New Member
32- or 16- bit, who knows???? VB or C++???
Hello,
Me again, don't know the right word for it in English, but I have to make a kind of profject what I have to defend before a jury, don't know if someone of you out there knows Prodave, this is a interface between Siemens PLC and PC (needs a special cabel over RS232.)
This Prodave workes with a dll called "W32_511.dll" so I asumed it would be 32 bit, but when I give an adress to the dll it always gives overflow, so I tought that maybe that dll is 16 bit... and that is where I'm stuck... So my next question is, how can I run a 16-bit dll in an 32 bit operating system (winXP or win2000)?
Have some examples of codes for using the dll functions but they are written in C++, I do know C++ but not so well...
What I do think to know is that char in C++ is the same as Byte in VB, don't have much time now but will try to put some examples in the next thread....
Thx to al of ya...
If you wanna do it, do it good, that's what I try to do... :-)
-
Feb 1st, 2003, 06:46 AM
#2
Frenzied Member
Since you know Basic - there are inexpensive Basic compilers
like PowerBasic for DOS (www.powerbasic.com) that will run in console mode under Win2K.
The other choice is to get VB 4.0 which is 16 bit and will run under XP (this is like Windows 3.11 development stuff).
Are you sure it's 16 bit? - if you have Visual Studio you should have Dependancy Walker - this will tell you right away if it's 16 bit or not.
Also - no COM object is 16 bit they are all 32 bit. COM did not exist for Windows 3.11 and earlier.
-
Feb 1st, 2003, 08:11 AM
#3
Thread Starter
New Member
thx Jim
thx Jim for the quick response,
Don't really know if its 16 or 32 bit, but maybe I can find out with that Dependancy Walker, will let you know...
By the way does somebody know the syntax conversions between C++ and VB, like char(c++) is the same as a Byte in vb, aspecially for arrays and stuff, for using with dll's
Thx everybody..
If you wanna do it, do it good, that's what I try to do... :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|