CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (13 messages)

From: John Ruzicka MS BASIC Forum · Visual Basic October 7, 1991 11:28 AM
Thanks, left a message for MSOFT, waiting to hear back. John
From: John Ruzicka MS BASIC Forum · Visual Basic October 7, 1991 11:28 AM
Yes, thanks! John
From: John Ruzicka MS BASIC Forum · Visual Basic October 5, 1991 12:12 PM
Thanks for the help! Strange about the recommendation not to use "COMPACT" model as that is what BC++ defaults to when creating DLL's! John There is 1 Reply.
From: John Ruzicka MS BASIC Forum · Visual Basic October 4, 1991 4:07 PM
Jonathan, Disregard the last message. With help from everyone here, particularly Mr. Chen, I was able to get it to work. I was missing the FAR PASCAL identifier. One last question, how do I return a string to a VB progra when C has no string data type. I tried…
From: John Ruzicka MS BASIC Forum · Visual Basic October 4, 1991 4:06 PM
THANKS! It worked! Now, one last question and I should be well on my way to Windows Programming 🙂 — How do I return a string to VB from C when C has no String data type? I tried returning a char *, but this resulted in an unrecoverable application…
#1324 Help with DLL's!!!!! Message #1354
From: John Ruzicka MS BASIC Forum · Visual Basic October 4, 1991 10:44 AM
Thanks for the help…will give it a try! John
#1316 Help with DLL's!!!!! Message #1353
From: John Ruzicka MS BASIC Forum · Visual Basic October 4, 1991 10:43 AM
Mark, Thanks for your help…I did that. This type of thing is the WORST part of the learning code. It seems that I was breezing along, learning VB and C++, and now I've ended up spending several days on what is probably a really simple mistake on my part. Oh…
From: John Ruzicka MS BASIC Forum · Visual Basic October 4, 1991 10:42 AM
THanks for the help, actually, no need to zip the code–it's short. I was just playing to see if I could do it. Here's the Code BC++ ————#include #include extern "C" int Chowmain(void); int FAR PASCAL LibMain(HANDLE One,WORD Two,WORD Three,LPSTR Four) { return 1; } int Chowmain(void) { return 1;…
#1214 Help with DLL's!!!!! Message #1282
From: John Ruzicka MS BASIC Forum · Visual Basic October 3, 1991 11:52 PM
I also tried using Alias "_chowmain" since that seemed to be the name in the DLL. John
From: John Ruzicka MS BASIC Forum · Visual Basic October 3, 1991 11:51 PM
Sorry for butting into this thread, but I have been unable to get VIsual Basic to recognize a function in a DLL, and others have been unable to help me. Everyone in this message seems to have at least gotten BC++ and VB to "cooperate." I compiled a DLL, using…
#1183 Help with DLL's!!!!! Message #1214
From: John Ruzicka MS BASIC Forum · Visual Basic October 3, 1991 4:28 PM
Tried it…it didn't work. Set the compiler for "all functions external." That didn't work either. Any other suggestions? Will leave a message for Borland to see if there's something I'm forgetting to do. Thanks, John
From: John Ruzicka MS BASIC Forum · Visual Basic October 3, 1991 9:57 AM
Does that mean that all I have to do is put the _export keyword in front of all the function names? Do I have to use _export with WinMain? Thanks, John There is 1 Reply.
#1117 Ending a VB Program Message #1161
From: John Ruzicka MS BASIC Forum · Visual Basic October 3, 1991 9:56 AM
Thanks for the info, John