Click here to Skip to main content
16,005,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ifstream as a parameter Pin
Christian Graus16-Apr-02 12:13
protectorChristian Graus16-Apr-02 12:13 
GeneralRe: ifstream as a parameter Pin
Joaquín M López Muñoz16-Apr-02 12:20
Joaquín M López Muñoz16-Apr-02 12:20 
GeneralRe: ifstream as a parameter Pin
Christian Graus16-Apr-02 12:33
protectorChristian Graus16-Apr-02 12:33 
GeneralRe: ifstream as a parameter Pin
Joaquín M López Muñoz16-Apr-02 12:43
Joaquín M López Muñoz16-Apr-02 12:43 
GeneralRe: ifstream as a parameter Pin
Christian Graus16-Apr-02 12:49
protectorChristian Graus16-Apr-02 12:49 
GeneralRe: ifstream as a parameter Pin
Christian Graus16-Apr-02 12:12
protectorChristian Graus16-Apr-02 12:12 
GeneralRe: ifstream as a parameter Pin
Steve L.16-Apr-02 14:54
Steve L.16-Apr-02 14:54 
GeneralConverting a Win32 Static Library to a DLL for VB Pin
SanShou16-Apr-02 10:49
SanShou16-Apr-02 10:49 
Hey all,

I wrote a serial communications protocol stack (transport, network, and datalink layers) for on of our products as a standard library for use in Visual C++. Now of course they want me to convert it for use in Visual Basic Mad | :mad: . My first thought was to convert it to an active X control, but the RX thread in the stack relies on a windows message. It didn't seem like MFC was going to make it easy to process this windows message and provide a control fire.

So I am thinking I can convert the static library to a dynamic link library and I was wondering if anyone had some quick tips on making this possible. This of course assumes that I can make VB handle windows message which probably won't work either Eek! | :eek: . I need to be able to export the CTransportLayer to VB which I think I know how to do.

I could rewrite everything exporting the right classes, but I want to make sure that I can maintain the code in one central code base. In other words I don't want to have to make changes in the static link library and also in the dynamic link library.

Thanks,
Brian

If you start a fire for a man, he will be warm for a day. If you start that same man on fire, he will be warm for the rest of his life.
GeneralRe: Converting a Win32 Static Library to a DLL for VB Pin
Chris Losinger16-Apr-02 11:09
professionalChris Losinger16-Apr-02 11:09 
GeneralRe: Converting a Win32 Static Library to a DLL for VB Pin
Paul M Watt16-Apr-02 13:00
mentorPaul M Watt16-Apr-02 13:00 
GeneralRe: Converting a Win32 Static Library to a DLL for VB Pin
SanShou17-Apr-02 4:03
SanShou17-Apr-02 4:03 
QuestionWhat's up with CRecordset? Pin
Loren Brewer16-Apr-02 10:28
Loren Brewer16-Apr-02 10:28 
GeneralOleacc.dll in VC 7 - more VC 7 sh%t Pin
Pavel Sokolov16-Apr-02 10:18
Pavel Sokolov16-Apr-02 10:18 
GeneralRe: Oleacc.dll in VC 7 - more VC 7 sh%t Pin
Joaquín M López Muñoz16-Apr-02 10:32
Joaquín M López Muñoz16-Apr-02 10:32 
QuestionClientToScreen() ??? Pin
lucy16-Apr-02 9:31
lucy16-Apr-02 9:31 
AnswerRe: ClientToScreen() ??? Pin
Joaquín M López Muñoz16-Apr-02 9:45
Joaquín M López Muñoz16-Apr-02 9:45 
AnswerRe: ClientToScreen() ??? Pin
Tim Smith16-Apr-02 10:08
Tim Smith16-Apr-02 10:08 
GeneralRe: ClientToScreen() ??? Pin
lucy16-Apr-02 17:27
lucy16-Apr-02 17:27 
AnswerRe: ClientToScreen() ??? Pin
Shog916-Apr-02 10:11
sitebuilderShog916-Apr-02 10:11 
GeneralRe: ClientToScreen() ??? Pin
Tim Smith16-Apr-02 10:14
Tim Smith16-Apr-02 10:14 
GeneralRe: ClientToScreen() ??? Pin
lucy16-Apr-02 15:29
lucy16-Apr-02 15:29 
AnswerRe: ClientToScreen() ??? Pin
Kemal OZLU16-Apr-02 10:13
Kemal OZLU16-Apr-02 10:13 
Generalbasic window question Pin
User 988516-Apr-02 8:57
User 988516-Apr-02 8:57 
GeneralRe: basic window question Pin
lucy16-Apr-02 8:58
lucy16-Apr-02 8:58 
GeneralRe: basic window question Pin
Paul M Watt16-Apr-02 9:25
mentorPaul M Watt16-Apr-02 9:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.